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
pop_ids[]intNoGift Props Ids (/agent/api/agent-props props_ids)
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

 

5.Retrieve Gift Items

Field NameTypeRequiredRemarks
app_idintYesapp_id
request_timeintYesrequest time,timestamp in seconds
Field NameTypeRemarks
props_namestringGift Props Name
props_iconstringGift Props Icon
props_dayintNumber of Gift Props Days
props_typeintGift Props Type 1 Gift 2 VIP 3 Outfit
props_linkint 
countintNumber of Gift Props Items
props_ids[]intList of Gift Props IDs

###

 

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