Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.24 KB

quick-pay.md

File metadata and controls

32 lines (23 loc) · 1.24 KB

Quick Pay

Describes an ad hoc item and price to generate a quick pay checkout link. For more information, see Quick Pay Checkout.

Structure

QuickPay

Fields

Name Type Tags Description
Name string Required The ad hoc item name. In the resulting Order, this name appears as the line item name.
Constraints: Minimum Length: 1, Maximum Length: 255
PriceMoney Money Required Represents an amount of money. Money fields can be signed or unsigned.
Fields that do not explicitly define whether they are signed or unsigned are
considered unsigned and can only hold positive amounts. For signed fields, the
sign of the value indicates the purpose of the money transfer. See
Working with Monetary Amounts
for more information.
LocationId string Required The ID of the business location the checkout is associated with.

Example (as JSON)

{
  "name": "name8",
  "price_money": {
    "amount": 202,
    "currency": "CNY"
  },
  "location_id": "location_id2"
}