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

# Payment Methods

> Save, list, default, and remove the cards that fund your virtual cards

Saved payment methods are charged **only for flight bookings** — virtual cards are funded from your balance (`agent-cards fund`). Manage them with the `agent-cards payment-method` command group (singular `payment-method`).

## Save a payment method

```bash theme={null}
agent-cards payment-method setup
```

Opens a secure Stripe checkout URL — save your card there. Once saved, it's used automatically when you create cards.

## List saved methods

```bash theme={null}
agent-cards payment-method list
```

Shows each method's ID, brand, last four, and expiry, and marks which one is the default.

## Set the default

```bash theme={null}
agent-cards payment-method default            # prompts you to choose
agent-cards payment-method default <id>       # set a specific method
```

The default payment method is the one charged when you book a flight.

## Remove a method

```bash theme={null}
agent-cards payment-method remove                  # prompts you to choose
agent-cards payment-method remove --id <id>        # remove a specific method
```
