Apply for Withdrawal Interface

Submit the withdrawal application for distributors, and withdraw the account balance to the specified bank account or payment platform.

Precautions

  • This interface uses the POST method and requires data to be submitted in application/ format
  • You need to log in as a user to call this interface
  • The cashout amount must meet the minimum cashout limit set by the system
  • After submitting the cashout application, you need to wait for the administrator to review and process it
  • Ensure that the account balance is sufficient and meets the cashout conditions

Request address

{域名地址}/api/retailer/withdraw

Description:{域名地址}Need to replace it with your domain address, such ashttps://en.anqicms.com/api/retailer/withdraw

Request syntax

POST {域名地址}/api/retailer/withdraw
Content-Type: application/json

Request header

This interface also involves common request headers. For more information, please seeCommon Request Headers (Common Request Headers).

Request Parameters

This interface has no special request parameters.

Response Headers

This interface only involves public response headers. More information, please refer toCommon Request Headers (Common Request Headers).

Return parameters

Field Name Type Description
code integer Error code
message string Error Description

Example Usage

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 Unauthorized
200 API request OK