GET
/
customers
/
{customer_id}
/
credits
/
ledger

Authorizations

Authorization
string
header
required

API Keys can be issued in the Orb's web application.

Path Parameters

customer_id
string | null
required

Query Parameters

limit
integer
default:
20

The number of items to fetch. Defaults to 20.

Required range: 1 < x < 1000
cursor
string | null

Cursor for pagination. This can be populated by the next_cursor value returned from the initial request.

currency
string | null

The ledger currency or custom pricing unit to use.

minimum_amount
string | null
entry_type
enum<string> | null
Available options:
increment,
decrement,
expiration_change,
credit_block_expiry,
void,
void_initiated,
amendment
entry_status
enum<string> | null
Available options:
committed,
pending
created_at[gte]
string | null
created_at[gt]
string | null
created_at[lt]
string | null
created_at[lte]
string | null

Response

200 - application/json
data
object[]
required
pagination_metadata
object
required