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

# Fund Account

> Funds an account with the specified amount.



## OpenAPI

````yaml openapi.json post /accounts/simulator/fund
openapi: 3.1.0
info:
  title: Sudo Sandbox API
  version: '1.0'
servers:
  - url: https://api.sandbox.sudo.cards
security:
  - sec0: []
paths:
  /accounts/simulator/fund:
    post:
      summary: Fund Account
      description: Funds an account with the specified amount.
      operationId: fund-account
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - amount
              properties:
                accountId:
                  type: string
                  description: >-
                    The `_id` of the account you wish to fund. Required if you
                    wish to fund account using the id.
                amount:
                  type: number
                  description: The amount to add to account.
                  default: 100
                  format: float
                bankCode:
                  type: string
                  description: >-
                    The bank code of the specified account. Required if you wish
                    to fund account using the account number.
                accountNumber:
                  type: string
                  description: >-
                    The number of the specified account. Required if you wish to
                    fund account using the account number.
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: Authorization
      x-bearer-format: bearer
      x-default: '{{APIKey}}'

````