---
title: "Authentication and payments"
description: "Guest access, private order references and test checkout."
---

# Authentication and payments

REST and MCP guest access require no account, login, API key or OAuth. Keep the private order reference, hosted checkout link and preview URLs with the person placing the order. The reference grants access to that order's status and supported order actions.

Stripe hosts checkout. If Machine Payments Protocol is enabled, use it only after the payer explicitly authorizes the amount. Orders require an explicit mode.

Use `mode: "test"` for a sandbox order. Pay with Stripe's test card 4242 4242 4242 4242, any future expiry date and any three-digit CVC. Test orders are never printed or mailed. Use `mode: "live"` only when live ordering is available and the customer wants a real, paid order.
