Test Callback

This API is designed to check the callback connection from the VietQR system to the partner's system. This is part of the testing and simulation process.

Note: This API can only be applied in the Sandbox (TEST) environment.

Assumption: In this test environment, the API assumes that a transaction has been completed and paid.

POST

https://<vietqr-host>/<basepath>/bank/api/test/transaction-callback

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Body

NameTypeRequiredDescription

bankAccount

String

Yes

Bank account that created the VietQR payment code.

content

String

Yes

Payment content. Maximum 19 characters, no special characters.

amount

Long

Yes

Amount to be paid.

transType

String

Yes

Transaction type: debit/credit (values: D/C). Default is “C”.

Response

{
    "status": "SUCCESS",
    "message": "transaction_ID"
}

Last updated