Skip to main content

List the billing provider orders

GET 

/api/v1/credits/orders

Return the billing provider-backed billing history for the caller's organization.

Orders are fetched live from the billing provider and filtered by the organization identifier stored in each order's metadata.

An empty list means this deployment sells nothing (no the billing provider access token) or the organization has bought nothing. It never means the billing provider was unreachable: a transient upstream fault answers 503 and a permanent one 502, because "you have no orders" is a statement about the customer's money and must not be synthesized from a failed call.

  • Scope required: billing:read.
  • Built-in role required: owner/admin.

Request

Responses

Successful Response