Concepts
What is available in this release
The exact endpoints and MCP tools that exist right now, and what arrives next, so you never guess at a URL.
This source supports test payments and connected-merchant live payments over REST and MCP. Use only what is listed here, and complete going-live before accepting live payments. The OpenAPI document at /openapi.json is the authoritative list of REST endpoints.
REST endpoints
Grouped by the tags field in the OpenAPI document.
platform
| Method and path | Auth | Purpose |
|---|---|---|
GET /v1/me | Bearer | Confirm your key and mode |
merchants
| Method and path | Auth | Purpose |
|---|---|---|
POST /v1/merchants | Bearer | Create a merchant in the key's mode |
GET /v1/merchants | Bearer | List merchants |
GET /v1/merchants/{merchant_id} | Bearer | Retrieve a merchant |
GET /v1/merchants/{merchant_id}/collect-config | Bearer | Get the keyed-entry (hosted card form) configuration |
POST /v1/merchants/{merchant_id}/connect | Bearer | Get a one-time link for the merchant to connect their own payments account |
terminals
| Method and path | Auth | Purpose |
|---|---|---|
GET /v1/merchants/{merchant_id}/terminals | Bearer | List a merchant's terminals |
POST /v1/merchants/{merchant_id}/terminals | Bearer | Create a simulated terminal or register a physical one |
POST /v1/merchants/{merchant_id}/terminals/discover | Bearer | Discover physical devices on the processor account |
GET /v1/terminals/{terminal_id} | Bearer | Retrieve a terminal |
PATCH /v1/terminals/{terminal_id} | Bearer | Update a terminal |
POST /v1/terminals/{terminal_id}/ping | Bearer | Check whether a terminal is reachable |
payments
| Method and path | Auth | Purpose |
|---|---|---|
POST /v1/payments | Bearer | Create a payment (simulated or physical terminal, keyed, or a saved card with method: card_on_file; save_payment_method on a keyed payment saves the card first; terminal_options for tip and receipt screen) |
GET /v1/payments | Bearer | List payments |
GET /v1/payments/{payment_id} | Bearer | Retrieve a payment |
POST /v1/payments/{payment_id}/cancel | Bearer | Cancel a terminal payment |
GET /v1/payments/{payment_id}/receipt | Bearer | Get the hosted receipt URL |
POST /v1/payments/{payment_id}/refund | Bearer | Refund a payment |
POST /v1/payments/{payment_id}/void | Bearer | Void a payment |
GET /v1/payments/{payment_id}/refunds | Bearer | List refunds and voids of a payment |
GET /v1/refunds/{refund_id} | Bearer | Retrieve a refund |
POST /v1/refunds | Bearer | Refund a payment under Stripe's name (payment_intent, amount); never voids |
GET /v1/refunds | Bearer | List refunds (Stripe's refunds.list) |
GET /v1/payment_intents | Bearer | List payments as Stripe PaymentIntents (read only) |
GET /v1/payment_intents/{payment_intent_id} | Bearer | Retrieve a payment as a PaymentIntent (read only) |
POST /v1/sandbox/terminals/{terminal_id}/simulate | Bearer | Be the customer on a simulated terminal (test mode only) |
catalog (what a merchant sells and its discounts; see catalog)
| Method and path | Auth | Purpose |
|---|---|---|
POST /v1/products | Bearer | Create a product |
GET /v1/products | Bearer | List products |
GET /v1/products/{product_id} | Bearer | Retrieve a product |
PATCH /v1/products/{product_id} | Bearer | Update or archive a product |
POST /v1/products/{product_id} | Bearer | The same update, with Stripe's verb |
DELETE /v1/products/{product_id} | Bearer | Delete a product that has no prices |
POST /v1/prices | Bearer | Create a price (one time, monthly or yearly; immutable) |
GET /v1/prices | Bearer | List prices |
GET /v1/prices/{price_id} | Bearer | Retrieve a price |
PATCH /v1/prices/{price_id} | Bearer | Archive a price, move its lookup key, change nickname or metadata |
POST /v1/prices/{price_id} | Bearer | The same update, with Stripe's verb |
POST /v1/prices/{price_id}/discount_preview | Bearer | What a promotion code takes off a price; writes nothing |
POST /v1/coupons | Bearer | Create a coupon |
GET /v1/coupons | Bearer | List coupons |
GET /v1/coupons/{coupon_id} | Bearer | Retrieve a coupon |
PATCH /v1/coupons/{coupon_id} | Bearer | Change a coupon's name or metadata |
POST /v1/coupons/{coupon_id} | Bearer | The same update, with Stripe's verb |
DELETE /v1/coupons/{coupon_id} | Bearer | Stop new uses of a coupon |
POST /v1/promotion_codes | Bearer | Create a promotion code |
GET /v1/promotion_codes | Bearer | List promotion codes (filter by code) |
GET /v1/promotion_codes/{promotion_code_id} | Bearer | Retrieve a promotion code |
PATCH /v1/promotion_codes/{promotion_code_id} | Bearer | Deactivate a code, change metadata |
POST /v1/promotion_codes/{promotion_code_id} | Bearer | The same update, with Stripe's verb |
customers (scopes customers:read, customers:write; see customers)
| Method and path | Auth | Purpose |
|---|---|---|
POST /v1/customers | Bearer | Create a customer of a merchant |
GET /v1/customers | Bearer | List customers (filters merchant_id, email) |
GET /v1/customers/{customer_id} | Bearer | Retrieve a customer |
PATCH /v1/customers/{customer_id} | Bearer | Update a customer (email, name, metadata), link its stripe_id |
POST /v1/customers/{customer_id} | Bearer | The same update with Stripe's verb |
DELETE /v1/customers/{customer_id} | Bearer | Delete a customer and its saved cards |
payment methods (saved cards; scopes payment_methods:read, payment_methods:write; charging one needs payment_methods:charge; see saved-cards)
| Method and path | Auth | Purpose |
|---|---|---|
POST /v1/payment_methods | Bearer | Save a card for a customer from a hosted-form nonce |
GET /v1/payment_methods | Bearer | List saved cards (filters merchant_id, customer, include_deleted) |
GET /v1/payment_methods/{payment_method_id} | Bearer | Retrieve a saved card, deleted ones included |
DELETE /v1/payment_methods/{payment_method_id} | Bearer | Delete a saved card and erase its token |
POST /v1/payment_methods/{payment_method_id}/detach | Bearer | The same delete under Stripe's name |
GET /v1/customers/{customer_id}/payment_methods | Bearer | List one customer's saved cards |
checkout (hosted payment pages; scopes checkout_sessions:read, checkout_sessions:write; see checkout)
| Method and path | Auth | Purpose |
|---|---|---|
POST /v1/checkout/sessions | Bearer | Create a hosted checkout session: mode: payment for a one-time amount, mode: subscription for a recurring catalog price |
GET /v1/checkout/sessions | Bearer | List checkout sessions |
GET /v1/checkout/sessions/{session_id} | Bearer | Retrieve a session (its url while it is open) |
GET /v1/checkout/sessions/{session_id}/line_items | Bearer | A session's lines |
POST /v1/checkout/sessions/{session_id}/expire | Bearer | Close an open session |
subscriptions and invoices (test mode only in this release; scopes subscriptions:read, subscriptions:write, invoices:read, and payment_methods:charge for a call that charges a saved card; see subscriptions)
| Method and path | Auth | Purpose |
|---|---|---|
POST /v1/subscriptions | Bearer | Start a subscription on a saved card and charge the first period |
GET /v1/subscriptions | Bearer | List subscriptions (filters customer, status, price, merchant_id) |
GET /v1/subscriptions/{subscription_id} | Bearer | Retrieve a subscription |
POST /v1/subscriptions/{subscription_id} | Bearer | Upgrade (charged now), downgrade (at period end), cancel at period end and undo, default card, metadata |
DELETE /v1/subscriptions/{subscription_id} | Bearer | Cancel now |
POST /v1/subscriptions/{subscription_id}/scheduled_change/cancel | Bearer | Remove a plan change scheduled for the period end |
GET /v1/invoices | Bearer | List invoices (filters customer, subscription, status) |
GET /v1/invoices/{invoice_id} | Bearer | Retrieve an invoice |
POST /v1/invoices/create_preview | Bearer | The next renewal's invoice, or with subscription_details the invoice a plan change would make now (needs catalog:read as well as invoices:read); creates and charges nothing |
POST /v1/invoices/{invoice_id}/pay | Bearer | Charge an open invoice now |
POST /v1/invoices/{invoice_id}/void | Bearer | Void an open invoice nothing was paid on |
POST /v1/billing_portal/sessions | Bearer | A one-time link to the hosted customer portal |
GET /v1/billing_settings | Bearer | A merchant's billing settings (time zone, retry schedule, final action, reminder days, portal switches, the duplicate subscription guard, subscription_guard); the merchant in merchant_id or the ZeroPoint-Account header |
POST /v1/billing_settings | Bearer | Change them. To ready a merchant for its first subscription (settings, billing webhook endpoint, signed test) see build-subscriptions, "Set up billing in one step"; a webhook endpoint is the platform's and receives every merchant's events in its mode |
POST /v1/test_helpers/test_clocks | Bearer | Create a test clock (test mode only) |
GET /v1/test_helpers/test_clocks | Bearer | List test clocks |
GET /v1/test_helpers/test_clocks/{test_clock_id} | Bearer | Retrieve a test clock |
POST /v1/test_helpers/test_clocks/{test_clock_id}/advance | Bearer | Move a clock forward; renewals, retries and reminders run on the way |
DELETE /v1/test_helpers/test_clocks/{test_clock_id} | Bearer | Delete a clock, its subscriptions and customers |
POST /v1/test_helpers/payment_methods/{payment_method_id}/fail_next_charges | Bearer | Make a test card's next billing charges decline (soft or hard) or go unknown |
POST /v1/test_helpers/payment_methods/{payment_method_id}/lift_card_block | Bearer | Lift a test card's hard-decline blocks after a rehearsal |
POST /v1/test_helpers/invoices/{invoice_id}/resolve_hold | Bearer | End an injected hold |
POST /v1/test_helpers/checkout/sessions/{session_id}/confirm | Bearer | Pay a checkout session with a test card token, no browser (test mode only; sandbox, "Test card tokens") |
webhooks (also carries the event ledger)
| Method and path | Auth | Purpose |
|---|---|---|
POST /v1/webhooks | Bearer | Register a webhook endpoint |
GET /v1/webhooks | Bearer | List webhook endpoints |
GET /v1/webhooks/{webhook_id} | Bearer | Retrieve a webhook endpoint |
PATCH /v1/webhooks/{webhook_id} | Bearer | Update a webhook endpoint |
DELETE /v1/webhooks/{webhook_id} | Bearer | Delete a webhook endpoint |
POST /v1/webhooks/{webhook_id}/rotate-secret | Bearer | Rotate the signing secret |
POST /v1/webhooks/{webhook_id}/test | Bearer | Send a signed test event, or one sample billing event with event_type (test mode only) |
POST /v1/webhooks/{webhook_id}/verify | Bearer | Score a webhook receiver (signed event, replay, bad signature) |
GET /v1/webhooks/{webhook_id}/deliveries | Bearer | List deliveries to an endpoint |
GET /v1/deliveries/{delivery_id} | Bearer | Retrieve a delivery |
POST /v1/deliveries/{delivery_id}/redeliver | Bearer | Redeliver an event |
GET /v1/events | Bearer | List events |
GET /v1/events/{event_id} | Bearer | Retrieve an event |
sandbox
| Method and path | Auth | Purpose |
|---|---|---|
POST /sandbox/webhook-sink | none | A public webhook target that always answers 200, for testing before your receiver exists |
docs
| Method and path | Auth | Purpose |
|---|---|---|
GET /v1/docs | none | List every guide and concept |
GET /v1/docs/{slug} | none | Read one document as JSON |
GET /llms.txt | none | Agent-readable index of the docs |
meta
| Method and path | Auth | Purpose |
|---|---|---|
GET /health | none | Service health |
GET /health/pilot | none | Operational health: reason counts, 503 while any is non-zero (for the operator's monitor) |
Not in the OpenAPI document but real: the contract itself at /openapi.json, the Swagger UI at /docs, the hosted receipt page at /r/{token}, the hosted card form at /collect/{merchant_id}?origin=... and its sandbox page at /sandbox/collect?merchant_id=..., and the merchant connect pages at /connect/processor/... (all GET, no auth).
MCP tools
Mutation tools use the same services as their REST operations. Read-only evidence tools may compose several stored reads; never invent a REST route from a tool name.
| Tool | Purpose |
|---|---|
search_docs | Full-text search over the docs |
get_doc | Read one document |
get_openapi | Fetch the REST contract |
list_snippets / get_snippet | Retrieve complete reviewed server-side components with instructions, hashes and tests; see integration-snippets |
integration_checklist | What you have completed, what is available now, and how to do it |
create_sandbox_merchant | A merchant plus one simulated terminal (auto_approve) |
connect_merchant_processor | A one-time link for a merchant to connect their own payments account; see connect-a-merchant |
list_terminals | A merchant's terminals |
discover_terminals | Card readers on the merchant's processor account (physical hardware) |
register_terminal | Register a discovered reader as a physical terminal |
set_terminal_behavior | manual, auto_approve, or auto_decline on a simulated terminal |
get_collect_config | The merchant's hosted card form URL (and save_form_url for saving a card); test cards only in test mode |
create_payment | POST /v1/payments with a derived Idempotency-Key (mcp:payment:{merchant_id}:{platform_reference}); payment_method and initiated_by charge a saved card, save_customer with consent_agreed_at saves the card first on a keyed payment |
save_payment_method | Save a card for a customer from a nonce, or in test mode from a test card token such as tok_visa (same as POST /v1/payment_methods); requires payment_methods:write |
get_payment_method / list_payment_methods | Saved cards, never the token; requires payment_methods:read |
delete_payment_method | Delete a saved card (same as DELETE /v1/payment_methods/{payment_method_id}); requires payment_methods:write |
simulate_terminal | Be the customer: approve, decline, cancel, timeout |
get_payment | Current state of one payment |
explain_payment | Stored payment/reversal evidence and uncertainty in the key's mode; requires payments:read, refunds:read and events:read together; see explain-payment |
list_merchants / get_merchant | Find and inspect merchants; requires merchants:read |
list_payments | Find payments by merchant, exact reference or state; requires payments:read |
list_refunds / get_refund | Inspect recorded refunds and voids without retrying them; requires refunds:read |
get_receipt | Existing succeeded payment's public receipt link; requires payments:read |
list_webhooks / get_webhook | Endpoint configuration without signing secrets; requires webhooks:read |
list_deliveries / get_delivery | Recorded attempts without sending or redelivering anything; requires webhooks:read |
refund_payment / void_payment | Reverse a succeeded payment |
list_events | The event ledger; pass next_cursor as cursor with unchanged merchant/type/since filters to read older pages; requires events:read and preserves existing live-read support |
get_event | Retrieve one stored public event in the key's mode; requires events:read. Payloads may contain metadata, receipt bearer URLs and public processor identifiers |
create_product / update_product / list_products / get_product | Products; requires catalog:write or catalog:read; see catalog |
create_price / update_price / list_prices / get_price | Prices; immutable amounts, archive with update_price |
create_coupon / list_coupons / get_coupon | Coupons |
create_promotion_code / update_promotion_code / list_promotion_codes | Promotion codes |
preview_discount | What a promotion code takes off a price; writes nothing |
import_stripe_catalog | Recreate a Stripe catalog in one merchant with a Stripe restricted read-only key; dry run by default; creates only; see migrate-from-stripe-catalog |
create_customer / get_customer / list_customers / update_customer | Customers; requires customers:write or customers:read; no delete tool; see customers |
register_webhook | An endpoint plus its signing secret (shown once) |
verify_webhook | The webhook scorecard (same as POST /v1/webhooks/{webhook_id}/verify) |
send_sample_event | One sample billing event to an endpoint that subscribes to its type, test mode only (same as POST /v1/webhooks/{webhook_id}/test with event_type); see billing-webhooks |
create_checkout_session / get_checkout_session / list_checkout_sessions / expire_checkout_session | Hosted checkout, payment and subscription mode; requires checkout_sessions:write or checkout_sessions:read; see checkout |
create_subscription | Start a subscription on a saved card (same as POST /v1/subscriptions) under a key derived from your request_key; requires subscriptions:write and payment_methods:charge |
get_subscription / list_subscriptions | Read subscriptions; requires subscriptions:read |
update_subscription | Upgrade, downgrade, cancel at period end, default card or metadata, one kind of change per call, with a request_key; requires subscriptions:write (and payment_methods:charge for a change charged now) |
cancel_subscription / cancel_scheduled_change | Cancel now; remove a scheduled plan change; requires subscriptions:write |
list_invoices / get_invoice / preview_invoice | Read invoices, the next renewal's preview and a plan change's preview; requires invoices:read, and catalog:read as well to preview a plan change. preview_invoice names the subscription in subscription (as the REST body does), not subscription_id |
pay_invoice / void_invoice | Charge an open invoice now (with a request_key; also payment_methods:charge), or void it; requires subscriptions:write |
create_portal_session | A one-time customer portal link; requires subscriptions:write |
create_test_clock / get_test_clock / advance_test_clock / delete_test_clock | Test clocks, test mode only; see test-billing-with-test-clocks |
fail_next_charges / resolve_invoice_hold | Failure injection on a test card, and ending an injected hold, test mode only |
lift_card_block | Lift a test card's hard-decline blocks after a rehearsal, test mode only |
confirm_checkout_session | Pay a checkout session with a test card token (tok_visa and four declining ones), no browser, test mode only; requires checkout_sessions:write |
get_billing_settings | Read a merchant's billing settings: the retry ladder (which decline is the last), the final action, reminder days. No tool changes them: send POST /v1/billing_settings (see build-subscriptions, step 0, to set subscription_guard) |
Reads require matching scope, platform and environment; full grants the documented operations. Empty/unknown scopes grant no protected access. List tools use limit and cursor, returning has_more and next_cursor. Payment search rejects a card-number-looking reference before auditing. Receipt URLs are public bearer links. Live keys support connected-merchant writes, Collect, terminal discovery, event reads and payment explanations. create_sandbox_merchant, set_terminal_behavior and simulate_terminal remain test-only. Each platform may make 60 tool calls per minute; past that a tool answers rate_limited with the seconds to wait.
MCP resources: zeropoint://llms.txt, zeropoint://openapi.json, the resource template zeropoint://docs/{slug} (substitute a slug to read one doc), and the named guides zeropoint://guides/card-present, zeropoint://guides/keyed, zeropoint://guides/webhooks, zeropoint://guides/idempotency, zeropoint://guides/errors, zeropoint://guides/card-on-file, zeropoint://guides/checkout, zeropoint://guides/subscriptions. MCP prompts: getting_started, integrate_card_present, integrate_keyed, integrate_card_on_file, set_up_pricing, integrate_checkout, integrate_subscriptions.
Saved cards
Customers and saved cards (card on file) are available in test mode (a test card token such as tok_visa saves one with no browser: sandbox, "Test card tokens"), and in live mode once ZeroPoint switches them on for your platform (going-live). Saving a card fires payment_method.attached and deleting it payment_method.detached; both are billing events, sent only to webhook endpoints that list them. The five scopes customers:read, customers:write, payment_methods:read, payment_methods:write and payment_methods:charge come with full. Start with saved-cards, then save-a-card and charge-a-saved-card.
Subscriptions
Subscriptions, invoices, the customer portal, test clocks and failure injection are available in test mode. A subscription's first payment is charged when it is created or bought through checkout; the scheduler that renews subscriptions on real time is not switched on yet, so renewals, retries and invoice.upcoming run when you advance a test clock. A live merchant is refused with billing_unavailable until ZeroPoint switches billing on for your platform. ZeroPoint sends no email to your customers; send your own from the billing events. Start with subscriptions, then build-subscriptions, upgrades-downgrades-and-cancel, failed-renewals-and-retries, test-billing-with-test-clocks, billing-events and, when porting Stripe code, coming-from-stripe.
Reconciliation
Every five minutes the loop compares our records against each connected live business's transaction feed using its merchant credentials, plus the shared sandbox business where configured. Live polls are forced to dry run and cursors stay frozen. Unresolved rows remain unresolved. Apply requires a separate Tier M settlement-batch timestamp probe and next-link paging fix before deliberate per-business enablement. See reconciliation and going-live.
Next release
Importing transactions rung up directly on a terminal that were never started through this API or this dashboard, and settlement and payout reporting.
Countries and currency
United States businesses and US dollars only. Every amount is usd. A merchant whose connected payments account is not a US, USD account stays connected but its card payments are held (card_payments_held on the merchant, 403 processor_currency_unsupported on every card request); see connect-a-merchant.
Live mode
A live key can create and connect merchants, then use live payment, reversal, physical terminal and webhook operations. Complete connect-a-merchant and going-live, including owner acceptance and webhook verification, before the first live payment. Local tests do not authorize real-money trials.