Withdraw

Live
POST/api/v1/withdrawals

Create a withdrawal request for the member.

The balance is locked as soon as the request is created; the payout happens after approval / auto-transfer. A new request can only be made once the previous one has finished.

Headers

FieldTypeRequiredDescription
AuthorizationstringYesUsed — send Bearer <member access_token>
X-Api-KeystringYesAgent API key (ak_…) from the bo screen
X-TimestampstringYesSigning time in unix milliseconds (±300s skew allowed)
X-NoncestringYesUnique per-request value (UUIDv4) for replay protection
X-SignaturestringYeshex(HMAC-SHA256(secret, canonical)) — see the Authentication page
X-Player-IPstring—The player's real IP (IPv4/IPv6) — recommended (used in login history)
X-Player-UAstring—The player's User-Agent (optional — recorded in login history)
X-Request-Idstring—Your correlation id — echoed back as request_uuid (recommended)
x-langstring—th (default) or en — the language of message

Response

Fields in data

FieldTypeRequiredDescription
order_idstring (uuid)—The created withdrawal order id (status PENDING, balance locked) — track it via the transactions history
Response example
{
  "success": true,
  "code": 0,
  "message": "สำเร็จ",
  "data": {
    "order_id": "c9e1a3b5-7d2f-4c6a-8b0e-4f6a8c0e2d4b"
  },
  "request_uuid": "9f2b7d1e-4a83-4c1f-b2ce-6d5a0e8f3c21"
}

Possible error codes

codeNameHTTPMessage
1002FORBIDDEN403ForbiddenThe member is under a SEAMLESS-wallet agent — the wallet lives on the agent side, so withdrawing through the member API is unavailable
2001INSUFFICIENT_BALANCE400Insufficient balanceThe floored balance is below 1 THB — nothing to withdraw
2002WALLET_NOT_FOUND404Wallet not found
2005WITHDRAW_IN_PROGRESS409A withdrawal is already in progressA previous withdrawal is still in progress — only one at a time
2006WITHDRAW_BELOW_TIER_MIN422Balance is below the minimum required to withdrawThe balance is below the member tier's minimum withdrawal
2007WITHDRAW_NO_BANK_ACCOUNT422No bank account on fileThe member has no bank account on file to receive the payout
2008WITHDRAW_DAILY_LIMIT422Daily withdrawal limit reachedThe daily withdrawal limit has been reached
2009WITHDRAW_WAGER_NOT_MET422Cannot withdraw while a bonus turnover requirement is activeAn active bonus turnover requirement blocks withdrawal until it is met
9002SERVICE_UNAVAILABLE503Service unavailableThe internal payment service is temporarily unreachable — retry later