Customer Credits - Accounts
List customer credits accounts
Changed onList accounts for the authenticated store with cursor pagination. System accounts are excluded.
get/v1/customer-credits/accounts
Request
- Base URLhttps://api.creem.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitnumber
Maximum number of accounts to return
customer_idstring
Example:cust_abc123
Filter by owner ID (e.g. customer ID)
starting_afterstring
Cursor for forward pagination — account ID to start after
ending_beforestring
Cursor for backward pagination — account ID to end before
Response
Paginated list of accounts
Example response
{
"object": "list",
"data": [
{
"id": "cca_abc123",
"customer_id": "cust_abc123",
"name": "default",
"unit_label": "credits"
}
]
}Changes
- info
api tag
Customer Credits - Accountsadded - info
api tag
Customer Credits - Accounts (Experimental)removed
- info