API reference
Discover supported institutions, submit a receipt lookup, and interpret the resulting evidence.
Planned interface. These reference paths describe the intended receipt-lookup surface. Use the API origin and credentials issued for your integration when access opens.
Authentication
Send Authorization: Bearer <credential> to the assigned API origin over HTTPS. Keep shared credentials on your integration server.
Discover institutions
GET/scan/verify-payment-reference/banks
Returns banks, an array of institutions. Use provider as the lookup identifier, name for display, and referenceFormat for input guidance. Optional flags cover QR support, extra fields, beta status, and geographic restrictions. The list describes supported formats. Check the provider response for current availability.
Example response with one institution
{
"banks": [
{
"provider": "CBE",
"financialInstitution": "CBE",
"name": "Commercial Bank of Ethiopia",
"requiresSuffix": false,
"referenceFormat": "Receipt ID or receipt link",
"supportsQr": true
}
]
}
Look up a receipt
POST/scan/verify-payment-reference
Send JSON with the selected institution and one input source. The request limit is 16 KiB of UTF-8 JSON.
| Field | Type | Use |
|---|---|---|
institution | String | Required. Use the exact uppercase provider identifier from discovery. |
reference | String | Reference, receipt ID, or share URL. Up to 2,048 characters. |
transactionId | String | Alternative to reference. Up to 2,048 characters. |
qrData | String | Decoded QR text or URL. Up to 8,192 characters. |
suffix | String | Last five account digits for a 12-character Abyssinia reference. |
accountNumber | String | Receiving account or last eight digits for legacy CBE receipts. Up to 64 characters. |
phoneNumber | String | Payer phone for CBE Birr when missing from the link or QR. Up to 32 characters. |
Decode QR codes on the client. Send their full text in qrData. Preserve case, leading zeros, and all parts of a receipt URL. Send the institution separately and remove legacy routing prefixes such as CBE-. A CBE receipt ID beginning v2- retains that prefix.
When both reference and transactionId are present, reference takes precedence. Use one input source to avoid ambiguity.
Illustrative curl request
curl --request POST "$API_BASE_URL/scan/verify-payment-reference" \
--header "Authorization: Bearer $BLUEJAR_CREDENTIAL" \
--header "Content-Type: application/json" \
--data '{"institution":"TELEBIRR","reference":"EXAMPLE12345"}'
Supported institutions
| Identifier | Institution | Receipt input |
|---|---|---|
CBE | Commercial Bank of Ethiopia | Receipt ID, receipt link or decoded QR. Legacy FT references require the receiving account or its last eight digits. |
ABYSSINIA | Bank of Abyssinia | 12-character reference with the last five account digits, or the full 17-character receipt token. |
DASHEN | Dashen Bank | Reference with 10–40 letters, digits, or hyphens. |
TELEBIRR | Telebirr | Reference with 10–32 letters or digits. The discovery storage code is TELE. |
AWASH | Awash Bank | Full receipt share link from the SMS, including any port. |
SIINQEE | Siinqee Bank | Receipt link or case-sensitive receipt reference. Beta. |
EBIRR | eBirr | Full receipt link, including its tenant and token. |
ZAMZAM | ZamZam Bank | Receipt link or numeric receipt ID. Beta. |
CBE_BIRR | CBE Birr | Receipt number and payer phone, or receipt link or QR containing both. Beta. |
BUNNA | Bunna Bank | Receipt share link or decoded receipt QR. Beta. |
WEGAGEN | Wegagen Bank | Share link, 24-character share ID, or decoded receipt QR. Beta. |
MPESA | M-Pesa Ethiopia | Transaction number. Beta. Availability can vary by region. |
Read the response
Accept a 2xx HTTP response and inspect the success envelope. A successful lookup can return HTTP 201 with statusCode: 200 in the body. Example values below are fictional.
{
"success": true,
"provider": "TELEBIRR",
"data": {
"verified": true,
"reference": "EXAMPLE12345",
"amount": 1250.50,
"currency": "ETB",
"receiver": "Example Merchant",
"date": "2026-10-01"
},
"statusCode": 200,
"message": "Verification request completed"
}
Receipt fields vary. Payer and recipient names or accounts can be absent or masked. The canonical reference may differ from the submitted receipt ID. Fee and total fields are optional. Use the transfer amount when matching the expected payment and treat missing fields as unknown.
Match the receipt to the expected institution, account, currency, amount, and date window in your own backend before recording payment. Require any completion status your workflow needs. Treat an explicit verified: false as unresolved. Account for duplicate references and concurrent confirmations in your integration.
Errors and retries
| HTTP | Meaning | What to do |
|---|---|---|
| 400 | Invalid or incomplete input | Correct the institution, reference, or required field. |
| 401, 403 | Credential or access issue | Check the integration credential and its permissions. |
| 404 | Receipt unavailable | Check the institution and reference. Keep the payment unresolved. |
| 413 | Request too large | Reduce the payload and send decoded QR text. |
| 422 | Receipt could not be confirmed | Review the evidence or ask for the official receipt. |
| 429 | Rate limit | Honor Retry-After or retryAfter when provided. |
| 502, 503, 504 | Provider or gateway failure | Retry later with a bounded backoff. Keep the payment unresolved. |
An error can include message, code, fallbackUrl, or retryAfter. RECEIPT_UNCONFIRMED means the available evidence could not be confirmed. Open an official fallback link only for manual review, with no integration credentials in the request.
Use the HTTP status for retry decisions. A lookup can take over a minute. Keep retries bounded and use backoff for temporary failures. Keep the payment unresolved while a request is pending or times out.