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

# List withdrawal history

> Returns up to 50 most recent withdrawals for the authenticated wallet.



## OpenAPI

````yaml /openapi.yaml get /api/withdrawals
openapi: 3.1.0
info:
  title: mag3nt API
  version: '2026-06-04'
  description: >
    Payment infrastructure for AI agents. Issue virtual cards, pay for API
    access via x402/AP2/MPP protocols, and settle in USDC on Base.
  contact:
    name: mag3nt
    url: https://mag3nt.com
  license:
    name: Proprietary
    url: https://github.com/mag3nt-com/mag3nt-node/blob/main/LICENSE
servers:
  - url: https://mag3nt.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Payments
    description: Universal outbound protocol payments
  - name: Cards
    description: Virtual payment card lifecycle
  - name: Keys
    description: Developer API key management
  - name: Funding
    description: Treasury deposits and balances
  - name: x402
    description: HTTP 402 payment protocol
  - name: AP2
    description: Agent-to-Agent Payment Protocol
  - name: MPP
    description: Micropayment Protocol with streaming
  - name: Pay Links
    description: Shareable payment URLs
  - name: Withdrawals
    description: Withdraw unspent funds back to wallet
  - name: Settlement
    description: On-chain settlement status
  - name: Webhooks
    description: Signed payment.settled notifications for sellers
  - name: Status
    description: System health and configuration
externalDocs:
  description: mag3nt documentation
  url: https://docs.mag3nt.com
paths:
  /api/withdrawals:
    get:
      tags:
        - Withdrawals
      summary: List withdrawal history
      description: Returns up to 50 most recent withdrawals for the authenticated wallet.
      operationId: withdrawalsList
      parameters:
        - name: id
          in: query
          schema:
            type: string
          description: Look up a single withdrawal by ID
        - name: status
          in: query
          schema:
            type: string
            enum:
              - PROCESSING
              - COMPLETED
              - FAILED
          description: Filter by status
      responses:
        '200':
          description: Withdrawals list
          content:
            application/json:
              schema:
                type: object
                properties:
                  withdrawals:
                    type: array
                    items:
                      $ref: '#/components/schemas/Withdrawal'
components:
  schemas:
    Withdrawal:
      type: object
      properties:
        id:
          type: string
          example: wd_a1b2c3d4-...
        wallet_address:
          type: string
        chain:
          type: string
          enum:
            - eip155
            - solana
        asset:
          type: string
          example: USDC
        network:
          type: string
          example: eip155:8453
        amount:
          type:
            - number
            - string
          description: Gross amount deducted from balance (includes fee)
        fee_amount:
          type:
            - number
            - string
          description: Platform withdrawal fee
        to_address:
          type: string
        status:
          type: string
          enum:
            - PROCESSING
            - COMPLETED
            - FAILED
        tx_hash:
          type:
            - string
            - 'null'
          description: On-chain transaction hash (populated on completion)
        created_at:
          type: string
          format: date-time
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: API key prefixed with 'Bearer sx_live_...'

````