Skip to content

Verify Deposit Withdraw POST

Transfer-wallet call. Credit is moved onto a product, then a game URL is opened.

Authorization ​

Send Basic authentication on this call.

HTTP Request ​

Method and path below. {API_URL} is a host from the Authentication page. {YOUR_API_URL} is the operator callback host.

text
POST {API_URL}/verifyDepositWithdraw

Content Type ​

Use Content-Type: application/json.

Parameter Description ​

Field name, type, and whether the caller must send it.

PropertyTypeRequiredDescription
usernamestringRequiredPlayer login name
transactionRefstringRequiredCaller-supplied transaction id
productIdstringRequiredProduct id from the API reference. values include SEXY; see Product Lists
typestringRequiredtype
json
{
  "username": "player01",
  "transactionRef": "example",
  "productId": "EXAMPLE",
  "type": "example"
}

Response Description ​

Fields in a successful JSON body.

PropertyTypeRequiredDescription
reqIdstringRequiredId for this response
codenumberRequiredStatus code number. see Error message
messagestringRequiredShort status text
dataVerifyDepositWithdrawDataRequiredPayload object
json
{
  "reqId": "req-1",
  "code": 0,
  "message": "ok",
  "data": {}
}

Verify Deposit Withdraw Data ​

Use your own placeholders. A real key does not belong in this file.

PropertyTypeRequiredDescription
successbooleanRequiredsuccess
usernamestringRequiredPlayer login name
productIdstringRequiredProduct id from the API reference
currencystringRequiredCurrency code such as THB
transactionRefstringRequiredCaller-supplied transaction id
amountstringRequiredCredit amount
beforeBalancestringRequiredBalance before the call
afterBalancestringRequiredafter Balance

Local editable copy. Not the official AMBSuperAPI documentation.