acp-sandbox is a hosted mock merchant that speaks the Agentic Commerce Protocol checkout API. Point your ACP client or shopping agent at it and exercise the full session lifecycle — create, retrieve, update, complete, cancel — without real money, a real store, or real buyer data.
no signup real PayPal sandbox payments hosted MCP server no real charges open source
acp-sandbox is also a hosted MCP server. Connect any MCP client (Claude, Cursor, …) to it and the agent gets tools to browse the catalog, build a cart, ask you to pay with PayPal, and place the order. You stay in control of the money: the agent can only hand you a PayPal approval link — the payment is captured only after you approve it on PayPal, and only for the exact cart total.
MCP server URL: https://acp-sandbox.flo-voice1.com/mcp
Auth: none (a sandbox key is created on the first checkout)
In Claude: Settings → Connectors → Add custom connector, paste the URL, then ask: “Buy me a demo mug and two notebooks from the acp-sandbox store and pay with PayPal.” Approve the payment with a PayPal sandbox buyer account. The agent gives you a dashboard link where every step it took is logged.
| Tool | What the agent uses it for |
|---|---|
list_products | See what the store sells and the prices |
create_checkout / update_checkout | Build or change the cart (an ACP checkout session) |
request_paypal_payment | Create a PayPal order for the exact total and get the approval link for the human |
wait_for_payment_approval | Wait until PayPal confirms the buyer approved |
complete_checkout | Capture the payment and place the order — fails unless PayPal confirms the money |
get_checkout / cancel_checkout | Check status, or back out |
ACP defines how a shopping agent talks to a merchant to complete a purchase. Payment sandboxes such as PayPal's cover the payment side, but there is no hosted "fake merchant" you can point a third-party ACP client at to check that your own logic actually works: building a session, patching line items, handling a 422, reading back an Order. acp-sandbox is that merchant, with a real PayPal sandbox payment behind every checkout.
1 — get a test key (this is a sandbox, so the key is issued on the spot):
curl -X POST https://acp-sandbox.flo-voice1.com/keys \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com"}'
# => {"api_key":"acps_test_..."}
2 — see what you can buy:
curl https://acp-sandbox.flo-voice1.com/catalog
3 — create a checkout session:
curl -X POST https://acp-sandbox.flo-voice1.com/checkout_sessions \
-H "Authorization: Bearer acps_test_..." \
-H "Content-Type: application/json" \
-d '{
"line_items": [{"id": "item_demo_headphones", "quantity": 1}],
"currency": "usd",
"buyer": {"email": "buyer@example.com"}
}'
4 — pay with PayPal (sandbox): create the PayPal order, have the buyer approve it at payment.approve_url, then complete with that order id:
curl -X POST https://acp-sandbox.flo-voice1.com/checkout_sessions/{id}/paypal_order \
-H "Authorization: Bearer acps_test_..."
# => session with payment.approve_url (open it, approve with a sandbox buyer)
curl -X POST https://acp-sandbox.flo-voice1.com/checkout_sessions/{id}/complete \
-H "Authorization: Bearer acps_test_..." \
-H "Content-Type: application/json" \
-d '{"payment_data": {"provider": "paypal", "order_id": "<payment.paypal_order_id>"}}'
The order is placed only if PayPal reports the capture COMPLETED for the session's exact amount. Not approved yet → 422 payment_not_approved; cart changed after the PayPal order was made → the old order is dropped and you create a new one. Any other payment_data keeps the old mock behaviour (accepted as paid, no processing) for quick happy-path tests.
5 — inspect exactly what your agent sent:
curl https://acp-sandbox.flo-voice1.com/logs -H "Authorization: Bearer acps_test_..."
Or open the dashboard and paste your key to see each checkout session with every request and response.
| Method | Path | Description |
|---|---|---|
| POST | /keys | Issue a test API key |
| GET | /catalog | Demo items you can reference in line_items |
| POST | /checkout_sessions | Create a session |
| GET | /checkout_sessions/{id} | Retrieve a session |
| POST | /checkout_sessions/{id} | Update a session (line items, buyer, fulfillment) |
| POST | /checkout_sessions/{id}/paypal_order | Create the PayPal (sandbox) order for the session total; returns the buyer's approval link |
| POST | /checkout_sessions/{id}/complete | Finalize checkout (captures the PayPal payment if provider: "paypal"), creates an order |
| POST | /checkout_sessions/{id}/cancel | Cancel a session |
| GET | /logs | Last 50 requests made with your key, plus each session's current state |
| POST | /mcp | Hosted MCP server (Streamable HTTP) — the same checkout as agent tools |
Responses follow the real ACP CheckoutSession / Order / Error schemas (2026-04-17 spec version) for the fields v1 supports. Out-of-scope fields are omitted, not faked.
delegate_authentication flow.ready_for_payment.