Get started
TakaElo for developers
Take bKash, Nagad, Rocket and Upay payments into your own number with one API call and one webhook.
TakaElo turns the personal or merchant wallet number you already have into a checkout. Your customer pays your number with the wallet app they use every day; the TakaElo app on your phone receives the payment message; TakaElo matches it to the order and tells your server. The money goes straight to you β TakaElo is not a payment gateway and never holds it.
The API is small on purpose: create a checkout, send the customer to it, receive one webhook. If you have used Stripe Checkout you already know the shape. Most developers finish in an afternoon.
How a payment flows
1 Β· Your server
You create a checkout
Your server sends the amount and your order number. TakaElo answers with a payment and its
url.2 Β· Customer
The customer pays
On the checkout page they pick bKash, Nagad, Rocket or Upay and send money to your number.
3 Β· Your phone
Your phone gets it
The wallet texts you as usual. The TakaElo app on that phone syncs the payment, signed.
4 Β· TakaElo
TakaElo matches it
Amount, sender and TrxID are matched to the open checkout β usually within seconds.
5 Β· Your server
You get a webhook
payment.completedarrives at your endpoint, signed. You mark the order paid.
What you build
- A "Pay" button that calls
POST /v1/checkoutsfrom your server and redirects the customer to theurlit returns. - A webhook endpoint that checks the
TakaElo-Signatureheader and fulfils the order onpayment.completed. - A thank-you page at your
success_url. Show the order as "processing" until the webhook confirms it β never trust the redirect alone.
Words you'll see
| Term | Meaning |
|---|---|
| Checkout / payment | The same object. You create it as a checkout; it lives on as a payment with a status. |
| Wallet | bKash, Nagad, Rocket or Upay β where the customer's money comes from and your number receives it. |
| TrxID | The wallet's own transaction ID, from the payment message. Unique per wallet; TakaElo never counts one twice. |
| Test mode / live mode | Two separate sets of data. sk_test_ keys see only test payments, which you can pay with one click. |
| Reference | Your own order number. TakaElo stores it and sends it back in every webhook. |