Refund

This API is used to request refunds for the partner's customers.

POST

https://<vietqr-host>/<basepath>/api/transaction/refund

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Required
Description

bankAccount

String

Yes

Partner’s bank account.

referenceNumber

String

Yes

referenceNumber (of payment transaction).

amount

String

Yes

Amount need to refund.

content

String

Yes

Refund content.

multiTimes

Boolean

Optional

Allow 1 payment can refund plenty time.

Only settable at the first time refund.

checkSum

String

Yes

Encrypted MD5 string of combination: (secretKey+referenceNumber+

amount + bankAccount)

Response

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

Last updated