> ## 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. For an NGN withdrawal, `settlement_details.transfers` lists every bank transfer with its own status, `client_item_id`, and recipient, which is how you reconcile bulk withdrawals and `partial` outcomes. Use this endpoint to refresh known records or investigate reconciliation gaps.

> [!NOTE]
>
> Use wallet transactions as the reconciliation source of truth. Withdrawals initiated through the API or Stabyl Pro can appear in this timeline. A bulk NGN withdrawal is one parent transaction; read its detail and walk `settlement_details.transfers` to see the outcome of each bank transfer.
>
> List items and details optionally include `processing_reason: "liquidity_pending"` when a CNGN deposit has funds still awaiting conversion-pool capacity. This is not a new status: a deposit can already have `status: "success"` while its restricted portion awaits conversion. Use conversion progress for amounts. The reason is omitted after full release or return, and on failed, cancelled, or held deposits; ordinary processing, payout delays, screening, and Travel Rule holds do not produce it. SDKs need an optional reason string on summary and detail models; clients should check `processing_reason`, tolerate unknown values, and clear an earlier reason when the field is absent.


## OpenAPI

````yaml /openapi/openapi.json get /partner/wallets/transactions/{id}
openapi: 3.1.0
info:
  contact:
    email: support@stabyl.com
    name: Stabyl Support
  description: >-
    REST API for approved Stabyl accounts to automate exchange, wallet, and
    non-production simulation workflows.
  license:
    name: Proprietary
  title: Stabyl API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.stabyl.com/v1
  - description: Staging
    url: https://api-staging.stabyl.com/v1
security: []
tags:
  - description: >-
      Read the authenticated account’s API key inventory without revealing
      credentials.
    name: API Keys
  - description: Trading market data and order management for account automation.
    name: Exchange
  - description: >-
      Supported routes, deposit destinations, balances, transactions, and saved
      recipients.
    name: Wallets
  - 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: Webhooks
  - description: >-
      Non-production endpoints for testing integration behavior. API-key or
      session authentication allows user_id to be omitted; unauthenticated
      user-targeted requests require user_id. All users are automatically
      KYB-approved in development and staging.
    name: Simulation
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. For an NGN
        withdrawal, `settlement_details.transfers` lists every bank transfer
        with its own status, `client_item_id`, and recipient, which is how you
        reconcile bulk withdrawals and `partial` outcomes. Use this endpoint to
        refresh known records or investigate reconciliation gaps.
      operationId: get_partner_wallets_transactions_id
      parameters:
        - description: >-
            Public wallet transaction ID returned by the transaction list
            endpoint.
          in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              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
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/WalletTransactionDetail'
                  status:
                    enum:
                      - success
                    type: string
                required:
                  - status
                  - data
                type: object
          description: Transaction detail
        '401':
          content:
            application/json:
              example:
                error:
                  code: UNAUTHORIZED
                  message: missing X-Api-Key header
                status: error
              schema:
                properties:
                  error:
                    properties:
                      code:
                        example: UNAUTHORIZED
                        type: string
                      message:
                        example: missing X-Api-Key header
                        type: string
                    required:
                      - code
                      - message
                    type: object
                  status:
                    enum:
                      - error
                    type: string
                required:
                  - status
                  - error
                type: object
          description: Unauthorized
        '404':
          content:
            application/json:
              example:
                error:
                  code: NOT_FOUND
                  message: resource not found
                status: error
              schema:
                properties:
                  error:
                    properties:
                      code:
                        example: NOT_FOUND
                        type: string
                      message:
                        example: resource not found
                        type: string
                    required:
                      - code
                      - message
                    type: object
                  status:
                    enum:
                      - error
                    type: string
                required:
                  - status
                  - error
                type: object
          description: Not found
      security:
        - api_key: []
components:
  schemas:
    WalletTransactionDetail:
      description: >-
        Detailed wallet transaction record with settlement information where
        available.
      properties:
        amount:
          type: string
        created_at:
          type: string
        currency:
          type: string
        description:
          type:
            - string
            - 'null'
        failure_reason:
          type:
            - string
            - 'null'
        id:
          type: string
        processing_reason:
          description: >-
            `liquidity_pending` while a cNGN deposit has funds awaiting
            conversion

            capacity. May accompany `success`; omitted after release/return or
            on holds.
          example: liquidity_pending
          type:
            - string
            - 'null'
        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'
      required:
        - id
        - rail
        - currency
        - tx_type
        - status
        - amount
        - created_at
        - settlement_details
      type: object
    WalletRail:
      description: >-
        Settlement rail with its wallet currency, availability, fees where
        applicable, and supported routes.
      enum:
        - fiat
        - crypto
      type: string
    RequiredAction:
      properties:
        status:
          $ref: '#/components/schemas/RequiredActionStatus'
        submission_url:
          type: string
        type:
          $ref: '#/components/schemas/RequiredActionType'
      required:
        - type
        - status
        - submission_url
      type: object
    WalletSettlementDetails:
      description: Settlement details for a wallet transaction.
      oneOf:
        - allOf:
            - $ref: '#/components/schemas/BankTransferSettlementDetails'
            - properties:
                type:
                  enum:
                    - bank_transfer
                  type: string
              required:
                - type
              type: object
        - allOf:
            - $ref: '#/components/schemas/CryptoSettlementDetails'
            - properties:
                type:
                  enum:
                    - crypto
                  type: string
              required:
                - type
              type: object
        - allOf:
            - $ref: '#/components/schemas/UsdCashSettlementDetails'
            - properties:
                type:
                  enum:
                    - usd_cash
                  type: string
              required:
                - type
              type: object
    RequiredActionStatus:
      enum:
        - required
        - submitted
      type: string
    RequiredActionType:
      enum:
        - travel_rule
      type: string
    BankTransferSettlementDetails:
      description: >-
        Bank transfer settlement details for a fiat wallet transaction.
        Withdrawals also carry `transfer_count` and a `transfers` list with one
        entry per bank transfer.
      properties:
        confirmed_at:
          type:
            - string
            - 'null'
        depositor:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/BankAccountDetails'
              description: Originator details reported with an inbound bank deposit.
        failed_at:
          type:
            - string
            - 'null'
        fee:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/MoneyAmount'
              description: >-
                Reported bank fee. Informational only; it does not change the
                amount

                credited to the customer.
        rail_reference:
          type: string
        recipient:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/BankAccountDetails'
              description: |-
                Destination bank account for a withdrawal. For a withdrawal with
                several beneficiaries this is the first beneficiary; use the
                per-transfer `recipient` in `transfers` for the others.
        transfer_count:
          description: |-
            Number of bank transfers created for a withdrawal. Present only on
            withdrawals. Greater than one when the request had several
            beneficiaries or an amount was split above the per-transfer limit.
          minimum: 0
          type:
            - integer
            - 'null'
        transfers:
          description: >-
            One entry per bank transfer, in `sequence` order, each with its own

            status. Present only on withdrawals. Use it to see which
            beneficiaries

            were paid when the parent status is `partial`.
          items:
            $ref: '#/components/schemas/BankTransferSplitPreview'
          type:
            - array
            - 'null'
      required:
        - rail_reference
      type: object
    CryptoSettlementDetails:
      description: Blockchain settlement details for a stablecoin wallet transaction.
      properties:
        amounts:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/WalletSettlementAmounts'
              description: Frozen customer amounts; omitted for historical USD payloads.
        beneficiary_nickname:
          type:
            - string
            - 'null'
        block_number:
          format: int64
          type:
            - integer
            - 'null'
        blockchain_tx_hash:
          type:
            - string
            - 'null'
        confirmations:
          format: int64
          type:
            - integer
            - 'null'
        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'
      required:
        - rail_reference
      type: object
    UsdCashSettlementDetails:
      description: USD cash settlement details for a wallet transaction.
      properties:
        confirmed_at:
          type:
            - string
            - 'null'
        destination:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/BankAccountDetails'
        failed_at:
          type:
            - string
            - 'null'
        rail_reference:
          type: string
      required:
        - rail_reference
      type: object
    BankAccountDetails:
      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'
      type: object
    MoneyAmount:
      description: Decimal amount and currency code.
      properties:
        amount:
          type: string
        currency:
          type: string
      required:
        - amount
        - currency
      type: object
    BankTransferSplitPreview:
      description: >-
        One bank transfer that pays part or all of a withdrawal, with its own
        status, beneficiary position, and recipient.
      properties:
        amount:
          description: Amount of this transfer in major units.
          type: string
        client_item_id:
          description: The `client_item_id` you supplied for this beneficiary, if any.
          type:
            - string
            - 'null'
        description:
          description: The description you supplied for this beneficiary, if any.
          type:
            - string
            - 'null'
        item_index:
          description: |-
            Position of the beneficiary in the submitted `items` list, starting
            at 0.
          format: int32
          type: integer
        item_transfer_index:
          description: >-
            Position of this transfer within its beneficiary, starting at 1.
            Above

            1 only when that beneficiary's amount was split across transfers.
          format: int32
          type: integer
        recipient:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/BankAccountDetails'
              description: Destination bank account for this transfer.
        sequence:
          description: >-
            Position of this transfer across the whole withdrawal, starting at
            1.
          format: int32
          type: integer
        status:
          description: |-
            Status of this transfer alone: `pending`, `processing`, `success`,
            or `failed`.
          type: string
      required:
        - sequence
        - item_index
        - item_transfer_index
        - amount
        - status
      type: object
    WalletSettlementAmounts:
      properties:
        fee_amount:
          $ref: '#/components/schemas/MoneyAmount'
        gross_amount:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/MoneyAmount'
        net_amount:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/MoneyAmount'
        settlement_amount:
          $ref: '#/components/schemas/MoneyAmount'
        total_debit:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/MoneyAmount'
      required:
        - fee_amount
        - settlement_amount
      type: object
    CryptoNetworkInfo:
      description: Network metadata attached to a stablecoin settlement record.
      properties:
        chain:
          type:
            - string
            - 'null'
        chain_id:
          format: int64
          type:
            - integer
            - 'null'
        display_name:
          type:
            - string
            - 'null'
        slug:
          type:
            - string
            - 'null'
        token_standard:
          type:
            - string
            - 'null'
      type: object
  securitySchemes:
    api_key:
      description: >-
        API credential. Withdrawal quote and submit operations additionally
        require the documented Ed25519 timestamp, nonce, and signature headers.
      in: header
      name: X-Api-Key
      type: apiKey
      x-default: sb_test_your_key

````

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