-
-
Add Ordina to the assistant you already use. It agrees the time and price with the business, then brings you one PayPal payment to approve.
-
Every step the agents took, from search to the held time to the PayPal order. Pay with PayPal, or by card with no PayPal account.
-
A business sets up in minutes: paste its website link, add items by hand, or connect a booking system (coming soon).
-
Claude reads the business's page, finds what it sells and its prices, and asks only what the page did not say.
-
The business view: sales, PayPal's fee, refunds and what the business keeps, from PayPal's own records.
Inspiration
We run Ordina, AI Secretaries that answer customers and take bookings for service businesses: salons, clinics, classes, bakeries. More and more customers arrive through their own AI assistants. Those assistants can already find a hair salon, but they cannot safely book it and take payment. Prices get made up, times get double-booked, and nobody wants an agent holding their card.
So we built the missing layer: a checkout made for agents. The agent does the work, the business's own system decides, and the customer approves the money in PayPal.
What it does
Ordina Agent Checkout is an open-source gateway between AI assistants and service businesses.
- For any assistant, over MCP: three tools.
find_businesseslists bookable businesses with their prices.message_businesstalks to the business's own AI Secretary, which reads the real price list and calendar, holds a time and creates the PayPal order; the tool returns the server's payment offer and a pay link.booking_statussays when PayPal has confirmed. No tool can pay. - For people, no new app: the front page asks which assistant you already use and shows how to connect Ordina to it. After that you just ask your assistant.
- For the customer: a hosted pay page that shows exactly what they approve (item, business, time, price, cancellation policy) with PayPal's buttons. They pay with PayPal, or by debit or credit card with no PayPal account. A spending limit is checked before any pay link exists.
- A playground: a chat with our own customer agent. "Worked with..." under each answer shows every message between the agents, every check, the hold and each PayPal call.
- For businesses, set up in minutes: paste your website link and Claude reads it, finds your services and prices, and asks only what it could not find (a missing price, how long something takes, your cancellation rule). You check and edit everything or add items by hand, set your opening hours and how you get paid, then go live. Connecting existing booking platforms by API is next.
- The business dashboard: bookings, what PayPal paid, PayPal's fee, and refunds or cancellations for 180 days.
How we used PayPal
- Orders v2 creates each order at the business's listed price, never a price an agent wrote.
- PayPal JS SDK buttons on the hosted pay page, including guest card checkout.
- Orders v2 capture: amount, currency, payee and PayPal's fee come from PayPal's capture record. A booking exists only when the capture is COMPLETED for the exact amount and currency, paid to the right seller account.
- Payments v2 refunds: full and partial, for 180 days. Money that cannot become a booking (a failed check, or a business system that refuses the booking) goes straight back in full.
- PayPal-Request-Id on every call, so a retry never charges or refunds twice.
- Multiparty (Partner Referrals, delayed disbursement, Referenced Payouts) is built and tested behind a flag, ready for when PayPal approves us as a partner.
How we used AI
Two agents run on Claude (claude-opus-5-5): the customer's agent in the playground, and each business's Secretary with its own tools (list services, check availability, hold a time, create the payment). The live demo reaches Claude through the Cencori AI gateway; the same code also runs on the Claude API directly. Through MCP, any outside assistant plays the customer's part.
The agents talk in plain language, but only server objects count as facts: an agent acts on the payment offer the server returns, never on what another agent writes.
Safety is in the code, not the prompt
An agent that can spend money needs rules it cannot talk its way around. Ten rules are enforced by the server and covered by a suite of 70 tests, including:
- every price comes from the business's own list;
- the spending limit is checked before a pay link exists;
- no agent can pay; only the customer approves in PayPal;
- a booking exists only on a COMPLETED capture for the exact amount, paid to the right seller;
- an expired hold is never charged, and two approvals of one offer at the same moment share one outcome;
- Sandbox money never books a real business.
How we built it
Built from scratch during the hackathon (November 2026). Node 24, Express, React and Vite, SQLite (node:sqlite), the official MCP SDK, PayPal REST APIs and the PayPal JS SDK, hosted on Render's free plan.
Businesses come from provider adapters. The demo uses four simulated businesses in Lagos, London and Nairobi. Ordina is the first real integration, switched off here so Sandbox money can never create a real appointment.
Challenges we ran into
- PayPal decides which buttons to show from where the buyer is, and a Sandbox business account created in Nigeria can only send money. We moved the seller to a US Sandbox business account and turned on guest card checkout, so customers do not need a PayPal account.
- Agents will confidently state facts nobody gave them. We stopped treating any agent message as the truth: the server's payment offer is the only fact that counts.
- Two approvals of the same offer at once could have meant two captures. They now share one outcome.
What we learned
The safe design is a narrow one: agents negotiate, the server decides, PayPal confirms, and the customer approves. Every "should the agent be allowed to..." question became a server rule with a test.
Tested on the live demo
On the hosted demo, an outside agent booked through MCP, the customer paid by card with no PayPal account, PayPal reported the capture COMPLETED, and the business view showed the sale, PayPal's fee and what the business keeps. Full and partial refunds were tested in the Sandbox.
What's next
Connect Ordina's live businesses as the first real provider, move to Multiparty so each business is paid straight into its own PayPal, and send booking notices to owners and customers.
Built With
- cencori
- claude
- express.js
- mcp
- node.js
- paypal
- react
- render
- sqlite
- typescript
- vite

