# Cash out a wallet

> Cash out a Moov wallet to a verified bank account with ACH or an instant payout: when each rail delivers, 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

Cash out a Moov wallet by creating a transfer from the wallet to a linked bank account. To cash out automatically every day, set up [sweeps](/guides/wallets/sweeps/index.md) instead.

**Before you start**

- The account has a `send-funds` [capability](/guides/accounts/capabilities/reference/index.md) for the rail you'll use (`send-funds.ach` or `send-funds.instant-bank`)
- A [linked bank account](/guides/sources/bank-accounts/link-bank-accounts/index.md) on the receiving account
- Enough `availableBalance` in the wallet to cover the amount and any [payout fee](/guides/send-payments/payout-fees/index.md)

## Choose a speed

| Destination payment method | Funds arrive                                              | Details                                                             |
|----------------------------|-----------------------------------------------------------|---------------------------------------------------------------------|
| `instant-bank-credit`      | Seconds, 24/7/365 (RTP or FedNow)                         | [Instant payouts](/guides/send-payments/instant-payments/index.md)          |
| `ach-credit-same-day`      | End of the same banking day, if created before the cutoff | [ACH cutoff times](/guides/ach/ach-processing-speeds/index.md#cutoff-times) |
| `ach-credit-standard`      | Next banking day                                          | [ACH processing speed](/guides/ach/ach-processing-speeds/index.md)          |

`rtp-credit` also appears on eligible bank accounts, but use `instant-bank-credit` instead (`rtp-credit` will be deprecated). Per-transfer limits are in [transfer limits](/guides/money-movement/payment-methods/index.md#transfer-limits).

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).

## Cash out with the API

Create a [transfer](/api/money-movement/transfers/create/index.md) from the wallet's `moov-wallet` payment method to the bank account's payment method for the speed you picked: `instant-bank-credit`, `ach-credit-same-day`, or `ach-credit-standard`. 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 transfer is `completed` when the bank account has been credited; subscribe to `transfer.updated` to follow it. Until an ACH credit originates, you can [cancel it](/guides/ach/cancellations/index.md); instant payouts are final once sent. The [pay out to a bank account](/guides/get-started/recipes/bank-payout/index.md) recipe walks through it end to end, including verifying the bank account and handling returns.

To cash out from the Dashboard, [create a transfer](/guides/money-movement/manage-transfers/index.md#create-a-transfer) with the wallet as the source.

## Next steps

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

