1. Create new transaction
POST
/partner/transaction
Request:
Params
Type
Explanation
Example
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_account
String
Player's Bank Account
135792468
amount
Number
Amount of transaction (In VND)
50000
callback_url
String
Plaform’s callback url
Response:
Result
Type
Explanation
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)
message
String
Note for system
Success response example:
{
status_code:200,
valid:true,
merchant_id: example_okvip01,
withdraw_id: expample_123456789,
trans_status: “pending”,
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