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

# Request Virtual Account

> Create a new virtual account for fiat to crypto conversion

Virtual accounts provide a way to receive funds from traditional banking systems. They are automatically linked to your smart account and enable fiat-to-crypto conversion.

## Virtual Account Flow

```mermaid theme={null}
sequenceDiagram
    participant Client
    participant Grid
    participant Bank

    Client->>Grid: POST /accounts/{address}/virtual-account
    Note over Client,Grid: Request virtual account
    Grid-->>Client: Return account details

    Bank->>Grid: Send funds
    Note over Bank,Grid: Funds received
    Grid-->>Client: Update balance
```

## Supported Features

* **Fiat Deposits**: Receive traditional currency deposits
* **Auto-Conversion**: Automatically convert to stablecoins
* **Multi-Currency**: Support for USD, EUR, and other currencies
* **Real-Time Updates**: Instant balance notifications

## Important Notes

* KYC verification is required before creating virtual accounts
* Each currency requires a separate virtual account
* Account details include routing and account numbers
* Deposits typically process within 1-3 business days
* Virtual accounts remain active until explicitly deactivated


## OpenAPI

````yaml POST /api/grid/v1/accounts/{address}/virtual-account
openapi: 3.1.0
info:
  title: Grid v1 API
  description: Grid v1 REST API for Solana-based smart account system
  contact:
    name: Grid API Support
    url: https://squads.so
    email: support@squads.so
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://grid.squads.xyz
    description: Production server
security:
  - bearer_auth: []
tags:
  - name: accounts
    description: Smart account management operations
  - name: spending-limits
    description: Spending limit management
  - name: standing-orders
    description: Standing order operations
  - name: transactions
    description: Transaction management
  - name: trade
    description: Trade operations and management
  - name: payments
    description: Payment intent operations
  - name: passkeys
    description: Passkey management
  - name: kyc
    description: Know Your Customer operations
  - name: external-accounts
    description: External bank account management
  - name: virtual-accounts
    description: Virtual account management
  - name: auth
    description: Authentication operations
  - name: proposals
    description: Proposal management for multi-sig operations
  - name: compliance
    description: Compliance entity management and KYB/KYC operations
paths:
  /api/grid/v1/accounts/{address}/virtual-account:
    post:
      tags:
        - virtual-accounts
      summary: Request a virtual account for a smart account
      description: >-
        Create a virtual account for off-chain transactions associated with a
        smart account
      operationId: handler
      parameters:
        - name: address
          in: path
          description: Smart account address
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequestVirtualAccountRequestPayload'
        required: true
      responses:
        '200':
          description: Virtual account created successfully
        '400':
          description: Invalid request payload
        '404':
          description: Smart account not found
        '500':
          description: Internal server error
      security:
        - bearer_auth: []
components:
  schemas:
    RequestVirtualAccountRequestPayload:
      type: object
      required:
        - currency
      properties:
        currency:
          type: string
        grid_user_id:
          type:
            - string
            - 'null'
          format: uuid
          description: >-
            (Deprecated) User ID is derived automatically from the smart account
            address.

            This field is optional and only validated if provided.
          deprecated: true
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      description: Your Grid API key from the Grid Dashboard

````