bKash Agent API
bKash agent/merchant wallet (Bangladesh) — OTP login, balance, recent transactions, search, paged history, PDF statements, and agent→customer Cash-In transfer.
Overview
Base URL: https://api.openbankinggateway.com — all responses use the unified {code, data} envelope.
Session flow: complete the login endpoints to receive a gateway token, then pass it as token= to every authenticated endpoint.
Transparency: the raw upstream fintech JSON is included under data.upstream on every response — success and error alike.
Fill in the parameters on any endpoint below and hit Send request to call the live gateway, or copy the curl example to run it from your terminal.
Discovery
/api/bkash-agent/auth-statusPre-auth status/version probe
| Parameter | In | Value |
|---|---|---|
msisdn | query |
Auth
/api/bkash-agent/login/request-otpDispatch SMS OTP
| Parameter | In | Value |
|---|---|---|
account* | query | |
phoneOperator* | query |
/api/bkash-agent/login/verify-otpVerify OTP and issue a session token
| Parameter | In | Value |
|---|---|---|
account* | query | |
pin* | query | |
otp* | body | |
state | body |
Account
/api/bkash-agent/balanceWallet balance (token required)
| Parameter | In | Value |
|---|---|---|
token* | query | |
msisdn | query | |
serviceName | query |
/api/bkash-agent/recent-transactionsRecent transactions (token required)
| Parameter | In | Value |
|---|---|---|
token* | query | |
pageSize | query |
/api/bkash-agent/transaction-searchSearch transactions by key (token required)
| Parameter | In | Value |
|---|---|---|
token* | query | |
searchKey* | query |
/api/bkash-agent/transaction-historyPaged full transaction history (token required)
| Parameter | In | Value |
|---|---|---|
token* | query | |
pageSize | query | |
pivot | query |
Statement
/api/bkash-agent/statement/metadataStatement types and selectable date ranges (token required)
| Parameter | In | Value |
|---|---|---|
token* | query |
/api/bkash-agent/statement/historyStatement download history and quota (token required)
| Parameter | In | Value |
|---|---|---|
token* | query | |
pageSize | query | |
pageToken | query |
/api/bkash-agent/statement/downloadQueue a statement PDF (emailed to the agent)
| Parameter | In | Value |
|---|---|---|
token* | query | |
fromDate* | query | |
toDate* | query | |
type | query |
Transfer
/api/bkash-agent/cash-inCash-In transfer to a customer wallet
| Parameter | In | Value |
|---|---|---|
token* | query | |
customerWallet* | query | |
amount* | query | |
pin* | query | |
cashInType | query |