# Load Wallet

Users can load their wallet from their linked bank and card accounts. To do so, “type” must be specified as “LOAD” for load transfers.

**`POST /users/{{userId}}/funds/{{wallet_id}}/transfers`**

{% hint style="info" %}
Supports Idempotency Key as part of header to avoid duplicate transaction. If you are creating a transaction with the same request and the same idempotency key again, the endpoint will consider this a duplicate request. It will not create a new transaction but will instead provide details of the initial transaction in the response. ​&#x20;

**Response:**&#x20;

200 if a transaction is successfully created or transaction with the same idempotency key and request was created earlier&#x20;

400 if the idempotency key is greater than 255 char&#x20;

409 if the idempotency key is the same but the request is different
{% endhint %}

{% tabs %}
{% tab title="Request Sample" %}

```
curl --location -g --request POST '{{url}}/users/{{userId}}/funds/{{wallet_id}}/transfers' \
--header 'X-Client-Id: {{client_id}}' \
--header 'X-Client-Secret:{{client_secret}} ' \
--header 'Content-Type: application/json' \
--header 'X-Idempotency-Key: idempotencykey' \
--data-raw {
  "amount": 50,
  "fee_amount": 0,
  "note": "Sample Note",
  "currency": "USD",
  "ip_address": "10.10.10.5",
  "from_fund_id": "d71aa720-3948-4975-a2cd-f5ad977f2f02",
  "type": "LOAD"
}
```

{% endtab %}

{% tab title="Response Sample" %}

```
{
    "amount": 50,
    "currency": "USD",
    "fee_amount": 0,
    "from_fund_id": "bbee9d73-35d8-4ac0-8862-01bb89e6cadc",
    "id": "56a635be-48ea-48fa-a8c7-24b0c2cdbb30",
    "ip_address": "10.10.10.5",
    "note": "Sample Note",
    "status": "INITIATED",
    "to": {
        "fund_id": "ad82cebb-9ca3-4f2a-a1de-27f004b838bd",
        "id": "3e626447-cc80-4cd0-89e7-19001f939ee4"
    },
    "type": "LOAD",
    "user_id": "3e626447-cc80-4cd0-89e7-19001f939ee4"
}
```

{% endtab %}
{% endtabs %}
