List ledger entries
GET
bearerAuthheader
AuthorizationBearer <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.
identity*stringLength
1 <= length <= 128limit?integerRange
1 <= value <= 100Default
20cursor?stringLength
1 <= lengthX-Orbyte-Environment?stringRequired for environment-scoped OAuth operations. API keys remain bound to their own environment.
Length
1 <= lengthCredit ledger
application/json- response
page*array<>isDone*booleancontinueCursor*stringsplitCursor?string|nullpageStatus?|nullcurl -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"}