Read billed excess and confirmed receipt options
curl --request GET \ --url https://example.com/api/v1/orders/example/overage-context \ --header 'Authorization: Bearer <token>'Requires orders.view, invoices.view and payments.view.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Responses
Section titled “Responses”Invoice and receipt context.
object
object
object
object
Hours decided deducted from the subscription.
object
object
Example generated
{ "data": { "allocations": [ { "amount": 1, "applications": [ { "amount": 1, "appliedAt": "2026-04-15T12:00:00Z", "hours": 1, "id": "example", "paidAt": "2026-04-15T12:00:00Z", "voidedAt": "2026-04-15T12:00:00Z" } ], "availableAmount": 1, "billingReason": "example", "currency": "example", "hours": 1, "id": "example", "invoiceId": "example", "invoiceNumber": "example", "legacyReview": true, "originPeriodEnd": "2026-04-15T12:00:00Z", "originPeriodStart": "2026-04-15T12:00:00Z", "voidedAt": "2026-04-15T12:00:00Z" } ], "deductions": [ { "effectiveAt": "2026-04-15T12:00:00Z", "hours": 1, "id": "example", "note": "example", "originPeriodEnd": "2026-04-15T12:00:00Z", "originPeriodStart": "2026-04-15T12:00:00Z", "voidedAt": "2026-04-15T12:00:00Z" } ], "invoices": [ { "availableAmount": 1, "currency": "example", "id": "example", "legacyReview": true, "number": "example", "receipts": [ { "availableAmount": 1, "id": "example", "method": "example", "paidAt": "2026-04-15T12:00:00Z" } ], "status": "example", "total": 1 } ] }}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" }}Stale, duplicate, legacy or financial-cap conflict.
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" }}Invalid input.
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