1. Create new transaction

POST /partner/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:

ParamsTypeExplanationExample

withdraw_id

String

Platform trace id

12345_67890

player_name

String

Player's bank account

NGUYEN VAN A

player_id

String

Player's game nickname

test123

merchant_id

String

Platform merchant_id

gpk_f8bet_4

bank_id

Number

Bank id from Bank List

35

bank_account

String

Player's Bank Account

135792468

amount

Number

Amount of transaction (In VND)

50000

signature

String

9554D25C9C2CBCF90C5F4EFB07EA8

callback_url

String

Plaform’s callback url

Response:

ResultTypeExplanation

status_code

Number

HTTP status code. status_code explain

valid

Boolean

True/False: Check If the data is valid

merchant_id

String

ID/Username of platform on ATT Pay System. Jiliu merchant id

withdraw_id

String

The platform withdraw id (Trace id)

trans_status

String

Status of transaction trans_status explain

message

String

Note for system

Success response example:

{
    status_code:200,
    valid:true,
    merchant_id: example_okvip01,
    withdraw_id: expample_123456789,
    trans_status: “success”,
    message:"Transaction has been sent and waiting for process!"
}

Error response example:

// (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!"
}

Last updated