Create ZOD invoice
Create ZOD invoice
- application/json
- application/xml
- application/x-www-form-urlencoded
Request Body required
Create ZOD invoice request
- appId string required
AppID provided by Zalopay
- mcRefId string required
Merchant's reference ID of the order
- hubId string
The merchant's hub ID
- driverId string
The driver ID
- amount int64 required
Requests timestamp in ms
receiver object required
Receiver information
contact stringReceiver name
orderInfo object[] required
Array [trackingNumber stringOrder's tracking number
description stringOrder's description
amount int64Order's amount
]- mcExtInfo string required
JSOn string used for external info: merchandiseSubtotal, shippingSubtotal
Ex: "{"merchandiseSubtotal":100000, "shippingSubtotal":10000}"
- mac string required
It is signature of request. It’s calculated by following input: hmacInput = (appId + “|” + mcRefId + “|” + amount + “|” + mcExtInfo) and use sha256 with app’s hmac key.
Please refer to secure data transmission for detailed information.
Request Body required
Create ZOD invoice request
- appId string required
AppID provided by Zalopay
- mcRefId string required
Merchant's reference ID of the order
- hubId string
The merchant's hub ID
- driverId string
The driver ID
- amount int64 required
Requests timestamp in ms
receiver object required
Receiver information
contact stringReceiver name
orderInfo object[] required
Array [trackingNumber stringOrder's tracking number
description stringOrder's description
amount int64Order's amount
]- mcExtInfo string required
JSOn string used for external info: merchandiseSubtotal, shippingSubtotal
Ex: "{"merchandiseSubtotal":100000, "shippingSubtotal":10000}"
- mac string required
It is signature of request. It’s calculated by following input: hmacInput = (appId + “|” + mcRefId + “|” + amount + “|” + mcExtInfo) and use sha256 with app’s hmac key.
Please refer to secure data transmission for detailed information.
Request Body required
Create ZOD invoice request
- appId string required
AppID provided by Zalopay
- mcRefId string required
Merchant's reference ID of the order
- hubId string
The merchant's hub ID
- driverId string
The driver ID
- amount int64 required
Requests timestamp in ms
receiver object required
Receiver information
contact stringReceiver name
orderInfo object[] required
Array [trackingNumber stringOrder's tracking number
description stringOrder's description
amount int64Order's amount
]- mcExtInfo string required
JSOn string used for external info: merchandiseSubtotal, shippingSubtotal
Ex: "{"merchandiseSubtotal":100000, "shippingSubtotal":10000}"
- mac string required
It is signature of request. It’s calculated by following input: hmacInput = (appId + “|” + mcRefId + “|” + amount + “|” + mcExtInfo) and use sha256 with app’s hmac key.
Please refer to secure data transmission for detailed information.
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- orderUrl string
Url used to generate QR Code
{
"orderUrl": "string"
}