Direct Deposit
Tip
- All requests are
Post requests, and the data format is json
wayCode
- P2P:BKASH、NAGAD
- P2C:BKASH_OFFICIAL、NAGAD_OFFICIAL
Request URL
Request Method
- Method: POST
- Content-Type: application/json
| Header |
Required |
Type |
Description |
| merchantNo |
Yes |
String |
- |
Body
| Parameter Name |
Required |
Type |
Description |
| sign |
Yes |
String |
Except for the sign, concatenate the remaining fields in alphabetical order to form key1=value1key2=value2, then use the app secret as salt to perform MD5 encryption. The sign should be in lowercase letters. |
| timestamp |
Yes |
long |
Timestamp (e.g., 1715941383720) |
| amount |
Yes |
String |
Payment amount |
| wayCode |
Yes |
String |
Supported payment types: • E-wallet: BKASH、NAGAD、BKASH_OFFICIAL、NAGAD_OFFICIAL |
| tradeNo |
Yes |
String |
Transaction number (should be unique; suggested format: YYYYMMDDHHMMSS + random number) |
| remark |
No |
String |
Remarks; this field will be returned as is |
| notifyUrl |
Yes |
String |
Asynchronous callback URL (e.g., https://www.abc.com/); if not provided, the system will redirect to the default success page |
| returnUrl |
No |
String |
Redirect page after successful payment |
Request Parameter Example
{
"sign": "0be92a962072b1786a01a2cab4891a1d",
"timestamp": "1728609257212",
"tradeNo": "test_00000008",
"amount": "300",
"notifyUrl": "https://google.com",
"wayCode":"BKASH",
"remark":"test",
"returnUrl": "http://abc.com/callback_page"
}
Response Result
| Parameter Name |
Required |
Type |
Description |
| msg |
Yes |
String |
Request result (Returning "success" only indicates the request was successful; it should not be used for merchant-side logic) |
| code |
Yes |
String |
Request response code (Returning "0000" only indicates the request was successful; it should not be used for merchant-side logic) |
| timestamp |
Yes |
String |
Transaction time |
| success |
Yes |
String |
Transaction result |
| data |
Yes |
Object |
Response object |
| data.tradeNo |
Yes |
String |
Merchant transaction number returned |
| data.platFormTradeNo |
Yes |
String |
Unique vexora transaction number |
| data.status |
Yes |
String |
Transaction results,Merchants can process subsequent workflows based on the returned status in the transaction result. For details, please refer to the status code reference table. |
| data.desc |
Yes |
String |
Error description |
| data.remark |
Yes |
String |
Returned content of the request (returned as is) |
| data.paymentLink |
Yes |
String |
Payment link, i.e., the cashier URL |
| data.paymentInfo |
No |
String |
Payment account information |
Successful Response Example
{
"msg": "success",
"code": "0000",
"timestamp": 1728609277476,
"success": true,
"data": {
"platFormTradeNo": "68o0uwogz7mnzutt",
"status": "0015",
"desc": "Create",
"remark": "test",
"paymentLink": "https://checkout.service.vip/#/order/bd/P1844547116046675970",
"paymentInfo": "0222222222"
}
}