List a subscription order's billing cycle history
curl --request GET \ --url 'https://example.com/api/v1/orders/example/cycle-history?page=1&perPage=20' \ --header 'Authorization: Bearer <token>'Paginated history of the order’s own subscription, one row per cycle invoice: its status, total and the most recent recorded charge outcome (an off-session decline, a payment recorded, a refund). Returns an empty page — never 404 — for a budget-only order or one with no billed subscription. Requires the orders.view permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Paginated cycle history.
object
One billing cycle of a subscription order: its invoice, status and latest outcome.
object
The cycle’s most recent recorded charge outcome, or null for none yet.
object
E.g. recurring_charge_declined, recurring_charge_card_choice_required (the customer has several saved cards and none is the default, so nothing was charged), marked_paid, payment_refunded — the cycle’s most recent recorded charge event.
The cycle invoice’s total. Absent when the caller lacks invoices.view, which alone shows what the agency charges.
Pagination metadata for list responses.
object
Example
{ "data": [ { "status": "DRAFT" } ]}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC