Query ZOD order status
Query ZOD order status
Query Parameters
- appId string required
AppID provided by Zalopay
- mcRefId string required
Merchant's reference ID of the order
- mac string required
It is signature of request. It’s calculated by following input: hmacInput = (appId + “|” + mcRefId) and use sha256 with app’s hmac key.
Please refer to secure data transmission for detailed information.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- status int64
Order's status: 1: SUCCESS - 2: FAILURE - 3: UNPAID
- amount string
Order's amount
- zpTransId string
Zalopay transaction's ID
{
"status": 0,
"amount": "string",
"zpTransId": "string"
}
Loading...