# Fund a wallet

> Fund a Moov wallet from a bank account, card, or another wallet: when the funds become available, and the transfer to create.

> AI agents: search and read all Moov docs with the docs MCP server at https://docs.moov.io/mcp (no API key). Setup: https://docs.moov.io/guides/developer-tools/mcp-ai/docs-mcp/index.md

Fund a Moov wallet by creating a transfer with the wallet as the destination. Pre-funding a wallet lets you send payouts and spend on issued cards without waiting on a bank debit.

**Before you start**

- The account has the `wallet.balance` [capability](/guides/accounts/capabilities/reference/index.md)
- To fund from a bank account: a [verified bank account](/guides/sources/bank-accounts/verification/index.md), which gives you the `ach-debit-fund` payment method
- To fund from a card: the destination account has `collect-funds.card-payments` and a [linked card](/guides/accept-payments/cards/online/index.md)

## When funds are available

| Source         | Source payment method | Funds available in the wallet                                                                                                      |
|----------------|-----------------------|------------------------------------------------------------------------------------------------------------------------------------|
| Bank account   | `ach-debit-fund`      | 2 banking days with standard processing; same day with [faster ACH](/guides/ach/ach-processing-speeds/index.md#faster-same-day-processing) |
| Another wallet | `moov-wallet`         | Immediately                                                                                                                        |
| Card           | `card-payment`        | Next banking day (see [card settlement timing](/guides/accept-payments/cards/timing/index.md))                                             |

An interactive schedule for this flow renders here in a browser. The same timing is in [timing by rail](/guides/money-movement/index.md#timing-by-rail).

> **Note:** Moov may temporarily hold funds for review to protect against fraud and chargebacks, for example on a new account with limited history, on unusually high volume compared to typical activity, or for higher-risk business types. [Contact Moov](https://support.moov.io/) with questions about a hold.

## Fund a wallet

Create a [transfer](/api/money-movement/transfers/create/index.md) whose destination is the wallet's `moov-wallet` payment method. The source sets the timing above: `ach-debit-fund` for a bank account, `card-payment` for a card, or another wallet's `moov-wallet`. Get both payment method IDs with the list payment methods [endpoint](/api/sources/payment-methods/list/index.md).

**cURL**

```zsh
curl -X POST "https://api.moov.io/accounts/{accountID}/transfers" \
  -H "Authorization: Bearer {token}" \
  -H "x-idempotency-key: UUID" \
  -H "X-Wait-For: rail-response" \
  -H "x-moov-version: v2026.07.00" \
  --data-raw '{
    "amount": {
      "value": 100,
      "currency": "USD"
    },
    "destination": {
      "paymentMethodID": "string"
    },
    "source": {
      "paymentMethodID": "string"
    },
    "description": "Optional transaction description."
  }'
```

**Go SDK**

```go
mc, _ := moov.NewClient()

var accountID string // Partner account

mc.CreateTransfer(ctx, accountID, moov.CreateTransfer{
  Amount: moov.Amount{
    Currency: "USD",
    Value:    100, // $1.00
  },
  Destination: moov.CreateTransfer_Destination{
    PaymentMethodID: "string",
  },
  Source: moov.CreateTransfer_Source{
    PaymentMethodID: "string",
  },
  Description: "Optional transaction description.",
})
```

**TypeScript**

```typescript
const result = await moov.transfers.create({
  xIdempotencyKey: "d6903402-776f-48d6-8fba-0358959d34e5",
  accountID: "ea9f2225-403b-4e2c-93b0-0eda090ffa65",
  createTransfer: {
    source: {
      paymentMethodID: "9506dbf6-4208-44c3-ad8a-e4431660e1f2",
    },
    destination: {
      paymentMethodID: "3f9969cf-a1f3-4d83-8ddc-229a506651cf",
    },
    amount: {
      currency: "USD",
      value: 32945,
    },
    description: "Transfer from card to wallet",
    metadata: {
      "optional": "metadata",
    },
    amountDetails: {
      tip: {
        currency: "USD",
        valueDecimal: "3.50",
      },
      tax: {
        currency: "USD",
        valueDecimal: "8.25",
      },
    },
  },
});
```

**Python**

```python
res = moov.transfers.create(x_idempotency_key="d6903402-776f-48d6-8fba-0358959d34e5", account_id="ea9f2225-403b-4e2c-93b0-0eda090ffa65", source={
    "payment_method_id": "9506dbf6-4208-44c3-ad8a-e4431660e1f2",
}, destination={
    "payment_method_id": "3f9969cf-a1f3-4d83-8ddc-229a506651cf",
}, amount={
    "currency": "USD",
    "value": 32945,
}, facilitator_fee={
    "total_decimal": "12.987654321",
    "markup_decimal": "0.987654321",
}, description="Transfer from card to wallet", metadata={
    "optional": "metadata",
}, line_items={
    "items": [
        {
            "name": "<value>",
            "base_price": {
                "currency": "USD",
                "value_decimal": "12.987654321",
            },
            "quantity": 666094,
            "options": [
                {
                    "name": "<value>",
                    "quantity": 611009,
                    "price_modifier": {
                        "currency": "USD",
                        "value_decimal": "12.987654321",
                    },
                },
            ],
        },
    ],
}, amount_details=components.CreateTransferAmountDetails(
    tip=components.AmountDecimal(
        currency="USD",
        value_decimal="3.50",
    ),
    tax=components.AmountDecimal(
        currency="USD",
        value_decimal="8.25",
    ),
))
```

**Ruby**

```ruby
res = s.transfers.create(x_idempotency_key: 'd6903402-776f-48d6-8fba-0358959d34e5', account_id: 'ea9f2225-403b-4e2c-93b0-0eda090ffa65', create_transfer: Models::Components::CreateTransfer.new(
  source: Models::Components::CreateTransferSource.new(
    payment_method_id: '9506dbf6-4208-44c3-ad8a-e4431660e1f2'
  ),
  destination: Models::Components::CreateTransferDestination.new(
    payment_method_id: '3f9969cf-a1f3-4d83-8ddc-229a506651cf'
  ),
  amount: Models::Components::Amount.new(
    currency: 'USD',
    value: 32_945
  ),
  description: 'Transfer from card to wallet',
  metadata: {
    'optional' => 'metadata',
  },
  amount_details: Models::Components::CreateTransferAmountDetails.new(
    tip: Models::Components::AmountDecimal.new(
      currency: 'USD',
      value_decimal: '3.50'
    ),
    tax: Models::Components::AmountDecimal.new(
      currency: 'USD',
      value_decimal: '8.25'
    )
  )
))
```

**Java**

```java
CreateTransferResponse res = sdk.transfers().create()
        .xIdempotencyKey("d6903402-776f-48d6-8fba-0358959d34e5")
        .accountID("ea9f2225-403b-4e2c-93b0-0eda090ffa65")
        .createTransfer(CreateTransfer.builder()
            .source(CreateTransferSource.builder()
                .paymentMethodID("9506dbf6-4208-44c3-ad8a-e4431660e1f2")
                .build())
            .destination(CreateTransferDestination.builder()
                .paymentMethodID("3f9969cf-a1f3-4d83-8ddc-229a506651cf")
                .build())
            .amount(Amount.builder()
                .currency("USD")
                .value(32945L)
                .build())
            .description("Transfer from card to wallet")
            .metadata(Map.ofEntries(
                Map.entry("optional", "metadata")))
            .amountDetails(CreateTransferAmountDetails.builder()
                .tip(AmountDecimal.builder()
                    .currency("USD")
                    .valueDecimal("3.50")
                    .build())
                .tax(AmountDecimal.builder()
                    .currency("USD")
                    .valueDecimal("8.25")
                    .build())
                .build())
            .build())
        .call();
```

**.NET**

```csharp
var res = await sdk.Transfers.CreateAsync(
    xIdempotencyKey: "d6903402-776f-48d6-8fba-0358959d34e5",
    accountID: "ea9f2225-403b-4e2c-93b0-0eda090ffa65",
    body: new CreateTransfer() {
        Source = new CreateTransferSource() {
            PaymentMethodID = "9506dbf6-4208-44c3-ad8a-e4431660e1f2",
        },
        Destination = new CreateTransferDestination() {
            PaymentMethodID = "3f9969cf-a1f3-4d83-8ddc-229a506651cf",
        },
        Amount = new Amount() {
            Currency = "USD",
            Value = 32945,
        },
        Description = "Transfer from card to wallet",
        Metadata = new Dictionary<string, string>() {
            { "optional", "metadata" },
        },
        AmountDetails = new CreateTransferAmountDetails() {
            Tip = new AmountDecimal() {
                Currency = "USD",
                ValueDecimal = "3.50",
            },
            Tax = new AmountDecimal() {
                Currency = "USD",
                ValueDecimal = "8.25",
            },
        },
    }
);
```

**PHP**

```php
$createTransfer = new Components\CreateTransfer(
    source: new Components\CreateTransferSource(
        paymentMethodID: '9506dbf6-4208-44c3-ad8a-e4431660e1f2',
    ),
    destination: new Components\CreateTransferDestination(
        paymentMethodID: '3f9969cf-a1f3-4d83-8ddc-229a506651cf',
    ),
    amount: new Components\Amount(
        currency: 'USD',
        value: 32945,
    ),
    description: 'Transfer from card to wallet',
    metadata: [
        'optional' => 'metadata',
    ],
    amountDetails: new Components\CreateTransferAmountDetails(
        tip: new Components\AmountDecimal(
            currency: 'USD',
            valueDecimal: '3.50',
        ),
        tax: new Components\AmountDecimal(
            currency: 'USD',
            valueDecimal: '8.25',
        ),
    ),
);

$response = $sdk->transfers->create(
    xIdempotencyKey: 'd6903402-776f-48d6-8fba-0358959d34e5',
    accountID: 'ea9f2225-403b-4e2c-93b0-0eda090ffa65',
    createTransfer: $createTransfer

);
```

The [fund and spend from a wallet](/guides/get-started/recipes/wallet-funding/index.md) recipe walks through it end to end, from checking the balance to paying out.

## Next steps

- [Send payouts](/guides/get-started/recipes/bank-payout/index.md)
- [Issue cards](/guides/issue-cards/index.md)
- [Automate settlement with sweeps](/guides/wallets/sweeps/index.md)
- [Manage wallet balance](/guides/wallets/balance/index.md)

