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

# Payment experiences

Payment experiences are the ways your business requests payment on Mitu. Each one suits a different kind of sale, from a single payment to a recurring subscription, and every one of them can be completed by two kinds of payer. A person pays through a hosted checkout, and an AI agent pays the same request programmatically on behalf of the person it works for. Both arrive as a single payment, with the same amount, reference and status, so your records never need to distinguish between them.

This means you build one payment flow and serve both audiences. You do not maintain a separate checkout for agents, and you never need to know in advance which kind of payer will complete a request.

## Choosing an experience

| Experience                                                   | Use it when                                                                               | Created through          |
| ------------------------------------------------------------ | ----------------------------------------------------------------------------------------- | ------------------------ |
| [Payment links](/platform/payment-experiences/payment-links) | You need a reusable way to collect an amount, shared by link or embedded in your product. | The dashboard or the API |
| [Invoices](/platform/payment-experiences/invoices)           | The customer expects a formal, itemised bill with a due date.                             | The dashboard or the API |
| [Subscriptions](/platform/payment-experiences/subscriptions) | You charge for ongoing access on a regular schedule.                                      | The dashboard or the API |

Invoices are addressed to [recipients](/platform/payment-experiences/recipients), the people and businesses you bill, which Mitu saves as you invoice and which you can also manage directly.

## What every experience provides

1. **Two ways to pay, one payment**\
   Every request returns a checkout link for a person and an agent link for an AI agent, both leading to the same payment.
2. **Your own reference**\
   Each request carries an identifier from your own system, returned with every notification, so each payment can be matched to the record it belongs to.
3. **A defined lifecycle**\
   Each experience moves through a fixed set of states, documented in [Payment states](/platform/payment-experiences/payment-states), so your systems can act on them with certainty.
4. **Notification as it happens**\
   Your systems are told the moment money arrives through [events](/platform/webhooks/events), and the funds are added to your balance.

## How payers complete a request

1. **A person**\
   Opens the checkout link, reviews what they are paying for and pays with one of the methods available to them, such as a card, a bank transfer or stablecoin.
2. **An AI agent**\
   Uses the agent link, receives a payment requirement and pays over x402 or MPP, from its own funds or from a [wallet](/platform/your-agent-service/wallets) its customer has provided.

If the payer changes, for example when a customer passes a link you sent them to their agent, the same request is used. There is never a need to create a second one.

## Practices for every experience

1. **Fulfil from events, not from the payer**\
   Treat a payment as complete only when your systems receive notification of it, never on the basis of a browser redirect or what an agent reports.
2. **Use idempotency on every creation**\
   Send an Idempotency-Key header with every request that creates a payment link or invoice, so a retried request never creates a second charge.
3. **Keep payment and fulfilment separate**\
   A completed payment means money was received, not that the purchase was delivered. Record the two states independently.

Every payment experience gives your business the same assurance whichever payer completes it, so you can offer agents the same products, prices and terms you offer people, through a single set of records.