Skip to main content

Create ZOD invoice

Create ZOD invoice

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 string

    Receiver name

  • orderInfo object[] required
  • Array [
  • trackingNumber string

    Order's tracking number

  • description string

    Order's description

  • amount int64

    Order'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.

Responses

OK


Schema
  • orderUrl string

    Url used to generate QR Code

Loading...