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

# Post apiv1accountfund



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/account/fund
openapi: 3.1.0
info:
  title: ekiden-gateway
  description: >-
    API Gateway and WebSocket proxy based on Axum and Utoipa, handling auth,
    rate limiting, and connection buffering.
  license:
    name: ''
  version: 0.1.1
servers:
  - url: https://api.ekiden.fi/
    description: Production
  - url: https://api.staging.ekiden.fi/
    description: Staging
  - url: https://api.dev.ekiden.fi/
    description: Development
  - url: http://localhost:4020/
    description: Local
security: []
paths:
  /api/v1/account/fund:
    post:
      tags:
        - Account
      operationId: fund
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FundRequest'
        required: true
      responses:
        '200':
          description: Funding request successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FundResult'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    FundRequest:
      type: object
      required:
        - receiver
        - metadatas
        - amounts
      properties:
        amounts:
          type: array
          items:
            type: integer
            format: int64
            minimum: 0
        metadatas:
          type: array
          items:
            type: string
        receiver:
          type: string
        request_id:
          type:
            - string
            - 'null'
    FundResult:
      type: object
      required:
        - txid
      properties:
        txid:
          type: string
    ErrorResponse:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
        message:
          type: string
        reset_time:
          type:
            - integer
            - 'null'
          format: int64
          minimum: 0
        retry_after:
          type:
            - string
            - 'null'

````