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

# List account transactions

> The rows of the dashboard's **Transactions** page: deposits, withdrawals, money moved onto and off cards, card payments, fees and adjustments, newest first.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/account/transactions
openapi: 3.1.0
info:
  title: StableMesh Open API
  version: 1.0.0
  description: >-
    Issue and manage StableMesh cards from your own server. Every endpoint is
    `POST` with a JSON body, authenticated with your API key in `X-API-KEY`.
  contact:
    email: contact@stablemesh.io
servers:
  - url: https://api.stablemesh.io
    description: Production
security:
  - ApiKey: []
tags:
  - name: Account
    description: Your USD account.
  - name: Deposits
    description: Fund your USD account with stablecoins.
  - name: Cards
    description: Issue, fund and control cards.
  - name: Webhooks
    description: Configure event delivery.
  - name: Sandbox
    description: Simulate deposits and payments in the sandbox.
paths:
  /v1/account/transactions:
    post:
      tags:
        - Account
      summary: List account transactions
      description: >-
        The rows of the dashboard's **Transactions** page: deposits,
        withdrawals, money moved onto and off cards, card payments, fees and
        adjustments, newest first.
      operationId: v1_account_transactions
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  type: string
                  description: Filter by row `type`, e.g. `DEPOSIT`.
                  example: DEPOSIT
                pageNumber:
                  type: integer
                  minimum: 1
                  default: 1
                  description: 1-based page number. A page past the end returns no items.
                pageSize:
                  type: integer
                  minimum: 1
                  maximum: 100
                  default: 20
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: '`0` on success.'
                    example: 0
                  message:
                    type: string
                    description: '`ok` on success.'
                    example: ok
                  data:
                    $ref: '#/components/schemas/AccountTransactionPage'
                required:
                  - code
                  - message
                  - data
        '400':
          description: Refused (bad parameter, business rule). Nothing changed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid, revoked or expired API key (`11002`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Request from an IP not on the key's allowlist (`11003`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Over the per-key rate limit (`11004`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: >-
            Internal error (`9999`). The outcome may be unknown; check state
            before retrying.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    AccountTransactionPage:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/AccountTransaction'
        pageNumber:
          type: integer
          description: 1-based page number.
          example: 1
        pageSize:
          type: integer
          description: Items per page (1–100, default 20).
          example: 20
        totalItems:
          type: integer
          example: 42
        totalPages:
          type: integer
          example: 3
        hasMore:
          type: boolean
          example: true
      required:
        - items
        - pageNumber
        - pageSize
        - totalItems
        - totalPages
        - hasMore
    Error:
      type: object
      properties:
        code:
          type: integer
          description: Non-zero error code. See [Errors](/api-reference/errors).
          example: 4011
        message:
          type: string
          description: Human-readable reason.
          example: >-
            This card can't be topped up through the API. Use the dashboard for
            this card.
        data:
          type: object
          description: >-
            Present only when the error carries something you need, e.g.
            `withdrawalId` on a `9999` from `card/withdraw`.
          additionalProperties: true
      required:
        - code
        - message
    AccountTransaction:
      type: object
      properties:
        id:
          type: string
          description: Row id.
          example: dep_18342
        type:
          type: string
          description: Row category. `SUBSCRIPTION_FEE` appears only on historical rows.
          enum:
            - DEPOSIT
            - WITHDRAW
            - CARD_TOPUP
            - CARD_REFUND
            - CARD_SPEND
            - CARD_FEE
            - SUBSCRIPTION_FEE
            - REFERRAL_REWARD
            - P2P_SENT
            - P2P_RECEIVED
            - CREDIT
            - DEBIT
            - OTHER
          example: DEPOSIT
        direction:
          type:
            - string
            - 'null'
          description: Which way the money moved.
          enum:
            - IN
            - OUT
            - null
          example: IN
        amount:
          type: string
          description: >-
            Always positive; see `direction`. For a card payment, in the
            merchant's currency. Decimal string.
          example: '500'
        currency:
          type: string
          description: ''
          example: USDT
        settledAmount:
          type: string
          description: 'Card payments: what the card paid, USD. Decimal string.'
          example: '19.99'
        settledCurrency:
          type: string
          description: ''
          example: USD
        fee:
          type:
            - string
            - 'null'
          description: ' Decimal string.'
          example: '0'
        status:
          type: string
          description: Normalised status.
          enum:
            - COMPLETED
            - PENDING
            - FAILED
          example: COMPLETED
        network:
          type:
            - string
            - 'null'
          description: Deposits and withdrawals.
          example: TRX
        txHash:
          type:
            - string
            - 'null'
          description: On-chain hash, deposits and withdrawals.
        counterparty:
          type:
            - string
            - 'null'
          description: ''
        cardId:
          type:
            - string
            - 'null'
          description: Card rows.
        last4:
          type:
            - string
            - 'null'
          description: Card rows.
          example: '4242'
        createdAt:
          type: string
          description: ISO 8601, UTC.
          format: date-time
          example: '2026-10-02T03:21:44Z'
      required:
        - id
        - type
        - direction
        - amount
        - currency
        - fee
        - status
        - network
        - txHash
        - counterparty
        - cardId
        - last4
        - createdAt
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        Create keys in the dashboard under **Settings → API keys**. Production
        keys start with `smk_live_`.

````

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