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

# Get wallet transaction

> Returns detailed information for one wallet transaction by public transaction ID, including settlement details when available. Use this endpoint to refresh known records or investigate reconciliation gaps.



## OpenAPI

````yaml /openapi/openapi.json get /partner/wallets/transactions/{id}
openapi: 3.1.0
info:
  title: Stabyl API
  description: >-
    REST API for approved Stabyl accounts to automate exchange, wallet, and
    non-production simulation workflows.
  contact:
    name: Stabyl Support
    email: support@stabyl.com
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://api.stabyl.com/v1
    description: Production
  - url: https://api-staging.stabyl.com/v1
    description: Staging
security: []
tags:
  - name: Exchange
    description: Trading market data and order management for account automation.
  - name: Wallets
    description: >-
      Supported routes, deposit destinations, balances, transactions, and saved
      recipients.
  - name: Webhooks
    description: >-
      Outbound event delivery configuration and eventually consistent delivery
      history. Verify Standard Webhooks webhook-id, webhook-timestamp, and
      webhook-signature headers against the unchanged raw request body before
      parsing JSON.
  - name: Simulation
    description: Non-production endpoints for testing integration behavior.
paths:
  /partner/wallets/transactions/{id}:
    get:
      tags:
        - Wallets
      summary: Get wallet transaction
      description: >-
        Returns detailed information for one wallet transaction by public
        transaction ID, including settlement details when available. Use this
        endpoint to refresh known records or investigate reconciliation gaps.
      operationId: get_partner_wallets_transactions_id
      parameters:
        - name: id
          in: path
          description: >-
            Public wallet transaction ID returned by the transaction list
            endpoint.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Transaction detail
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/WalletTransactionDetail'
                  status:
                    type: string
                    enum:
                      - success
              example:
                data:
                  amount: '99.50'
                  created_at: '2026-05-16T10:30:00Z'
                  currency: USD
                  description: USD withdrawal via USDC
                  failure_reason: null
                  id: 0195f7cb-8af5-7f40-9f7c-f08f568d37aa
                  rail: crypto
                  reference: wd_20260516_001
                  settlement_details:
                    beneficiary_nickname: null
                    block_number: null
                    blockchain_tx_hash: null
                    confirmations: null
                    confirmed_at: null
                    destination_address: 0xRecipient
                    explorer_url: null
                    failed_at: null
                    network:
                      chain: evm
                      chain_id: 8453
                      display_name: Base
                      slug: base
                      token_standard: erc20
                    network_display: Base
                    network_fee: null
                    principal_amount:
                      amount: '99.50'
                      currency: USDC
                    rail_reference: wd_20260516_001
                    sender_address: null
                    type: crypto
                  settlement_rail: USDC
                  status: processing
                  tx_type: withdrawal
                  updated_at: '2026-05-16T10:31:00Z'
                status: success
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                    properties:
                      code:
                        type: string
                        example: UNAUTHORIZED
                      message:
                        type: string
                        example: missing X-Api-Key header
                  status:
                    type: string
                    enum:
                      - error
              example:
                error:
                  code: UNAUTHORIZED
                  message: missing X-Api-Key header
                status: error
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                    properties:
                      code:
                        type: string
                        example: NOT_FOUND
                      message:
                        type: string
                        example: resource not found
                  status:
                    type: string
                    enum:
                      - error
              example:
                error:
                  code: NOT_FOUND
                  message: resource not found
                status: error
      security:
        - api_key: []
components:
  schemas:
    WalletTransactionDetail:
      type: object
      description: >-
        Detailed wallet transaction record with settlement information where
        available.
      required:
        - id
        - rail
        - currency
        - tx_type
        - status
        - amount
        - created_at
        - settlement_details
      properties:
        amount:
          type: string
        created_at:
          type: string
        currency:
          type: string
        description:
          type:
            - string
            - 'null'
        failure_reason:
          type:
            - string
            - 'null'
        id:
          type: string
        rail:
          $ref: '#/components/schemas/WalletRail'
        reference:
          type:
            - string
            - 'null'
        required_action:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/RequiredAction'
        settlement_details:
          $ref: '#/components/schemas/WalletSettlementDetails'
        settlement_rail:
          type:
            - string
            - 'null'
        status:
          type: string
        tx_type:
          type: string
        updated_at:
          type:
            - string
            - 'null'
    WalletRail:
      type: string
      description: Stablecoin rail and enabled chain routes for USD settlement.
      enum:
        - fiat
        - crypto
    RequiredAction:
      type: object
      required:
        - type
        - status
        - submission_url
      properties:
        status:
          $ref: '#/components/schemas/RequiredActionStatus'
        submission_url:
          type: string
        type:
          $ref: '#/components/schemas/RequiredActionType'
    WalletSettlementDetails:
      oneOf:
        - allOf:
            - $ref: '#/components/schemas/BankTransferSettlementDetails'
            - type: object
              required:
                - type
              properties:
                type:
                  type: string
                  enum:
                    - bank_transfer
        - allOf:
            - $ref: '#/components/schemas/CryptoSettlementDetails'
            - type: object
              required:
                - type
              properties:
                type:
                  type: string
                  enum:
                    - crypto
        - allOf:
            - $ref: '#/components/schemas/UsdCashSettlementDetails'
            - type: object
              required:
                - type
              properties:
                type:
                  type: string
                  enum:
                    - usd_cash
      description: Settlement details for a wallet transaction.
    RequiredActionStatus:
      type: string
      enum:
        - required
        - submitted
    RequiredActionType:
      type: string
      enum:
        - travel_rule
    BankTransferSettlementDetails:
      type: object
      description: Bank transfer settlement details for a fiat wallet transaction.
      required:
        - rail_reference
      properties:
        confirmed_at:
          type:
            - string
            - 'null'
        failed_at:
          type:
            - string
            - 'null'
        rail_reference:
          type: string
        recipient:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/BankAccountDetails'
        transfer_count:
          type:
            - integer
            - 'null'
          minimum: 0
        transfers:
          type:
            - array
            - 'null'
          items:
            $ref: '#/components/schemas/BankTransferSplitPreview'
    CryptoSettlementDetails:
      type: object
      description: Blockchain settlement details for a stablecoin wallet transaction.
      required:
        - rail_reference
      properties:
        beneficiary_nickname:
          type:
            - string
            - 'null'
        block_number:
          type:
            - integer
            - 'null'
          format: int64
        blockchain_tx_hash:
          type:
            - string
            - 'null'
        confirmations:
          type:
            - integer
            - 'null'
          format: int64
        confirmed_at:
          type:
            - string
            - 'null'
        destination_address:
          type:
            - string
            - 'null'
        explorer_url:
          type:
            - string
            - 'null'
        failed_at:
          type:
            - string
            - 'null'
        network:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/CryptoNetworkInfo'
        network_display:
          type:
            - string
            - 'null'
        network_fee:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/MoneyAmount'
        principal_amount:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/MoneyAmount'
        rail_reference:
          type: string
        sender_address:
          type:
            - string
            - 'null'
    UsdCashSettlementDetails:
      type: object
      description: USD cash settlement details for a wallet transaction.
      required:
        - rail_reference
      properties:
        confirmed_at:
          type:
            - string
            - 'null'
        destination:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/BankAccountDetails'
        failed_at:
          type:
            - string
            - 'null'
        rail_reference:
          type: string
    BankAccountDetails:
      type: object
      description: >-
        Bank account details attached to a fiat recipient or fiat settlement
        record.
      properties:
        account_name:
          type:
            - string
            - 'null'
        account_number:
          type:
            - string
            - 'null'
        bank_code:
          type:
            - string
            - 'null'
        bank_name:
          type:
            - string
            - 'null'
    BankTransferSplitPreview:
      type: object
      required:
        - sequence
        - item_index
        - item_transfer_index
        - amount
        - status
      properties:
        amount:
          type: string
        client_item_id:
          type:
            - string
            - 'null'
        description:
          type:
            - string
            - 'null'
        item_index:
          type: integer
          format: int32
        item_transfer_index:
          type: integer
          format: int32
        recipient:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/BankAccountDetails'
        sequence:
          type: integer
          format: int32
        status:
          type: string
    CryptoNetworkInfo:
      type: object
      description: Network metadata attached to a stablecoin settlement record.
      properties:
        chain:
          type:
            - string
            - 'null'
        chain_id:
          type:
            - integer
            - 'null'
          format: int64
        display_name:
          type:
            - string
            - 'null'
        slug:
          type:
            - string
            - 'null'
        token_standard:
          type:
            - string
            - 'null'
    MoneyAmount:
      type: object
      description: Decimal amount and currency code.
      required:
        - amount
        - currency
      properties:
        amount:
          type: string
        currency:
          type: string
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >-
        API credential. Withdrawal quote and submit operations additionally
        require the documented Ed25519 timestamp, nonce, and signature headers.
      x-default: sb_test_your_key

````