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

# Wallets

Wallets allow your customers to delegate payments to their AI agents without sharing cards, bank details or account credentials. Each wallet belongs to one of your customers, who funds it, while you determine how it may be used. The customer's agent can then pay from the wallet whenever a task requires payment, always within the limits set on it and subject to approval for anything above them.

Wallets are available when **Give agents a wallet** is enabled for your [agent service](/platform/your-agent-service/overview), and are managed under **Customers** and **Wallets** in the **Agents** area of the [Mitu dashboard](https://app.mitu.ai) or through the API.

## What wallets provide

1. **Ownership stays with the customer**\
   Funds in a wallet belong to the customer at all times. The agent receives only the ability to pay within the limits set.
2. **Control stays with you**\
   You issue wallets, set their limits and decide which payments require approval, so spending always follows your rules.
3. **Separation by purpose**\
   A customer can hold several wallets, such as Travel and Office, each with its own balance and limits, so one purpose never draws on the funds of another.

## Issuing and managing a wallet

#### Issue the wallet

Issue a wallet to an existing customer, created in the dashboard, through the API or when they first sign in with your [OAuth](/platform/your-agent-service/integration/authentication/oauth). Name the wallet after its purpose so that 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": 500, "monthly": 3000, "approve_above": 750 }
  }'
```

#### Let the customer fund it

Each wallet has a deposit address on every supported network, which you present to the customer. Wallets accept USDC only, and deposits become available as soon as they are confirmed.

```http
GET /v1/wallets/{id}/addresses
```

#### Set its limits

Limits define how far an agent may act on its own. Any limit left unset is inherited from the customer's existing limits, and a limit set to zero is removed.

| Limit           | What it controls                                                               |
| --------------- | ------------------------------------------------------------------------------ |
| `per_payment`   | The largest single payment the agent can make.                                 |
| `session`       | The most the agent can spend in one session, currently each clock hour in UTC. |
| `daily`         | The most the wallet can spend in a day, in UTC.                                |
| `monthly`       | The most the wallet can spend in a calendar month, in UTC.                     |
| `approve_above` | The amount above which every payment waits for approval.                       |

Limits can be changed at any time through the wallet's spending policy, and current usage shows how much remains before each limit resets.

```http
PATCH /v1/wallets/{id}/policies/{policyId}
GET   /v1/wallets/{id}/policies/usage
```

#### Handle approvals

A payment that exceeds a limit is not refused. It waits for approval and appears under **Awaiting approval**, and your systems are notified through [events](/platform/webhooks/events). Present the payment to your customer, confirm their identity in the way your product already does, and record their decision.

```http
POST /v1/approvals/{id}/approve
POST /v1/approvals/{id}/reject
```

Approving does not move money by itself. The agent's next attempt completes the payment, only for the payee and amount that were approved, and an approval that is not answered within 30 minutes lapses with nobody charged.

#### Freeze a wallet when necessary

Freezing stops all spending from a wallet immediately, while deposits continue to arrive and its limits are preserved. Frozen wallets appear as blocked in the dashboard. Unfreeze the wallet to allow spending again.

```http
POST /v1/wallets/{id}/freeze
POST /v1/wallets/{id}/unfreeze
```

## Wallet states

| State             | Meaning                                                                |
| ----------------- | ---------------------------------------------------------------------- |
| Active            | The wallet can be funded and spent from within its limits.             |
| Awaiting approval | At least one payment is waiting for the customer's decision.           |
| Blocked           | The wallet is frozen. Deposits are accepted, but nothing can be spent. |

## Security considerations

1. **Confirm the customer for every approval**\
   Use your own strongest form of confirmation, such as a passcode or biometrics, before recording an approval.
2. **Set limits by purpose**\
   Give each wallet limits that reflect how it will be used, rather than one generous limit for everything.
3. **Freeze first, investigate second**\
   If activity on a wallet looks unexpected, freeze it immediately. Deposits are unaffected, and spending can resume once the matter is resolved.

Wallets give your customers a safe way to let their agents act for them financially. The customer always owns the funds, your business sets the rules, and the agent receives exactly the authority it needs to complete the task and nothing more.