List Orders
Retrieve all orders for the authenticated customer.Query Parameters
Filter by product ID(s).
Filter by billing type:
recurring (subscription charges) or one_time (one-time purchases).Filter by subscription ID(s).
Search by product or organization name.
Number of results per page (max 100).
Page number for pagination.
Response
Array of order objects.
Pagination metadata.
Example
Get Order
Retrieve details for a specific order.Path Parameters
The order ID.
Response
Returns a full order object including line items, product details, and payment status.Example
Update Order
Update editable order details like billing address.Path Parameters
The order ID.
Request Body
Updated billing address with
line1, line2, city, state, postal_code, and country fields.Name on the billing address.
Tax ID number for the order.
Example
Get Order Invoice
Retrieve invoice data for a paid order.Path Parameters
The order ID.
Response
URL to download the invoice PDF.
Example
Invoices are only available for paid orders with complete billing information.
Generate Invoice
Trigger invoice generation for an order that’s been paid but hasn’t had an invoice created yet.Path Parameters
The order ID.
Response
Returns 202 Accepted. The invoice will be generated asynchronously.Example
Error Cases
Returns 422 if:- Order is not paid
- Missing billing name or address
Get Payment Status
Check the current payment status for an order.Path Parameters
The order ID.
Response
Payment status:
succeeded, processing, requires_action, failed, or no_payment.Error message if payment failed.
Example
Confirm Retry Payment
Retry payment for a failed order using a new or saved payment method.Path Parameters
The order ID.
Request Body
Provide either a new payment confirmation token or an existing payment method ID:Stripe confirmation token ID for a new payment method.
ID of a saved payment method from the customer’s account.
Payment processor: currently only
stripe is supported.You must provide exactly one of
confirmation_token_id or payment_method_id, not both.Response
Payment confirmation status:
succeeded, requires_action, or failed.Client secret if additional authentication is required (3D Secure).
Error message if payment failed.
Examples
With New Payment Method:Error Cases
Not Eligible for Retry (422):Order States
Orders can be in the following states:- succeeded: Payment completed successfully
- processing: Payment is being processed
- requires_action: Customer action needed (e.g., 3D Secure)
- failed: Payment failed and may be eligible for retry
- canceled: Order was canceled
Permissions
Order operations require billing permissions:- List/Get/Invoice: Any authenticated customer or member with billing access
- Update/Payment: Customer or member with
billing_managerorownerrole
Next Payment Attempt
For failed subscription renewal orders, thenext_payment_attempt_at field indicates when the automatic retry is scheduled: