Agent Request API

Prerequisites

1.User Verification

2. Retrieve Transfer Records

3.Transfer

Please call /agent/api/check-user before using, otherwise error 4005 will occur

Field NameTypeRequiredRemarks
target_user_idintYesTarget user ID
app_idintYesapp_id
diamondsintYesdiamonds
pay_passwordstringYespay password(Please refer to the following figure for details)
link_order_idstringYesYour order id
request_timeintYesrequest time,timestamp in seconds
Field NameTypeRemarks
remain_diamondsintRemaining Diamonds
balance_moneyintAgent Balance
order_idIntPlatform order ID

Tap on "Payment Password" to set the payment password.  

4.Account

Field NameTypeRequiredRemarks
app_idintYesapp_id
request_timeintYesrequest time,timestamp in seconds
Field NameTypeRemarks
remain_diamondsintRemaining Diamonds
balance_moneyintAgent Balance

 

Status Codes

codeRemarks
0Success
500Request Failed
1000Parameter Error
1001Request time difference of 60 seconds
1053frequent operations
4001IP Inaccessible
4002Sign is Empty
4003Unauthorized agent user
4004Sign Error, Parsing Failed
4005Operation Error, No Verification of Transfer User 10 Minutes Before Transfer
4006Agent Account Exception
4007Incorrect Payment Password
4008Insufficient Balance
4009Order Repeat
4010Cannot transfer funds across regions