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

# Request a withdrawal to bank

> Initiates a withdrawal from a managed wallet toward a registered bank account.
Converts on-chain balance to fiat per your integration settings.




## OpenAPI

````yaml post /wallet-infra/withdraw
openapi: 3.0.0
info:
  title: Prudra API
  version: 1.0.0
  description: |-
    The Infrastructure Layer for Enterprise AI Agents.

    **Base URL:** `https://api.prudra.dev`

    **Authentication:** All endpoints require a Bearer token.
    Pass your API key in the `Authorization` header:
    `Authorization: Bearer prv_live_sk_...`

    Use `prv_test_sk_...` keys for development.
    Test keys accept `PAYMENT_STUB_MODE` payments.
  contact:
    name: Prudra Support
    email: support@prudra.com
    url: https://prudra.com
servers:
  - url: https://api.prudra.dev
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Payments
    description: Payment verification and challenge generation
  - name: Sessions
    description: Multi-step session payment management
  - name: Vaults
    description: Persistent agent workspace storage
  - name: Wallets
    description: Managed wallet provisioning and BYO wallet registration
  - name: Transfers
    description: Token transfers between addresses
  - name: Withdrawals
    description: Fund withdrawals to bank accounts
  - name: Webhooks
    description: Outbound event delivery
  - name: Billing
    description: Usage monitoring and plan management
  - name: Organisation
    description: API key and organisation management
  - name: Account
    description: Account profile and organisation payment logs
  - name: Registry
    description: Pay-walled route registry snapshots
  - name: Chains
    description: Supported chain and token metadata
  - name: Organisation wallet
    description: Legacy Tempo receiving wallet (single wallet per org)
paths:
  /wallet-infra/withdraw:
    post:
      tags:
        - Withdrawals
      summary: Request a withdrawal to bank
      description: >
        Initiates a withdrawal from a managed wallet toward a registered bank
        account.

        Converts on-chain balance to fiat per your integration settings.
      operationId: requestWithdrawal
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - fromWalletId
                - fromWalletType
                - amount
                - token
                - chain
              properties:
                fromWalletId:
                  type: string
                fromWalletType:
                  type: string
                  enum:
                    - master
                    - child
                amount:
                  type: string
                  example: '100.00'
                token:
                  type: string
                  example: USDC
                chain:
                  type: string
                bankAccountId:
                  type: string
                reference:
                  type: string
      responses:
        '201':
          description: Withdrawal initiated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WithdrawalResult'
components:
  schemas:
    WithdrawalResult:
      type: object
      properties:
        id:
          type: string
          example: wdr_abc123
        status:
          type: string
          example: pending_conversion
        txHash:
          type: string
          example: 0xabc...
        amount:
          type: string
          example: '100.00'
        token:
          type: string
          example: USDC
        chain:
          type: string
          example: base
        estimatedDays:
          type: integer
          example: 3
        reference:
          type: string
          example: WD-1234567890
        createdAt:
          type: string
          format: date-time
      required:
        - id
        - status
        - txHash
        - amount
        - token
        - chain
        - estimatedDays
        - reference
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: Prudra API Key
      description: Your Prudra API key. Get one at dashboard.prudra.com/settings/api-keys

````