A platform agent shopping at Aurora Escapes, on Adyen
Point a program that does not belong to the store at the Adyen merchant's UCP endpoint, let it find a stay and stage a checkout, and see what Adyen lets a platform do from there.
What this run is
A platform agent belongs to someone other than the store. It reads Aurora Escapes' discovery document, calls the merchant's tools over UCP (Universal Commerce Protocol) carried on MCP (the Model Context Protocol), and ends with Adyen's hosted page URL for the traveler, or with an order it paid for with a credential Adyen accepts from a platform. The same merchant serves ACP (the Agentic Commerce Protocol) for platforms that speak OpenAI's shape. Aurora Escapes is fictional.
The scripted run
third-party/run.sh starts the merchant API on 8017 if needed, prints the brand line, and runs scripts/platform_agent.py against it. The travel storefront is not started.
platforms/adyen/third-party/run.sh
The scripted agent searches for the goal, takes the first in-stock product, creates a cart and a checkout. On the simulated gateway, on 8 September 2026:
merchant: Aurora Escapes · Adyen · gateway simulated · checkout hosted
discovery: Aurora Escapes on Adyen · UCP 2026-04-08, 2026-08-25 · handlers ['com.google.pay']
picked: Masked Wrestling Night with a Superfan Host · USD 66.00 · variant gid://aurora-escapes/ProductVariant/AL-EXP-309
cart: gid://aurora-escapes/Cart/… · total USD 66.00
checkout: gid://aurora-escapes/Checkout/cko_… · status incomplete · total 66.00
continue_url (variant 1, the shopper pays on the processor's page): http://localhost:8017/checkout/cko_…
payment handlers the merchant accepts (variant 2/3): ['com.google.pay']
The default goal is "a cabin for two nights"; the catalog's text search ranked a Mexico City experience first, which is what a scripted agent takes. GOAL names something else:
GOAL="a stay in Kyoto" platforms/adyen/third-party/run.sh
With ADYEN_API_KEY and ADYEN_MERCHANT_ACCOUNT in platforms/adyen/.env, create_checkout creates an Adyen hosted session and continue_url is a test.adyen.link address, as it was on 7 September 2026. Open it, pay with 4111 1111 1111 1111, 03/2030, 737, and Adyen returns the traveler to /ucp/return on the merchant, a short page saying the agent that created the checkout will read the result. get_checkout then reports completed once the adapter can read the session.
Letting a model drive
platforms/adyen/third-party/run.sh --model
--model hands the merchant's tools to a model through the reference's provider contract and prints each call. Anthropic is the default provider (claude-sonnet-5, ANTHROPIC_API_KEY); --provider openai (gpt-5, OPENAI_API_KEY) and --provider gemini (gemini-2.5-pro, GOOGLE_API_KEY) drive the same tools, and --base-url http://localhost:11434/v1 with --provider openai does so on Ollama. A model id after --model overrides the default. The prompt instructs the model to put one item in a cart, create a checkout, report the item, total, continue_url, and handlers, and never claim to have paid.
The platform pays by itself
platforms/adyen/third-party/run.sh --complete gpay_demo
On the simulated gateway the last line reads platform-completed: status completed · order gid://aurora-escapes/Order/ORD-…: the demo token is accepted as a com.google.pay credential because the real Adyen adapter charges Google Pay handler payloads. On a live account the adapter sends POST /v72/payments with paymentMethod: {type: "googlepay", googlePayToken}; a demo token is refused by Adyen (on 8 September 2026 the run printed the processor refused the credential: POST /payments → 422), the checkout stays incomplete, and its continue_url remains the path to take. A real Google Pay payload needs Google Pay enabled on the account, which the test account did not have.
An MCP client such as Claude Code
platforms/adyen/third-party/run.sh --serve
keeps the merchant up and prints the endpoints. The repository's .mcp.json registers this merchant as aurora-escapes, alongside lumen-home, so Claude Code started in the repository root finds it after approving the project servers. Anywhere else:
claude mcp add --transport http aurora-escapes http://localhost:8017/api/ucp/mcp
The one-shot form, which runs from any directory without an approval prompt:
claude -p --mcp-config .mcp.json --strict-mcp-config --allowedTools mcp__aurora-escapes "Using only the aurora-escapes tools, find a stay in Lisbon under 250 dollars a night, create a checkout for one night, and report the stay, the total, the continue_url and the payment handlers. Do not claim to have paid."
The Claude Code flow was verified against the Stripe merchant on 6 and 7 September 2026; the Adyen merchant serves the same endpoint shape from the same code (psp_commerce/thirdparty/ucp.py).
The endpoints on the merchant
| Endpoint | Protocol | Purpose |
|---|---|---|
GET /.well-known/ucp |
UCP discovery | versions, the MCP endpoint, capabilities, payment_handlers, store.completion |
POST /api/ucp/mcp |
UCP over MCP | search_catalog, get_product, lookup_catalog, create_cart, get_cart, update_cart, create_checkout, update_checkout, get_checkout, cancel_checkout, complete_checkout, get_order |
POST /api/mcp |
storefront MCP | search_shop_policies_and_faqs (cancellation windows, refunds) |
GET /ucp/return |
return leg | where Adyen sends the traveler after a platform-created checkout |
POST /acp/checkout_sessions and /{id}, /{id}/complete, /{id}/cancel |
ACP 2026-04-17 | a session with checkout_url (Adyen's page) and capabilities.payment.handlers |
GET /acp/feed.json |
ACP feed | the products a platform indexes |
The payment handlers this processor advertises
The Adyen adapter's delegated_providers is ("google_pay",) (psp_commerce/adapters/adyen.py), so psp_commerce/thirdparty/ucp.py advertises one handler.
| Handler | Config | What the adapter does with it |
|---|---|---|
com.google.pay (2026-01-23) |
PAYMENT_GATEWAY tokenization, gateway adyen, gateway_merchant_id MID-800-AURORA |
POST /v72/payments with paymentMethod.type: "googlepay" and the token, as Adyen's Google agentic commerce guide describes for a merchant-hosted UCP endpoint |
Stripe shared payment tokens are refused here. On ACP, Adyen advertises no dev.acp.tokenized.card handler in live mode because Google Pay is the only delegated credential it charges; on the simulated gateway the list shows a psp: mock entry. Adyen's own agentic layer (Agentic Feed, Cart, and Payments, announced 16 June 2026, limited availability for enterprise merchants in the United States, https://www.adyen.com/press-and-media/adyen-agentic) hosts the endpoint on Adyen's side; this reference hosts it on the merchant's.