Transfer API - Deposit
Request URL
Request Body Parameters
Parameter
Description
Type
Required?
username
Member username
String
Y
amount
Amount (THB) for deposit to member
Double
Y
agent
Agent id that AMBSlot has provided
String
Y
Request Body Example
Response Parameters
Status Object
Parameter
Description
Type
Required?
code
0: Success
804: Deposit insufficient due to agent have less balance 996: Invalid Username 997: Invalid request data 998: Invalid agent id
999: Service not available 1601: Response error via axios timeout
Number
Y
message
Error message
String
Y
Data Object
Parameter
Description
Type
Required?
username
Username that deposit to
String
Y
wallet
Contain latest balance and last update time
Object
Y
balance
Contain before and after transaction balance
Object
Y
refId
Reference id that refer to this transaction
String
Y
Response Example
Last updated