# Ten Ways AI Agents Can Pay in a Booking System

> Brave Search now takes payment inside the request, with no account and no API key. Ten ways the same idea fits deposits, holds and waitlists in booking.

Page: https://timerise.ai/blog/ten-ways-ai-agents-can-pay-in-a-booking-system

On 12 November Brave announced that its Search API takes payment through the x402 protocol. An agent sends a search request with no API key. The server answers with HTTP 402 and the price. The agent signs a stablecoin payment for that amount, sends the request again with the payment attached, and gets the results with a receipt. Brave quotes $0.005 per request, paid in USDC on the Base network. There is no account and no plan to choose ([Brave's announcement](https://brave.com/blog/search-api-agentic-payments/), [Brave's guide](https://api-dashboard.search.brave.com/documentation/guides/agent-payments)).

Search is the easy case: one request, one answer, half a cent. A booking is harder. Only one buyer can have the slot, a person has to show up, and there is a cancellation policy with money attached to it.

In May we wrote about [how agents pay for bookings by card](/blog/agent-ready-payments-how-ai-agents-pay-for-bookings): mandates, holds and confirmations. This post is about the other rail, payment inside the HTTP request, and where it fits a booking system. It is a design note. Nothing here is a product you can switch on tomorrow, and the last two sections say why.

## How x402 works

The protocol uses a status code that HTTP reserved for payments decades ago and never used.

1. The client asks for a resource.
2. The server answers `402 Payment Required` with a `PAYMENT-REQUIRED` header: the amount, the token, the network and where to pay.
3. The client signs a payment and repeats the request with a `PAYMENT-SIGNATURE` header.
4. The server checks and settles the payment, usually through a facilitator, and returns the resource with a `PAYMENT-RESPONSE` header that holds the receipt.

A facilitator is, in the words of the project's README, "a server that facilitates verification and execution of payments". Brave runs its own. The README lists three payment schemes: `exact` for a fixed amount, `upto` for a maximum of which the seller settles only what was used, and `batch-settlement` ([x402 on GitHub](https://github.com/x402-foundation/x402)). The project now sits under the x402 Foundation at the Linux Foundation, and stablecoins are its main use today ([x402.org](https://www.x402.org/)).

## What this changes for a booking system

Three properties matter more than the technology under them.

- **The price is in the answer.** Every request gets its own quote that a program can read. The quote can depend on the hour, the demand or the customer, and the agent sees it before it commits.
- **The payment is the credential.** The buyer needs no account, no saved card and no API key. A buyer you have never seen can pay you on the first request.
- **Settlement is final in seconds.** The money is pushed by the buyer, so there is no chargeback. There is also no refund unless you build one.

Each of the ten ideas below uses at least one of these.

## Ten ways to use it

### 1. A deposit in the same call that takes the slot

The agent calls the booking endpoint. The answer is 402 with the deposit amount. The agent pays and the same request returns a confirmed booking. A [deposit](/features/deposits-and-payments) today needs a card form or a payment link sent to a person. Here it needs one retry.

### 2. Paid holds

An agent comparing five providers will hold a slot at each of them if holds are free, and four businesses will keep an empty slot for nothing. Charge a small fee for a 15-minute hold and count it toward the price when the booking goes through. A hold that costs money is placed only by an agent that means it.

### 3. Full payment for small, simple bookings

A parking space, a court for an hour, a desk for a day, a locker, a charging point. The price is low, nobody needs advice, and the buyer wants the answer in one step. These are the bookings where an account and a card form cost more effort than the service is worth.

### 4. Pay for what was used

The `upto` scheme fits anything billed by time or consumption: the agent authorises a maximum and you settle the real amount. Parking by the minute, charging by the kilowatt-hour, a studio session that ran over, a meeting room extended by half an hour. Check which networks implement the scheme before you design around it: Cloudflare's documentation lists `upto` for EVM networks only, and `exact` is the one every example uses.

### 5. A waitlist that settles itself

A slot opens. Today the [waitlist](/features/waitlist) sends a message and waits for someone to click. With payment in the request, the system offers the slot to the waiting agents, and the first one whose payment settles has it. Nobody holds a slot while deciding.

### 6. Change and cancellation fees

A reschedule inside the free window returns 200. Outside it the answer is 402 with the fee from your policy. The agent can ask its user whether the change is worth that much before anything moves, and you never have to chase the fee afterwards.

### 7. A refundable bond for unknown agents

You cannot tell a serious agent from a script that books every Saturday in the month. Ask a first-time agent for a small bond with the booking and return it at check-in. Regular customers and signed-in users skip it.

### 8. 402 where you would send 429

Aggregators, marketplaces and price comparison agents read availability thousands of times a day. Today they get a rate limit, or a contract and an API key. Keep normal volume free, because availability is how you are found, and above the limit answer with a price per thousand requests. This is exactly what Brave did with search, and it is the simplest of the ten to build.

### 9. Your system as the buyer

A tour operator's system books a guide, a boat and a restaurant table from three partners. A clinic books an interpreter. Each partner exposes a booking endpoint with a price, and your system pays as it books, with no partner portal and no monthly reconciliation of who owes whom. The invoice between the two companies still has to be issued; the payment stops waiting for it.

### 10. Machines that book for themselves

A delivery van books a loading dock slot. A car from a rental fleet books a wash and a charging point on its way back. The buyer here was never going to fill in a form, so a booking API that takes payment in the request is the only kind it can use alone.

## What it does not solve

**Most people do not hold stablecoins.** An agent that books a haircut for a person will pay by card for years. Stripe's machine payments documentation lists cards, through shared payment tokens, beside x402 on Base ([Stripe](https://docs.stripe.com/payments/machine)). So build payment as a replaceable part: one booking, one price, more than one rail.

**Refunds are yours to build.** The protocol pages we read say nothing about refunds. Keep the paying address with the booking, publish the refund rules as fields an agent can read, and send the money back from your side when the rules say so.

**Paid is not the same as identified.** The payment proves that someone paid. The business still needs a name and a contact for the person who walks in, and consent for anything sent to them later.

**Tax and accounting stay.** Every paid booking needs a receipt or an invoice, in the EU with VAT and in Poland through KSeF. Stablecoin revenue has to become euro or złoty in your books. Stripe currently offers stablecoin acceptance to US businesses outside New York and to other countries on request, so check what your provider supports where you are registered before you promise it to anyone.

**The slot can still be taken twice.** Two agents can pay for the same slot within the same second. Verifying a payment and settling it are separate steps, and the booking belongs between them: verify, take the slot under a lock, settle, confirm. If the slot is gone, do not settle. If settlement fails, release the slot. Retries need an idempotency key so that a repeated request never charges or books twice.

## Where to start

Start with what helps even if no agent ever pays you this way.

1. Publish price, deposit, cancellation window and refund rules as structured fields.
2. Add a quote endpoint that returns the exact amount for a slot, a customer and a moment.
3. Put a 402 on one low-risk resource: availability above the free limit, or a booking that costs a few euros.
4. Then move to deposits and holds, with refunds and invoices working first.

If your buyers are developers, partner systems or machines, the first three steps are a few days of work and worth trying now. If your buyers are people, get the [card path for agents](/blog/agent-ready-payments-how-ai-agents-pay-for-bookings) right first and keep the payment layer open for a second rail.

Brave removed the account, the plan and the API key from buying a search. The same three things stand between an agent and most booking systems today.

We build booking systems and the [AI agents that book in them](/ai-booking-agents). If one of the ten fits your business, [tell us about it](/brief) and you will have a prototype and a fixed quote in 48 hours.
