Direct Deposit¶
Tip
- All requests are
Postrequests, and the data format isjson
Brief Description¶
Request URL¶
/v1/vexora/deposits
Request Method¶
- Method: POST
- Content-Type: application/json
Header¶
| header | Required | Type | Description |
|---|---|---|---|
| merchantNo | Yes | String | None |
Body¶
| Parameter | Required | Type | Description |
|---|---|---|---|
| sign | Yes | String | Except for the sign field, all remaining fields should be sorted alphabetically by their first letter, combined into key1=value1key2=value2, and encrypted using the app secret as salt via MD5. The final sign value should be in lowercase. |
| timestamp | Yes | long | Timestamp (1715941383720) |
| amount | Yes | String | Amount๏ผThe minimum amount is recommended to be greater than KSH.50, and only integers are supported๏ผ |
| remark | No | String | Remark, this field will be returned as-is |
| tradeNo | Yes | String | Transaction number (uniqueness recommended: year, month, day, hour, minute, second + random number) |
| mobile | Yes | String | Mobile number (in some countries, the mobile number is the account number) |
| notifyUrl | Yes | String | Asynchronous callback URL |
Request Parameter Example¶
{
"sign": "000000",
"timestamp": "1715941383720",
"amount": "3",
"remark": "000000",
"tradeNo": "00000001",
"mobile": "mobile",
"notifyUrl": "https://google.com"
}
Response Result¶
| Parameter | Required | Type | Description |
|---|---|---|---|
| msg | Yes | String | Request result (when returning success, it only indicates that the request was successful and cannot be used for merchant-side logic judgment) |
| code | Yes | String | Request response code (when returning 0000, it only indicates that the request was successful and cannot be used for merchant-side logic judgment). For specific error codes, please refer to the business error code enumeration. |
| timestamp | Yes | String | Transaction time |
| success | Yes | String | Transaction result |
| data | Yes | Object | Return object |
| data.serialNumber | Yes | String | Result ID returned by vexora, 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 | Request return content (returned as-is) |