Disbursement
Tip
Payout API is used to initiate transfer requests to e-wallets or bank accounts.
- All requests are
Post requests, and the data format is json
Short Description
For specific bank enumeration values, please go to the bank list.
Request URL
Request method
- Method: POST
- Content-Type: application/json
customerAccountType
| customerAccountType |
digit |
message |
| DebitCard |
16 |
customerAccount 16-digit pure number |
| CLABE |
18 |
customerAccount 18-digit pure number |
| header |
required |
type |
description |
| merchantNo |
Yes |
String |
No |
Request Body Parameters
| parameter name |
required |
type |
description |
| sign |
Yes |
String |
In addition to sign, initialise the remaining fields to form key1=value1key2=value2, use app secrect to do salt for md5 encryption, sign ends up being a lowercase letter |
| timestamp |
Yes |
integer |
timestamp (1715941383720) |
| tradeNo |
Yes |
String |
uniqueness (suggested year, month, day, hour, minute, second + random number) |
| wayCode |
Yes |
String |
bankList |
| amount |
Yes |
String |
Payment Amount (decimal point not supported) |
| customerName |
Yes |
String |
User Name |
| customerMobile |
No |
String |
User's mobile phone |
| customerEmail |
No |
String |
user email |
| customerAccountType |
Yes |
String |
User Account Type (Account Type (DebitCard or CLABE)) |
| customerAccount |
Yes |
String |
User Account Number |
| identity |
No |
String |
Recipient ID Number |
| notifyUrl |
Yes |
String |
asynchronous callback address (not passed as configured in merchant backend) |
| remark |
No |
String |
Remarks, this field will be brought back in its original form |
Example of request parameters
{
"sign": "b39f64dc1586867b1966a569ba06e3a2",
"timestamp": "1728611780130",
"tradeNo": "test_00000001",
"wayCode": "BANXICO",
"amount": "200",
"customerName": "kevin zhang",
"customerMobile": "18956325478",
"customerEmail": "kevin_zhang@163.com",
"customerAccountType": "DebitCard",
"customerAccount": "kevin_zhang_account",
"identity": "58452586558",
"notifyUrl": "https://google.com",
"remark": "test"
}
Response Result
| parameter name |
required |
type |
description |
| msg |
Yes |
String |
Request Result (when return success only means this request is successful, can't do merchant side logic judgement) |
| code |
Yes |
String |
Request Response Code (when return 0000 only means this request is successful, can not do merchant side logic judgement), specific error code, please go to the business error code enumeration view |
| timestamp |
Yes |
String |
Transaction timestamp |
| success |
Yes |
String |
transaction result |
| data |
Yes |
Object |
return object |
| data.tradeNo |
Yes |
String |
Merchant Trade Number Return |
| data.platFormTradeNo |
Yes |
String |
Vexora's trade order number, unique |
| 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 |
remark |
Successful return example
{
"msg": "success",
"code": "0000",
"timestamp": 1728611805322,
"success": true,
"data": {
"tradeNo": "test_111",
"platFormTradeNo": "2tjba3vz6wm6hx3l",
"status": "0015",
"desc": "CREATED",
"remark":"test"
}
}