For AI agents
The AP2 protocol in plain terms, and where settlement fits
AP2, the Agent Payments Protocol, is a standard for proving that an AI agent was allowed to make a purchase. It describes signed mandates that record what a person asked for and approved, and a receipt for what happened. It does not move money and does not say what happens if the purchase was a mistake. Stabledrop is a settlement service that fits underneath it: it puts the payment into a contract with a dispute window and returns a receipt in AP2's format.
The problem AP2 solves
When a person clicks "buy", the merchant and the bank can assume the person meant it. When an agent does, nobody can. Was the agent told to buy this? Up to what price? From this seller?
AP2 answers with evidence. A person's instructions and approvals are captured as mandates, each one signed, so that anyone further down the line can check them without trusting the agent's word.
Mandates and receipts
The protocol is built from a few signed objects.
| Object | What it records | Who relies on it |
|---|---|---|
| Intent mandate | What the person asked the agent to do, and within what limits | The merchant, to know the agent has authority |
| Checkout mandate | The specific purchase that was approved | The payment provider, to know what is being paid for |
| Payment mandate | The payment itself, tied to that checkout | Whoever settles the payment |
| Receipt | That the payment succeeded or failed | Everyone, afterwards |
What the protocol leaves open
AP2 standardises who authorised what. It stops at settlement. A receipt can say "success" or "error", and neither leaves room for "paid, but the buyer may yet object".
That matters because authority is not the same as a good outcome. An agent can hold a perfectly valid mandate and still buy something that never arrives. With a card underneath, the card's chargeback rules fill the gap. With a stablecoin underneath, nothing does, unless the payment is made to wait.
How Stabledrop fits under AP2
Stabledrop takes a payment and settles it into a non-custodial contract on Base that a named person can dispute for a stated period. It then signs a statement of what happened in AP2's receipt format, so software that already verifies AP2 receipts reads it without changes.
Two details are worth knowing if you are building on it.
- The payment address comes from the terms. Token, buyer, seller, amount, payout date and Third Voter determine the address, so a payer can sign for a destination before anything exists there.
- Mandates are yours to verify. Stabledrop does not check a mandate chain. If you pass one, checking it remains the caller's job.
The API reference has the request and receipt formats, and the service is open source.
Questions people ask
What is the AP2 protocol?
The Agent Payments Protocol: an open standard, published by Google with payments partners, for proving what a person authorised an AI agent to buy.
Does AP2 move money?
No. It carries the authorisation and the receipt. The payment itself is made by a card, a bank transfer or a stablecoin transfer.
What is an AP2 mandate?
A signed record of consent: what the person asked for, the checkout they approved, or the payment that followed.
Can an AP2 payment be disputed?
The protocol has no dispute step. Whether a payment can be disputed depends on how it was settled. Settled through Stabledrop, it can be, until the payout date.