CBE
Detail page: four URL shapes (two short-link variants and two direct endpoints), two response schemas (PDF and JSON), and how the resolver routes between them.
CBE has the busiest URL surface of any provider: four supported shapes that resolve to one of two upstream backends. Pass any of them; the resolver figures out the right call.
What you need
A CBE receipt opens from one of these:
- The Receipt ID (
v2-…), the CBE receipt link, or the QR code on the receipt. Each one works on its own. - The FT reference plus the last 8 digits of an account on the payment. The FT reference alone (
FTand 10 more characters, likeFT00000ABCDE) can never be looked up, because CBE uses the 8 digits to pick the receipt.
Either account works, the payer's or the receiver's. If you received the money, use your own account number. CBE's own SMS links work the same way: the payer's SMS carries the payer's digits, the receiver's SMS carries the receiver's.
Typed, the 8 digits go straight after the reference, with no space or dash. As a URL there are two forms, and only the BranchReceipt one puts an & between them:
Both URL forms open every CBE receipt, whether it came from mobile banking or a branch. BranchReceipt without the & fails with Receipt Data is not correct.
POST /api/verify takes either URL form as url (its reference field is telebirr only). The box on the links.et home page takes the typed form or either URL.
What CBE answers when the digits are missing or wrong:
| You send | CBE answers |
|---|---|
| The FT reference alone, or with fewer than 8 digits | Receipt link is not correct. Please Check Your Link. |
| The FT reference + 8 digits of an account not on it | You Are Not Allowed to See This Data |
An FT reference to mb.cbe.com.et, with or without digits | Security Alert: Invalid or tampered legacy token! That host only takes Receipt IDs and link tokens. |
Screenshots. CBE app screens and USSD messages show at most the last 4 digits of an account (like Name-1234), so links.et cannot build the lookup from them. Send the Receipt ID, the QR, or the receipt link instead, or call POST /api/verify with the FT reference and your 8 digits.
URL formats
1. Short-link, dashed id → PDF backend
| Part | Pattern | Example |
|---|---|---|
| host | literal | mbreciept.cbe.com.et |
<id> | FT[A-Z0-9]+-\d+ | FT00000000-12345678 |
Resolution: dash is stripped → call apps.cbe.com.et:100/?id=<stripped> which returns a PDF. We parse with pdf-parse.
One exception: an id that starts with v2- is a Receipt ID. It goes to the JSON backend unchanged, like a plain token, dash and all.
2. Short-link, plain token → JSON backend
| Part | Pattern | Example |
|---|---|---|
<token> | 16+ [A-Za-z0-9], at least one lowercase | fHCxz62uM8157lCfet |
Resolution: passed through to mb.cbe.com.et/api/v1/transactions/public/transaction-detail/<token> which returns JSON.
3. Direct PDF
Pass-through. Returns a PDF. See What you need for the 8 digits.
4. Direct JSON
Pass-through. Returns JSON.
Return types
CBE has two response shapes, depending on which backend the URL resolves to. The source field discriminates: "mb-json" for the JSON backend, "cbe-pdf" for the PDF backend.
PDF: source: "cbe-pdf"
JSON: source: "mb-json"
Same base fields as PDF, plus everything mb.cbe.com.et returns that the PDF doesn't expose.
Sample: PDF backend (placeholder values)
Sample: JSON backend (placeholder values)
Status
A JSON receipt carries CBE's own status, and links.et follows the same rule as CBE's receipt page at mbreciept.cbe.com.et. When that page would stamp the receipt FAILED, /api/verify answers ok: false with an error that starts with the bank marks this transfer failed and names the fields, and the receipt still comes back.
CBE's rule, as its page runs it:
- When
thirdPartyStatusis there, the transfer failed unless it isSUCCESS. - Otherwise it failed when
statusisFAILEDorstatusDescisFAILURE. - A failed A2A transfer (CBE account to CBE account) gets no stamp, so links.et verifies it too. Its
statusstays in the receipt if you want to be stricter.
A FAILED or FAILURE answer is remembered for 24 hours. Any other failed state, like a wallet leg that is not SUCCESS yet, is asked again after a minute. Receipts verified before November 28, 2026 were stored without these fields.
Quirks
mb.cbe.com.etis gated: without the rightx-app-id,x-app-version,Referer,Origin, andUser-Agent, CBE returns500 Security Alert: Invalid or tampered legacy token!. links.et sends the full browser-equivalent header set on every JSON request.- PDF body has positional-only fields: in the company-info block, labels are stacked first and values stacked second. Empty cells are omitted from values, which makes positional pairing fragile. We extract only the last three values (
vatReceiptNo/vatRegistrationNo/vatRegistrationDate) which are stable across receipts. - Two amount string formats:
mb.cbe.com.etsometimes prefixes amounts with the currency ("ETB0.50"), sometimes returns bare decimals ("260.00"). Our parser handles both. - PDF endpoint runs on port
100: non-standard, but is the official URL. Direct port 443 doesn't work.