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

# Fund Card

> Add funds to a card

Adds funds to an existing card. The amount is deducted from your partner wallet.

<ParamField header="Authorization" type="string" required>
  Bearer token. Example: `Bearer sk_staging_your_api_key`
</ParamField>

<ParamField header="idempotency-key" type="string" required>
  A unique key to ensure the request is processed only once. Use a UUID v4.
</ParamField>

<ParamField body="serviceCardId" type="string" required>
  The card's service ID.
</ParamField>

<ParamField body="amount" type="number" required>
  Amount to fund in USD. Must be between 5 and 10000.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST https://services-staging.getplu.com/api/v1/partner/card/fund \
    -H "Authorization: Bearer sk_staging_your_api_key" \
    -H "Content-Type: application/json" \
    -H "idempotency-key: 660e8400-e29b-41d4-a716-446655440001" \
    -d '{
      "serviceCardId": "acme-card-xyz789jkl012mno",
      "amount": 100
    }'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://services-staging.getplu.com/api/v1/partner/card/fund',
    {
      method: 'POST',
      headers: {
        'Authorization': 'Bearer sk_staging_your_api_key',
        'Content-Type': 'application/json',
        'idempotency-key': '660e8400-e29b-41d4-a716-446655440001',
      },
      body: JSON.stringify({
        serviceCardId: 'acme-card-xyz789jkl012mno',
        amount: 100,
      }),
    }
  );
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "status": "success",
    "message": "Card funded successfully",
    "data": {}
  }
  ```

  ```json 402 theme={null}
  {
    "status": "error",
    "message": "INSUFFICIENT_WALLET_BALANCE",
    "data": {
      "error": "Partner wallet has insufficient funds"
    }
  }
  ```

  ```json 400 Idempotency theme={null}
  {
    "status": "error",
    "message": "Idempotency key has already been used",
    "data": {
      "error": "Idempotency key has already been used"
    }
  }
  ```

  ```json 404 theme={null}
  {
    "status": "error",
    "message": "CARD_NOT_FOUND",
    "data": {
      "error": "Card not found"
    }
  }
  ```
</ResponseExample>

<Note>
  Minimum funding amount is **$5**. Maximum is **$10,000** per transaction. A funding fee may apply based on your partner fee configuration.
</Note>

<Warning>
  This endpoint is only available for **float** cards. Crypto cards can only be funded by on-chain stablecoin deposits to the card's `depositAddress`, on one of the chain/token pairs listed in its `supportedNetworks` (see [Supported networks](/webhooks#supported-networks)). Attempting to fund a crypto card via this endpoint returns a `400 CRYPTO_CARD_FUND_BLOCKED` error.
</Warning>
