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

# List account-wide credit activity for a customer

> Every credit event on the customer account, newest first, including other products and top-ups. Credits are shared, so the balance only makes sense account-wide.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/sdk/credits/activity
openapi: 3.0.0
info:
  contact: {}
  description: The SolvaPay REST API specification
  title: SolvaPay REST API
  version: '1.0'
servers: []
security: []
tags: []
paths:
  /v1/sdk/credits/activity:
    get:
      tags:
        - Credits
      summary: List account-wide credit activity for a customer
      description: >-
        Every credit event on the customer account, newest first, including
        other products and top-ups. Credits are shared, so the balance only
        makes sense account-wide.
      operationId: CreditActivitySdkController_getActivity
      parameters:
        - in: query
          name: customerRef
          required: true
          schema:
            type: string
        - in: query
          name: limit
          required: false
          schema:
            type: number
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditActivityResponseDto'
          description: Account-wide credit ledger page.
        '400':
          description: customerRef is required, or limit is invalid
        '404':
          description: Customer not found
      security:
        - SecretKey: []
components:
  schemas:
    CreditActivityResponseDto:
      properties:
        entries:
          items:
            $ref: '#/components/schemas/CreditActivityEntryDto'
          type: array
        hasMore:
          description: True when more events exist beyond this page
          example: false
          type: boolean
      required:
        - entries
        - hasMore
      type: object
    CreditActivityEntryDto:
      properties:
        amount:
          description: Signed credit units on the USD peg (100 credits = 1 USD cent)
          example: -200
          type: number
        balance:
          description: Running credit balance after this event
          example: 599800
          type: number
        productName:
          description: Product display name when the event is product-scoped
          type: string
        productRef:
          description: Product reference when the event is product-scoped
          type: string
        reason:
          description: Machine-readable reason when the ledger stored one
          type: string
        timestamp:
          description: ISO-8601 timestamp
          example: '2026-09-05T14:22:00.000Z'
          type: string
        type:
          description: Ledger event type
          enum:
            - USAGE
            - TOPUP
            - GRANT
            - REFUND
            - ADJUSTMENT
          type: string
      required:
        - type
        - amount
        - balance
        - timestamp
      type: object
  securitySchemes:
    SecretKey:
      bearerFormat: JWT
      description: >-
        Provider secret API key (sk_live_… / sk_test_…) supplied as a Bearer
        token.
      scheme: bearer
      type: http

````