ATT Pay Integration Guide
  1. Withdrawal APIs
ATT Pay Integration Guide
  • About
  • Authentication & Signature
  • Withdrawal APIs
    • Create New Withdrawal Transaction
    • Check Withdrawal Transaction Status
    • Withdrawal Callback
  • Deposit APIs
    • Create New Deposit Transaction
    • Check Deposit Transaction Status
    • Deposit Callback
  • Appendix
    • Status Explanation
    • Bank List
  1. Withdrawal APIs

Create New Withdrawal Transaction

In system and database synchronized purposes, we use the same params name to declare withdrawal and deposit order as [withdraw_id]. Please take note to avoid confusing in development

Request Body Parameters:#

ParamsTypeDescriptionExample
withdraw_idStringPlatform trace ID12345_67890
player_nameStringPlayer's bank account holder nameNGUYEN VAN A
player_idStringPlayer's game nicknametest123
merchant_idStringPlatform merchant IDatt_merchant_4
bank_idNumberBank ID from Bank List35
bank_accountStringPlayer's bank account number135792468
amountNumberTransaction amount (VND)50000
signatureStringSignature logic7779b0e5a82b61ac89f5c3f50ffbdc65
callback_urlStringMerchant callback URLhttps://example.com/callback

Response Parameters:#

FieldTypeDescription
status_codeNumberStatus code - status_code explanation
validBooleanIndicates whether the request data is valid
merchant_idStringMerchant ID registered on the ATT Pay system
withdraw_idStringPlatform transaction trace ID
trans_statusStringTransaction status - trans_status explanation
messStringSystem message or description

Success response example:#

{
    status_code: 200,
    valid: true,
    merchant_id: "example_att01",
    withdraw_id: "expample_123456789",
    trans_status: "pending",
    message: "Transaction has been sent and waiting for process!"
}

Error response example:#

404
402
424
429
422
500
// (no transfer port/gateway found/available)
{
    status_code: 404,
    valid: false,
    merchant_id: "example_okvip01",
    withdraw_id: "expample_123456789",
    trans_status: "error",
    message: "Gateway not Available: There is no active port!"
}
Modified at 2025-12-20 18:25:20
Previous
Authentication & Signature
Next
Check Withdrawal Transaction Status
Built with