Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /v0/orders/list | List and filter orders |
GET | /v0/orders/{orderIdOrNumber} | Retrieve an order by ID or number |
PATCH | /v0/orders/{orderId}/update | Update order details |
PATCH | /v0/orders/{orderId}/cancel | Cancel an order |
The Order object
Object type identifier. Always
"order" for Order objects.Unique identifier (UUID) for this order.
Human-readable order number (e.g.,
#ABC123DEF456). Used for customer-facing references and support.Current order status. Possible values:
PENDING, PAID, FAILED, UNPAID, CANCELLED, REFUNDED, PARTIALLY_REFUNDED, EXPIREDTotal order value in the smallest currency unit (e.g., cents for USD). Defaults to
0.Tax amount in the smallest currency unit. Defaults to
0.Processing fee in the smallest currency unit. Defaults to
0.Three-letter ISO 4217 currency code (e.g.,
"USD", "EUR", "GBP").Number of decimal places for the currency. Used for formatting display values.
Two-letter ISO 3166-1 alpha-2 country code where the order originated.
Total number of items in the order. Defaults to
0.Unix timestamp in milliseconds when the order was created.
Expanded User object with basic information about the customer.
Human-readable number of the most recent payment.
Expanded Payment object with details about the most recent payment.
Identifier of the Subscription if this order is part of a recurring subscription.
Expanded Subscription object if this order is subscription-related.