Check payment receipts from your own app
Sign up
Your email and your app's name. We email you a code. No password.
What it does
Your app asks: "did this payment reach one of my users?" You send a receipt (a screenshot or its text) and we ask the bank. We answer arrived, not yours, or cannot tell. We read the receipt in memory and never store the screenshot.
Only Telebirr and CBE receipts are supported for now.
Prices
A Telebirr check costs 2 Birr. A CBE check costs 1 Birr. You pay only when the bank answered about the receipt. Anything else is free: no reference found, no accounts, the bank is down, wrong user named, a repeated request ID.
There is no free credit. Top up from 10 to 50,000 Birr with Chapa (Telebirr, CBE Birr, cards) on your dashboard. Your credit never expires.
Sign up and get a key
Sign up on this page with your email and your app name. We email you a code; there is no password. On your dashboard top up, then press "Make a key".
The key looks like dsk_ followed by 64 characters. It is shown once, so copy it then. We store only a fingerprint of it. You can have 5 keys and delete one at any time. Send it in every call as: Authorization: Bearer dsk_…
Add your users' accounts
Before checking, tell us which accounts your users receive money in. POST https://adventurous-wildebeest-986.convex.site/api/accounts with JSON { user, bank, account, name }.
user is your own ID for the person who receives the money (letters, digits and _ - . : up to 64 characters). Never a phone number or a name. bank is "telebirr" or "cbe". account is the CBE account (13 digits, starts with 1) or the Telebirr number (09… or 07…). name is the holder's name exactly as the bank shows it.
Why the name: banks show only the last 4 digits of an account on a receipt. A payment counts for a user only when the last digits and the name both fit. Every word you give must appear in the bank's name; extra words in the bank's name are fine. If you misspell it, a real payment comes back notOurs.
You can add up to 5,000 accounts. Answers: 200 added; 409 already added (the answer says for which user); 400 a problem with the fields. GET https://adventurous-wildebeest-986.convex.site/api/accounts lists them (add ?user=… for one user). DELETE https://adventurous-wildebeest-986.convex.site/api/accounts with { bank, account } removes one, or with { all: true } removes every account of your app (404 when there is no such account). A payment to a removed account comes back notOurs.
Check a receipt
POST https://adventurous-wildebeest-986.convex.site/api/verify with JSON { image, text, user, requestId }. Send image (the screenshot, base64, up to 5 MB) or text (the receipt's text or its reference). user and requestId are optional.
Naming the user is recommended: we then check only that user's accounts. Without it we check all your accounts, and a payment that fits two users comes back ambiguous. Once your CBE accounts belong to more than one user, a CBE screenshot (it shows only the reference) needs the user named: you get cantTell nameTheUser, free.
A check can take up to 120 seconds, so wait for the answer. Send a requestId (1 to 64 characters, your own) so that if your call times out, sending the same call again returns the first answer for free instead of charging twice. Replays work for a day.
curl https://adventurous-wildebeest-986.convex.site/api/verify \
-H "Authorization: Bearer dsk_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "Commercial Bank of Ethiopia FT26XXXXXXXX", "user": "u-123", "requestId": "order-5521"}'The answers
Every answer has kind, plus cost (what this call cost you) and balance (what you have left). Act on kind. All amounts are in Birr; times are in milliseconds since 1970.
arrived: the money reached one of your users. Fields: bank, reference, amount, paidAt, user (your ID), account (your matched account). Note that amount is what reached the receiver, and a Telebirr screen's total includes the fee: compare amount with your price. Costs 2 (Telebirr) or 1 (CBE).
alreadyUsed: this payment was already checked and found yours before. Fields: bank, reference, amount, paidAt, user, firstCheckedAt. Do not give a second order for the same payment. Costs as above.
ambiguous: the payment fits more than one of your users (look-alike names and the same last digits). Fields: bank, reference, amount, paidAt, possibleUsers. Check again naming the user to decide. Costs as above.
notOurs: the bank confirmed the receipt but it did not reach any of your accounts for that user. Fields: bank, reference. Costs as above.
cantTell: we could not decide. The field why says why. Free: noReference (no reference found on the receipt), noAccounts (you have not added accounts, or none for that bank), nameTheUser (see above), bankDown and telebirrDown (the bank did not answer, try again later), serviceOff, noReceiver (the receipt did not show who got the money), unsupported (a bank we do not check). Charged when the bank answered about it: notFound (the bank has no such payment), notCompleted (the payment did not complete) and oldReceipt (more than 14 days old).
Errors
These come as { error } with a status: 400 something to fix in your request (the message says what; also when you have no accounts to check against), 401 the key is wrong, 402 your balance is under 2 Birr (top up), 403 your app is switched off (contact us), 409 the account is already added, 500 our side failed (nothing was charged, try again).
A 402 or any error is not a check: nothing is charged.
Help
Ask below, or message us on Telegram: https://t.me/ADELABDULMUTELIB
Ask a question
Answers come from the docs above. Your question is not saved.