Customer Credits - Accounts (Experimental)
List customer credits accounts
List accounts for the authenticated store with cursor pagination. System accounts are excluded.
get/v1/customer-credits/accounts
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"
}
]
}