Get the QR charge status for an invoice (reconciles on read)
This endpoint needs your API key
Send it as a bearer token in the Authorization header. A request without one is answered with 401. See Authentication for where to find your key and how to keep it secret.
Request
curl -X GET "https://api.leapa.co/v2/invoices/inv_7c1f9a2b48/qr-status" \
-H "Authorization: Bearer $LEAPA_API_KEY" \
-H "Accept: application/json"Response
OK
{
"invoice_id": "inv_7c1f9a2b48",
"status": "pending",
"charge_id": "chg_5a90bc71de",
"resumable": false,
"regenerated": false,
"qr_reference": "QR2026013100147",
"expires_at": 1769850251000,
"qr_as_text": "00020101021226580014BI.CBB.QR0111...",
"qr_as_image": "data:image/png;base64,iVBORw0KGgo...",
"amount": 45000,
"currency": "BIF",
"settlement_pending_record": false,
"message": "Request sent to the payer"
}Path parameters
Values that go into the URL itself.
invoiceIdstringrequiredExample:inv_7c1f9a2b48
Response
application/json
invoice_idstringstatusstringAllowed values:pendingpaidcancelledexpiredcharge_idstringresumablebooleanregeneratedbooleanqr_referencestringexpires_atinteger<int64>qr_as_textstringqr_as_imagestringamountinteger<int64>currencystringsettlement_pending_recordbooleanmessagestring
Status codes
200OK400Bad request401Unauthorized402Payment required403Forbidden404Not found428Precondition required500Server error