v2

latestOpenAPI 3.0.0Commercial2026-07-2649110209.4 KB
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

objectstring required

Object type

has_moreboolean required

Whether more items exist beyond this page

Example response

{
  "object": "list",
  "data": [
    {
      "id": "cca_abc123",
      "customer_id": "cust_abc123",
      "name": "default",
      "unit_label": "credits"
    }
  ]
}