POST
/
qrpay
/
refund

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
orderID
string
required

String - Mã đơn hàng.

orderIDRefund
string
required

String - Mã đơn hàng hoàn tiền.

amount
string
required

String - Số tiền.

typeRefund
string
required

String - 1 là toàn phần, 2 là 1 phần

refundContent
string
required

String - Nội dung hoàn tiền.

Response

200 - application/json
status
integer

status 1 thành công hoặc 0 thất bại

data
string

base64 trả về