Skip to navigation

Universal payments

Request payment through links, invoices and plans that a person or an AI agent acting for them can pay.
View as Markdown

More and more of your customers will soon pay you through AI agents acting on their behalf, while many will continue to pay themselves. Building and maintaining two separate payment flows, one for people and one for agents, would double the work and split your records.

Universal payments remove that problem. You request payment once, and it can be completed either way. A person pays through a hosted checkout, while an AI agent pays the same request programmatically. Both arrive as the same payment, with the same amount, reference and status, so your records never need to distinguish between them.

Ways to request payment

ExperienceUse it whenExample
Payment linksYou need to collect a single amount quickly.A deposit, a booking or a one off service.
InvoicesThe customer expects a formal bill with a due date.Monthly consulting or a project milestone.
SubscriptionsYou charge for ongoing access on a regular schedule.A software plan billed every month.

Accepting a universal payment

1

Choose how to request payment

Use a payment link to collect a single amount, an invoice when the customer expects a formal bill, and a subscription plan when you charge for ongoing access. Each has its own page under Payments in the Mitu dashboard.

2

Create the request

Create the payment link, invoice or plan in the dashboard, or from your server when your product creates them as part of its own flow. Include your own reference, such as an order or customer number, so every payment can be matched to the record it belongs to. When creating requests through the API, send an Idempotency-Key header, so a request that times out can be retried without creating a duplicate. The payment link guide shows a complete example.

3

Share it with the payer

Send the request through whichever channel your customer already uses with your business, such as email, a messaging app or your own website. Each request comes with a checkout link for a person and an agent link for an AI agent, both leading to the same payment, so share whichever suits the payer.

4

Let the payer complete it

A person opens the hosted checkout, reviews what they are paying for and pays with one of the methods available to them. An AI agent pays the same request on its customer’s behalf and continues with its task, while Mitu handles the agent payment for you, so your product never needs to support agent payment standards itself.

5

Confirm and fulfil

Every payment appears in Transactions as it progresses, and invoices and plans also show their status on their own pages. Before you fulfil an order or grant access, wait for the notification that the payment is complete, sent through events. A browser can be closed and an agent can report success before payment has settled, so never fulfil on the basis of what the payer’s side reports.

6

Plan for every outcome

Not every request ends in a single, full payment. A payment link can be partly paid, an invoice can become overdue and a subscription charge can fail. Payment states lists every state, so your systems can handle each one deliberately rather than discovering it in production.

You can now be paid by anyone, however they choose to pay. As more of your customers bring agents into their buying, the same links, invoices and plans keep working without any change on your side, and every payment arrives in your records in exactly the same way.