> ## Documentation Index
> Fetch the complete documentation index at: https://docs.creem.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List customer credits accounts

> List accounts for the authenticated store with cursor pagination. System accounts are excluded.



## OpenAPI

````yaml get /v1/customer-credits/accounts
openapi: 3.0.0
info:
  title: Creem API
  description: >-
    Creem is an all-in-one platform for managing subscriptions and recurring
    revenue, tailored specifically for today's SaaS companies. It enables you to
    boost revenue, enhance customer retention, and scale your operations
    seamlessly.
  version: v1
  contact:
    name: Creem Support
    url: https://creem.io
    email: support@creem.io
  license:
    name: Commercial
    url: https://creem.io/terms
  termsOfService: https://creem.io/terms
servers:
  - url: https://api.creem.io
    description: Production — live API for processing real transactions and data.
    x-speakeasy-server-id: prod
  - url: https://test-api.creem.io
    description: Test — sandbox API for development and testing with no real charges.
    x-speakeasy-server-id: test
security: []
tags: []
externalDocs:
  description: Creem Documentation
  url: https://docs.creem.io
paths:
  /v1/customer-credits/accounts:
    get:
      tags:
        - Customer Credits - Accounts (Experimental)
      summary: List customer credits accounts
      description: >-
        List accounts for the authenticated store with cursor pagination. System
        accounts are excluded.
      operationId: listCustomerCreditsAccounts
      parameters:
        - name: limit
          required: false
          in: query
          description: Maximum number of accounts to return
          schema:
            minimum: 1
            maximum: 100
            default: 10
            type: number
        - name: customer_id
          required: false
          in: query
          description: Filter by owner ID (e.g. customer ID)
          schema:
            example: cust_abc123
            type: string
        - name: starting_after
          required: false
          in: query
          description: Cursor for forward pagination — account ID to start after
          schema:
            type: string
        - name: ending_before
          required: false
          in: query
          description: Cursor for backward pagination — account ID to end before
          schema:
            type: string
      responses:
        '200':
          description: Paginated list of accounts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountListResponseDto'
        '400':
          description: Bad Request - Invalid input parameters
        '401':
          description: Unauthorized - Invalid or missing API key
        '404':
          description: Not Found - Resource does not exist
      security:
        - ApiKey: []
components:
  schemas:
    AccountListResponseDto:
      type: object
      properties:
        object:
          type: string
          description: Object type
          example: list
        data:
          description: Array of accounts
          type: array
          items:
            $ref: '#/components/schemas/AccountResponseDto'
        has_more:
          type: boolean
          description: Whether more items exist beyond this page
      required:
        - object
        - data
        - has_more
    AccountResponseDto:
      type: object
      properties:
        id:
          type: string
          description: Account ID
          example: cca_abc123
        store_id:
          type: string
          description: Store ID
        customer_id:
          type: string
          description: Owner ID
          example: cust_abc123
        name:
          type: string
          description: Account name
          example: default
        unit_label:
          type: string
          description: Unit label
          example: credits
        status:
          type: string
          description: Account status
          enum:
            - active
            - frozen
            - closed
        created_at:
          type: string
          description: Creation timestamp
        updated_at:
          type: string
          description: Last update timestamp
      required:
        - id
        - store_id
        - customer_id
        - name
        - unit_label
        - status
        - created_at
        - updated_at
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. You can find your API key in the Creem
        dashboard under Settings > API Keys.

````