Query for refund status
API is agree merchant to query the refund status of the Refund transaction.
- application/json
- application/x-www-form-urlencoded
Request Body required
- app_id integer required
The unique ID of the application will be provided after the merchant registered successfully with Zalopay.
- m_refund_id string required
Refund ID that is used for requesting refund.
- timestamp int64 required
Timestamp of request in ms.
- mac string required
It is signature of order. It's calculated by following input: hmacinput = appid +
|
+ mrefundid +|
+ timestamp and use sha256 with app's hmac key as sign key.Please refer to secure data transmission for detailed information.
Request Body required
- app_id integer required
The unique ID of the application will be provided after the merchant registered successfully with Zalopay.
- m_refund_id string required
Refund ID that is used for requesting refund.
- timestamp int64 required
Timestamp of request in ms.
- mac string required
It is signature of order. It's calculated by following input: hmacinput = appid +
|
+ mrefundid +|
+ timestamp and use sha256 with app's hmac key as sign key.Please refer to secure data transmission for detailed information.
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- return_code integer
Status code of this operation. Please refer to status code for possible values
- return_message string
- sub_return_code integer
The detailed reason explains if the operation has failed. Please refer to sub status code for possible values
- sub_return_message string
{
"return_code": 0,
"return_message": "string",
"sub_return_code": 0,
"sub_return_message": "string"
}