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

# List Credit Transactions

> Returns your account credit transactions, newest first.



## OpenAPI

````yaml /api-reference/openapi.json get /credit-transactions
openapi: 3.1.0
info:
  title: Arct Cloud API
  description: >-
    Manage Arct Cloud servers over HTTPS with an API token. Errors return an
    `error` object with `code`, `message` and `details`.
  version: 1.0.0
servers:
  - url: https://api.arct.cloud/v1
security: []
tags:
  - name: Account
    description: The account and token behind the request.
  - name: Account credit
    description: >-
      Credit transactions. Add credit in the dashboard under Billing > Account
      credits.
  - name: Servers
    description: List, read, create, update, power, reinstall, resize and delete servers.
  - name: Catalog
    description: Datacenters, locations, plans and OS images you can order.
  - name: Invoices
    description: Your invoices.
  - name: SSH Keys
    description: Keys to install on new and reinstalled servers.
paths:
  /credit-transactions:
    get:
      tags:
        - Account credit
      summary: List Credit Transactions
      description: Returns your account credit transactions, newest first.
      operationId: list_credit_transactions_credit_transactions_get
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            maximum: 100000
            minimum: 1
            description: Page number.
            default: 1
            title: Page
          description: Page number.
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Items per page.
            default: 20
            title: Per Page
          description: Items per page.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_CreditTransaction_'
        '401':
          description: '`invalid_token`, `token_disabled` or `token_expired`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: '`account_disabled` or `api_access_disabled`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: '`validation_error`; see `details.fields`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: '`rate_limit_exceeded`; see `Retry-After`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: '`internal_error`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    Page_CreditTransaction_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/CreditTransaction'
          type: array
          title: Data
        pagination:
          $ref: '#/components/schemas/Pagination'
      type: object
      required:
        - data
        - pagination
      title: Page[CreditTransaction]
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - error
      title: ErrorResponse
    CreditTransaction:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        created_at:
          type: string
          format: date-time
          title: Created At
        type:
          type: string
          enum:
            - topup
            - order_payment
            - invoice_payment
            - invoice_refund
            - adjustment
            - refund_payout
          title: Type
        description:
          type: string
          title: Description
        amount:
          type: number
          title: Amount
          description: 'Signed, in USD: positive adds credit, negative spends or removes it.'
        balance_after:
          type: number
          title: Balance After
          description: Your account credit right after this entry, in USD.
        invoice_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Invoice Id
        order_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Order Id
      type: object
      required:
        - id
        - created_at
        - type
        - description
        - amount
        - balance_after
        - invoice_id
        - order_id
      title: CreditTransaction
    Pagination:
      properties:
        page:
          type: integer
          title: Page
        per_page:
          type: integer
          title: Per Page
        total:
          type: integer
          title: Total
        total_pages:
          type: integer
          title: Total Pages
      type: object
      required:
        - page
        - per_page
        - total
        - total_pages
      title: Pagination
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Details
      type: object
      required:
        - code
        - message
      title: ErrorDetail
  securitySchemes:
    bearerAuth:
      type: http
      description: API token from Dashboard > Settings > API Tokens.
      scheme: bearer
      bearerFormat: arct_...

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.