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

# Create Deposit

> Resolves a deposit destination and returns the on-chain addresses that can fund it. No authentication is required; any business can be resolved by its account ID.



## OpenAPI

````yaml /openapi/api-v1-native.yml post /deposits
openapi: 3.1.0
info:
  title: Whop API
  description: >-
    Hand-written V1 endpoints. Merged into the GraphqlRestProxy-generated schema
    at build time.
  version: v1
servers:
  - url: https://{defaultHost}
    variables:
      defaultHost:
        default: api.whop.com/api/v1
security: []
paths:
  /deposits:
    post:
      tags:
        - Deposits
      summary: Create Deposit
      description: >-
        Resolves a deposit destination and returns the on-chain addresses that
        can fund it. No authentication is required; any business can be resolved
        by its account ID.
      operationId: createDeposit
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: number
                  description: Amount to prefill on hosted deposit page.
                destination:
                  oneOf:
                    - type: string
                    - type: object
                      properties:
                        account_id:
                          type: string
                          description: Destination account ID.
                        address:
                          type: string
                          description: Destination wallet address.
                        network:
                          type: string
                          description: Destination wallet network.
                  description: >-
                    Destination account ID or wallet address. Object form is
                    supported for compatibility.
                network:
                  type:
                    - string
                    - 'null'
                  description: Destination network override.
                metadata:
                  type: object
                  additionalProperties: true
                  description: Metadata to include with the deposit response.
              required:
                - destination
        required: true
      responses:
        '201':
          description: deposit created
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    enum:
                      - deposit
                  amount:
                    type: string
                    description: Requested deposit amount.
                  account_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Account ID of the destination owner. Null for raw wallet
                      address destinations.
                  hosted_url:
                    type:
                      - string
                      - 'null'
                    description: >-
                      URL of the hosted deposit page. Only present for business
                      destinations.
                  methods:
                    type: object
                    description: Available deposit methods for destination.
                    properties:
                      bank:
                        type:
                          - object
                          - 'null'
                        description: >-
                          Bank deposit details. Only present when bank deposits
                          are active for the destination account.
                        properties:
                          currencies:
                            type: array
                            description: >-
                              Bank transfer currencies available for this
                              deposit.
                            items:
                              type: object
                              properties:
                                currency:
                                  type: string
                                  description: >-
                                    Currency supported by these bank
                                    instructions.
                                account_number:
                                  type:
                                    - string
                                    - 'null'
                                  description: >-
                                    Bank account number for deposits in this
                                    currency.
                                routing_number:
                                  type:
                                    - string
                                    - 'null'
                                  description: >-
                                    Bank routing number for deposits in this
                                    currency.
                                deposit_bank_name:
                                  type:
                                    - string
                                    - 'null'
                                  description: Receiving bank name.
                                deposit_beneficiary_name:
                                  type:
                                    - string
                                    - 'null'
                                  description: Beneficiary name to use for transfer.
                                deposit_reference:
                                  type:
                                    - string
                                    - 'null'
                                  description: Reference to include with bank transfer.
                                rails:
                                  type: array
                                  items:
                                    type: string
                                  description: >-
                                    Active deposit rails for this currency, such
                                    as `ach`, `wire`, or `sepa`.
                              required:
                                - currency
                                - account_number
                                - routing_number
                                - deposit_bank_name
                                - deposit_beneficiary_name
                                - deposit_reference
                                - rails
                        required:
                          - currencies
                      crypto:
                        type: array
                        description: >-
                          Crypto networks available for this deposit, each with
                          its on-chain deposit address and the tokens accepted
                          on that network.
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                              description: >-
                                Network display name, such as `Ethereum` or
                                `Solana`.
                            deposit_address:
                              type:
                                - string
                                - 'null'
                              description: >-
                                Address to send funds to on this network. Null
                                when the provider has not issued one yet.
                            icon_url:
                              type:
                                - string
                                - 'null'
                              description: Network icon URL.
                            supported_currencies:
                              type: array
                              description: Tokens accepted for deposit on this network.
                              items:
                                type: object
                                properties:
                                  name:
                                    type: string
                                    description: Token symbol, such as `USDC`.
                                  icon_url:
                                    type:
                                      - string
                                      - 'null'
                                    description: >-
                                      Token icon URL. Null when no icon is
                                      available.
                                required:
                                  - name
                                  - icon_url
                          required:
                            - name
                            - deposit_address
                            - icon_url
                            - supported_currencies
                    required:
                      - bank
                      - crypto
                  metadata:
                    type: object
                    additionalProperties: true
                    description: Metadata from the request.
                required:
                  - object
                  - account_id
                  - hosted_url
                  - methods
                  - metadata
        '400':
          $ref: '#/components/responses/InvalidParameters'
          description: request is invalid
components:
  responses:
    InvalidParameters:
      description: Invalid Parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/V1ErrorResponse'
  schemas:
    V1ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              description: Machine-readable error code.
            message:
              type: string
              description: Human-readable error message.
          required:
            - type
            - message
      required:
        - error

````