Submit the withdrawal application of the distributor, transferring the account balance to the specified bank account or payment platform.
Points to note
- The API uses the POST method and requires data to be submitted in application/ format
- You need to log in as a user before you can call this interface
- The withdrawal amount must meet the minimum withdrawal limit set by the system
- After submitting the withdrawal application, you need to wait for the administrator to review and process
- Ensure that the account balance is sufficient and meets the withdrawal conditions
Request address
{域名地址}/api/retailer/withdraw
Description:{域名地址}Replace it with your domain name, such ashttps://en.anqicms.com/api/retailer/withdraw
Request Syntax
POST {域名地址}/api/retailer/withdraw
Content-Type: application/json
Request Headers
This interface also involves common request headers. For more information, please refer toCommon Request Headers (Common Request Headers).
Request parameters
This interface has no special request parameters.
Response header
This interface only involves public response headers. For more information, please refer toCommon Request Headers (Common Request Headers).
Return parameters
| Field name | Type | Description |
|---|---|---|
| code | int | Error code |
| msg | string | Error description |
Usage Example
Request example
POST /api/retailer/withdraw HTTP/1.1
Host: www.anqicms.com
Content-Type: application/json
{}
Response Example
{
"code": 0,
"msg": "提现申请已提交"
}
error code
| Error code | Description |
|---|---|
| 0 | OK |
| -1 | Error, the reason is indicated in msg |
| 1001 | Not logged in |
| 1002 | Not authorized |
| 200 | API request OK |