1. Create new deposit

POST /partner/transaction/deposit

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

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

result

String

Page_url

mess

String

Note for system

Success response example:

{
    status_code: 200,
    valid: true,
    mess: "Transaction has been sent and waiting for process!"
    result: {
        page_url: "https://web.attpayplus.com?withdraw_id=12345671…"
    }
}

Error response:

ResultTypeExplanation

status_code

Number

HTTP status code. status_code explain

valid

Boolean

True/False: Check If the data is valid

error

String

Error Explain: for 3rd party to debug

mess

String

Note for system

Last updated