POST API/qrpay/refund
refund 00 Refund Success 01 Checksum is wrong. 02 Money is invalid - a part 03 Money is invalid - totality 04 Not allow refund totality after refund a part 11 Format data is wrong 12 Transaction not found 14 IP is denied 96 System is maintaing 99 Internal error
Request Information
URI Parameters
None.
Body Parameters
RefundQRCodeMode| Name | Description | Type | Additional information |
|---|---|---|---|
| orderID | string |
None. |
|
| orderIDRefund | string |
None. |
|
| amount | string |
None. |
|
| typeRefund | string |
None. |
|
| refundContent | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"orderID": "sample string 1",
"orderIDRefund": "sample string 2",
"amount": "sample string 3",
"typeRefund": "sample string 4",
"refundContent": "sample string 5"
}
application/xml, text/xml
Sample:
<VNPay.QRPay.RefundQRCodeMode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Assets"> <amount>sample string 3</amount> <orderID>sample string 1</orderID> <orderIDRefund>sample string 2</orderIDRefund> <refundContent>sample string 5</refundContent> <typeRefund>sample string 4</typeRefund> </VNPay.QRPay.RefundQRCodeMode>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
QRPayResponseModel
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />