Skip to main content

UpdateOrderDTO

charge_feecharge fee (string)required

The amount you charge your customers

Default value: 0.00
Example: 0.00
tipstips (string)

Additional tips to be paid by customers

Default value: 0.00
Example: 0.00
currencycurrency code (string)required

currency code, eg HKD

numberstringrequired
reference_numberyour side unique number (string)

your side unique number

notenote (string)

Note information for the order, needs to be less than 255 characters

subtotalsubtotal (string)

Custom fee items

Default value: 0.00
Example: 0.00
payment_method_option object
online object

from value: cup unionpay_wallet fps amex visa mastercard maestro jcb discover diners wechat alipay alipay_hk payme octopus

object
line_items object[]required
  • Array [
  • uuiduuid (string)

    UUID V4

    purchasable_typePurchasableType (string)required

    Possible values: [RearTips, Charge, Listing]

    purchasable_idstring

    just for purchaseable_type = Listing

    pricestringrequired
    quantitystringrequired
    totalstringrequired
    labelProduct Name (string)

    Product Name

  • ]
  • UpdateOrderDTO
    {
    "charge_fee": "0.00",
    "tips": "0.00",
    "currency": "string",
    "number": "string",
    "reference_number": "string",
    "note": "string",
    "subtotal": "0.00",
    "payment_method_option": {
    "online": {}
    },
    "line_items": [
    {
    "uuid": "string",
    "purchasable_type": "RearTips",
    "purchasable_id": "string",
    "price": "string",
    "quantity": "string",
    "total": "string",
    "label": "string"
    }
    ]
    }