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
This is a Zalopay-provided identifier specific to the merchant's service or application, established during the integration agreement for payment methods.
- m_refund_id string required
The refund transaction code (TXID of refund transaction), which was generated by merchant when querying refund transaction.
- timestamp int64 required
Timestamp of request in millisecond.
- mac string required
Authentication information mac = HMAC(hmac_algorihtm, mac key, hmacinput), see as below:
- hmac_algorihtm: is a security method registered by Merchant with Zalopay, the default is HmacSHA256.
- mac key: provided by Zalopay at registration.
- hmacinput = app_id +|
+ m_refund_id +|
+ timestampPlease refer to secure data transmission for detailed information.
Request Body required
- app_id integer required
This is a Zalopay-provided identifier specific to the merchant's service or application, established during the integration agreement for payment methods.
- m_refund_id string required
The refund transaction code (TXID of refund transaction), which was generated by merchant when querying refund transaction.
- timestamp int64 required
Timestamp of request in millisecond.
- mac string required
Authentication information mac = HMAC(hmac_algorihtm, mac key, hmacinput), see as below:
- hmac_algorihtm: is a security method registered by Merchant with Zalopay, the default is HmacSHA256.
- mac key: provided by Zalopay at registration.
- hmacinput = app_id +|
+ m_refund_id +|
+ timestampPlease refer to secure data transmission for detailed information.
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- return_code integer
Status code.
Please refer to status code for possible values - return_message string
Description of status code.
- sub_return_code integer
Status code detail.
Please refer to sub status code for possible values - sub_return_message string
Description of status code detail.
{
"return_code": 0,
"return_message": "string",
"sub_return_code": 0,
"sub_return_message": "string"
}