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

# Withdraw funds

> Converts your Circle-Match-only USDC balance to USD and wires it to the specified fiat account. This exit path is for mint-side participants only; burn-side USDC releases automatically when orders fill or are cancelled. No Circle Mint burn fee applies.



## OpenAPI

````yaml openapi/match.yaml post /v1/match/withdrawals
openapi: 3.1.0
info:
  title: Circle Match API
  description: >
    The Circle Match API provides endpoints for Circle Match, a periodic

    batch-auction venue that coordinates USDC burn demand with USDC mint demand

    for eligible Circle Mint customers.


    ## Authentication


    All REST endpoints require a Bearer token:


    ```

    Authorization: Bearer <API_KEY>

    ```


    ## WebSocket


    Real-time auction state and account events are delivered over a persistent

    WebSocket connection at `wss://api.circle.com/v1/match/ws` (production) or

    `wss://api-sandbox.circle.com/v1/match/ws` (sandbox).


    Obtain a short-lived ticket with `POST /v1/match/ws/ticket`, then pass two

    `Sec-WebSocket-Protocol` values in the upgrade request:


    - `circle-match.v1`

    - `ticket.<jwt>` — the ticket value, prefixed with `ticket.`


    After connection, subscribe to the `market` channel for public auction state

    or the `account` channel for private order and fill events. See the Circle

    Match WebSocket reference for the full protocol specification.


    ## Error codes


    | Code   | HTTP | Description |

    |--------|------|-------------|

    | 136001 | 400  | Auction locked — cancellations and less-competitive fee
    changes not accepted |

    | 136002 | 400  | Auction settling — try again after settlement completes |

    | 137001 | 400  | Insufficient available balance |

    | 137002 | 400  | Invalid wallet |

    | 137003 | 400  | Wallet not found |

    | 137004 | 409  | Idempotency key reused with different parameters |

    | 137005 | 400  | Fee change not more competitive during lock window |

    | 137006 | 409  | Self-match violation — open order on opposite side of same
    auction |

    | 137007 | 400  | Invalid fiat account |

    | 137008 | 400  | Maximum orders per auction reached |

    | 137009 | 400  | Transaction limit exceeded |

    | 137010 | 400  | Entity not eligible for Circle Match |

    | 138001 | 400  | Withdrawal amount exceeds available balance |

    | 138002 | 400  | Withdrawal request invalid |

    | 138003 | 404  | No Circle Match account found for this entity |

    | 138004 | 400  | Invalid withdrawal destination |

    | 139001 | 400  | Circle Match wallet invalid |
  version: 1.0.0
servers:
  - url: https://api.circle.com
    description: Production
  - url: https://api-sandbox.circle.com
    description: Sandbox
security:
  - BearerAuth: []
tags:
  - name: Account
    description: Account balance and activity summary
  - name: Orders
    description: Place, list, retrieve, cancel, and modify orders
  - name: Withdrawals
    description: Withdraw restricted mint-side USDC
  - name: WebSocket
    description: Obtain a WebSocket connection ticket
paths:
  /v1/match/withdrawals:
    post:
      tags:
        - Withdrawals
      summary: Withdraw funds
      description: >-
        Converts your Circle-Match-only USDC balance to USD and wires it to the
        specified fiat account. This exit path is for mint-side participants
        only; burn-side USDC releases automatically when orders fill or are
        cancelled. No Circle Mint burn fee applies.
      operationId: createWithdrawal
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WithdrawalRequest'
            example:
              idempotencyKey: 9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d
              amount:
                amount: '1000.00'
                currency: USD
              fiatAccountId: 550e8400-e29b-41d4-a716-446655440001
      responses:
        '201':
          description: Withdrawal submitted
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/Withdrawal'
              example:
                data:
                  id: 7a2b3c4d-5e6f-7890-abcd-ef1234567890
                  status: pending
        '400':
          description: >-
            Bad request. Error codes: `137001` — insufficient available balance;
            `137009` — transaction limit exceeded; `138001` — withdrawal amount
            exceeds available balance; `138002` — request invalid; `138004` —
            invalid destination.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No Circle Match account found for this entity (error 138003)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                code: 138003
                message: No Circle Match wallet found
components:
  schemas:
    WithdrawalRequest:
      type: object
      required:
        - idempotencyKey
        - amount
        - fiatAccountId
      properties:
        idempotencyKey:
          type: string
          format: uuid
          description: Unique UUID v4 per withdrawal request
          example: 9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d
        amount:
          allOf:
            - $ref: '#/components/schemas/Money'
          description: Amount to withdraw. Must be positive with currency USD.
        fiatAccountId:
          type: string
          format: uuid
          description: Fiat account that receives the USD wire
          example: 550e8400-e29b-41d4-a716-446655440001
    Withdrawal:
      type: object
      required:
        - id
        - status
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for this withdrawal
          example: 7a2b3c4d-5e6f-7890-abcd-ef1234567890
        status:
          type: string
          description: >-
            Current status of the withdrawal, passed through from the payout
            processor.
          example: pending
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          description: Circle error code
          example: 137001
        message:
          type: string
          description: Human-readable error description
          example: Insufficient available balance
    Money:
      type: object
      description: A monetary amount with its currency
      required:
        - amount
        - currency
      properties:
        amount:
          type: string
          description: Decimal amount as a string, rounded to 2 decimal places
          example: '500.00'
        currency:
          type: string
          description: ISO 4217 currency code
          example: USD
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````