Skip to content

Verify Deposit Withdraw POST ​

This api is verify transaction of deposit or withdraw to successfully or fail.

Authorization ​

Transfer uses Basic Authentication with your agent credentials. (Authentication)

HTTP Request ​

POST {{ API_URL }}/verifyDepositWithdraw

Content Type ​

Type: application/json

Parameter Description ​

PropertyTypeRequiredDescription
usernamestringRequiredMember username
transactionRefstringRequiredUnique transaction ref
productIdstringRequiredProduct ID (Ref. Product List)) (Example : SEXY)
typestringRequiredEither DEPOSIT or WITHDRAW

Response Description ​

PropertyTypeRequiredDescription
reqIdstringRequiredUnique reference for each request
codenumberRequiredResponse status
messagestringRequiredAdditional information on response status
dataVerifyDepositWithdrawDataRequiredVerify deposit/withdraw data

Verify Deposit Withdraw Data ​

PropertyTypeRequiredDescription
successbooleanRequiredIndicate whether the transaction was successful or not
true: transaction has success
false: Transaction has fail
usernamestringRequiredUsername
productIdstringRequiredProduct associated with the transaction
currencystringRequiredCurrency associated with the transaction
transactionRefstringRequiredUnique transaction ref
amountstringRequiredDeposit or withdrawal amount
beforeBalancestringRequiredBalance on before deposit or withdrawal
afterBalancestringRequiredBalance on after deposit or withdrawal

Request Body

json
{
  "username": "test00001",
  "transactionRef": "test00001rxqd1629781421",
  "productId": "SEXY",
  "type": "DEPOSIT"
}

JSON response example (Success):

json
{
  "reqId": "c16510ed-6462-414a-9cc5-f380848723a0",
  "code": 0,
  "message": "Success",
  "data": {
    "success": true,
    "username": "test00001",
    "productId": "SEXY",
    "currency": "THB",
    "transactionRef": "test00001rxqd1629781421",
    "amount": "100.00",
    "beforeBalance": "0.00",
    "afterBalance": "100.00"
  }
}