Skip to Content
Orbyte Labs

List ledger entries

GET
/v1/customers/{identity}/ledger

Authorization

bearerAuth
headerAuthorizationBearer <token>

Environment API key or OAuth access token. OAuth requests select context with X-Orbyte-Environment or X-Orbyte-Organization when required by the operation.

Path Parameters

identity*string
Length1 <= length <= 128

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
cursor?string
Length1 <= length

Header Parameters

X-Orbyte-Environment?string

Required for environment-scoped OAuth operations. API keys remain bound to their own environment.

Length1 <= length

Response Body

Credit ledger

application/json
  1. response
page*array<>
isDone*boolean
continueCursor*string
splitCursor?string|null
pageStatus?|null
Example Request
curl -X GET 'https://api.orbytelabs.com/v1/customers/string/ledger'
Example Response
{  "page": [    {      "kind": "grant",      "credits": "string",      "effectiveAt": 0,      "idempotencyKey": "string",      "id": "string",      "createdAt": 0    }  ],  "isDone": true,  "continueCursor": "string",  "splitCursor": "string",  "pageStatus": "SplitRecommended"}