Authorizations
Customer session tokens are specific tokens that are used to authenticate customers on your organization. You can create those sessions programmatically using the Create Customer Session endpoint.
Path Parameters
The order ID.
Body
Schema to update an order.
The name of the customer that should appear on the invoice. Can't be updated after the invoice is generated.
The address of the customer that should appear on the invoice. Can't be updated after the invoice is generated.
Response
Successful Response
The ID of the object.
Creation timestamp of the object.
Last modification timestamp of the object.
pending
, paid
, refunded
, partially_refunded
Whether the order has been paid for.
true
Amount in cents, before discounts and taxes.
Discount amount in cents.
Amount in cents, after discounts but before taxes.
Sales tax amount in cents.
Amount in cents, after discounts and taxes.
Amount refunded in cents.
Sales tax refunded in cents.
purchase
, subscription_create
, subscription_cycle
, subscription_update
The name of the customer that should appear on the invoice.
Whether an invoice has been generated for this order.
Line items composing the order.
When the next payment retry is scheduled