> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mitu.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mitu.ai/_mcp/server.

# Agent wallets

As people hand more of their everyday tasks to AI agents, those agents increasingly need to pay for things, from booking travel to ordering supplies or paying for a service. Giving an agent a customer's card or account password would be unsafe, and asking the customer to step in for every payment would defeat the purpose of delegating the task.

Agent wallets give customers a safe way to let their agents pay without either of these compromises. Your business issues a wallet to a customer, the customer funds it, and their agent can pay from it whenever a task requires payment. The funds always belong to the customer, and every payment is checked against limits you control, so customers can delegate with confidence and your business stays in control of how the wallet is used.

Each wallet involves three parties, each with a clearly defined role.

| Party         | Role                                                                                                                      |
| ------------- | ------------------------------------------------------------------------------------------------------------------------- |
| Your customer | Owns the wallet and funds it. Only they decide how much to add, and they approve payments above the limits you set.       |
| Your business | Issues the wallet, sets its limits and collects the customer's decision on any payment that needs approval.               |
| The agent     | Pays from the wallet within its limits. It can never change a limit, withdraw the funds or use another customer's wallet. |

## Where agent wallets fit

1. **Products where agents act for customers over time**\
   Travel, procurement, research and any product where an agent completes tasks that involve paying.
2. **Customers who want control**\
   Customers who are comfortable letting an agent pay, but only within limits and with approval for larger amounts.
3. **Several purposes for one customer**\
   A customer can hold several wallets, such as Travel and Office, each with its own balance and limits.

## Issuing wallets to your customers

#### Turn on agent wallets

In the [Mitu dashboard](https://app.mitu.ai), make sure **Give agents a wallet** is enabled for your [agent service](/platform/your-agent-service/overview). Wallets are then managed under **Customers** and **Wallets** in the **Agents** area.

#### Connect your customers

A wallet belongs to one customer, so Mitu must know which customer an agent is acting for before it can pay. Customers can sign in with [your OAuth](/platform/your-agent-service/integration/authentication/oauth) using the account they already hold, or connect with a [customer key](/platform/your-agent-service/integration/authentication/customer-keys) you issue.

#### Issue a wallet

Create a wallet for the customer from **Wallets** in the dashboard, or through the API when your product issues wallets as part of its own flow. Name each wallet after its purpose, so both the customer and their agent know when to use it.

```bash
curl --request POST \
  --url https://api.mitu.ai/v1/customers/cus_ds9hazr8jd3l/wallets \
  --header "x-api-key: $MITU_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "name": "Travel",
    "limits": { "per_payment": 250, "monthly": 2000, "approve_above": 150 }
  }'
```

#### Set spending limits

Limits define how far an agent can go without the customer. You can cap a single payment and the total spent in a day or a month, and require approval for any payment above an amount you choose. Match each wallet's limits to how it will be used, for example generous limits on a travel wallet and tighter ones on a wallet for small routine purchases. [Wallets](/platform/your-agent-service/wallets) describes every limit in detail.

#### Let the customer fund it

The customer adds funds to the wallet in USDC, a stablecoin worth one US dollar, and the balance is available as soon as the deposit is confirmed. Because the funds belong to the customer, only they decide how much to add.

#### Let the agent pay

When a task requires payment, the customer's agent pays from the appropriate wallet, and every payment is checked against the wallet's limits before it goes through. These checks happen outside the agent, so it cannot bypass them.

#### Handle approvals

When a payment exceeds a limit, it is not refused. It waits for approval, and your systems are notified through [events](/platform/webhooks/events). Present the payment to your customer in your own product, confirm it is really them using the strongest method you already have, such as a passcode or biometrics, and record their decision. An approval that is not answered within 30 minutes lapses, and nobody is charged.

#### Monitor activity

The **Wallets** page shows every wallet, the funds held across them and any payments waiting for approval. To keep your own product in step, [configure a webhook](/guides/get-started/webhooks/configure-webhooks) for wallet events, such as funds being added or spent and approvals being requested. If activity on a wallet ever looks unexpected, freeze it through the API, which stops spending immediately while deposits continue to arrive.

Your customers can now let their agents pay on their behalf with confidence. The customer keeps ownership of their money, your business keeps control of how it can be spent, and the agent receives exactly the authority it needs to finish the task, and nothing more.