Place an order
Authentication
Headers
JSON describing the device the shopper is buying on — device_id, device_type (web or native), and device_os. Adds signal to card fraud checks, so fewer genuine customers are declined. Omit it when no end-user device is in the request path.
Request
Monetary amount in minor units (cents for USD). Never uses floating point to avoid precision errors.
Response
The Idempotency-Key already completed an order for this cart. The existing order is returned and nothing is charged or issued again.
Human-readable confirmation number for customer support and emails
Server-ordered display lines for receipt rendering. Always includes SubtotalLine. Conditionally: VoucherLine, ProtectionLine.
Monetary amount in minor units (cents for USD). Never uses floating point to avoid precision errors.
When the order was created (UTC)
Monetary amount in minor units (cents for USD). Never uses floating point to avoid precision errors.