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

# Fund card

> Move funds from merchant wallet onto the card. Scope: `virtual-cards:write`. Requires `Idempotency-Key`.



## OpenAPI

````yaml POST /api/v1/merchant/virtual-cards/{id}/fund
openapi: 3.1.0
info:
  title: SendPadi Merchant API
  version: 1.0.0
  description: >-
    Merchant REST API. Authenticate with HMAC headers (`X-Api-Key`,
    `X-Timestamp`, `X-Signature`). Generate playground headers with [Sign
    requests (playground)](/guides/sign-requests).
servers:
  - url: https://api.sendpadi.com
    description: Production (test + live keys)
security: []
paths:
  /api/v1/merchant/virtual-cards/{id}/fund:
    post:
      tags:
        - virtual-cards
      summary: Fund card
      description: >-
        Move funds from merchant wallet onto the card. **Scope:**
        `virtual-cards:write`. Requires `Idempotency-Key` on this write.
      operationId: api-reference_virtual-cards_fund-card
      parameters:
        - name: X-Timestamp
          in: header
          required: true
          description: Unix time in seconds
          schema:
            type: string
        - name: X-Signature
          in: header
          required: true
          description: HMAC-SHA256 signature
          schema:
            type: string
        - name: Idempotency-Key
          in: header
          required: true
          description: UUID. Required on money-moving writes.
          schema:
            type: string
            format: uuid
        - name: id
          in: path
          required: true
          description: id path parameter
          schema:
            type: string
          example: tr_001
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: integer
              required:
                - amount
            example:
              amount: 25
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                success: true
                message: OK
                data:
                  amount: 25
                  currency: USD
                  status: completed
              examples:
                success:
                  summary: Success
                  value:
                    success: true
                    message: OK
                    data:
                      amount: 25
                      currency: USD
                      status: completed
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: API key id (sp_test_… / sp_live_…)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.