ZeroPointPayments

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 pathAuthPurpose
GET /v1/meBearerConfirm your key and mode

merchants

Method and pathAuthPurpose
POST /v1/merchantsBearerCreate a merchant in the key's mode
GET /v1/merchantsBearerList merchants
GET /v1/merchants/{merchant_id}BearerRetrieve a merchant
GET /v1/merchants/{merchant_id}/collect-configBearerGet the keyed-entry (hosted card form) configuration
POST /v1/merchants/{merchant_id}/connectBearerGet a one-time link for the merchant to connect their own payments account

terminals

Method and pathAuthPurpose
GET /v1/merchants/{merchant_id}/terminalsBearerList a merchant's terminals
POST /v1/merchants/{merchant_id}/terminalsBearerCreate a simulated terminal or register a physical one
POST /v1/merchants/{merchant_id}/terminals/discoverBearerDiscover physical devices on the processor account
GET /v1/terminals/{terminal_id}BearerRetrieve a terminal
PATCH /v1/terminals/{terminal_id}BearerUpdate a terminal
POST /v1/terminals/{terminal_id}/pingBearerCheck whether a terminal is reachable

payments

Method and pathAuthPurpose
POST /v1/paymentsBearerCreate 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/paymentsBearerList payments
GET /v1/payments/{payment_id}BearerRetrieve a payment
POST /v1/payments/{payment_id}/cancelBearerCancel a terminal payment
GET /v1/payments/{payment_id}/receiptBearerGet the hosted receipt URL
POST /v1/payments/{payment_id}/refundBearerRefund a payment
POST /v1/payments/{payment_id}/voidBearerVoid a payment
GET /v1/payments/{payment_id}/refundsBearerList refunds and voids of a payment
GET /v1/refunds/{refund_id}BearerRetrieve a refund
POST /v1/refundsBearerRefund a payment under Stripe's name (payment_intent, amount); never voids
GET /v1/refundsBearerList refunds (Stripe's refunds.list)
GET /v1/payment_intentsBearerList payments as Stripe PaymentIntents (read only)
GET /v1/payment_intents/{payment_intent_id}BearerRetrieve a payment as a PaymentIntent (read only)
POST /v1/sandbox/terminals/{terminal_id}/simulateBearerBe the customer on a simulated terminal (test mode only)

catalog (what a merchant sells and its discounts; see catalog)

Method and pathAuthPurpose
POST /v1/productsBearerCreate a product
GET /v1/productsBearerList products
GET /v1/products/{product_id}BearerRetrieve a product
PATCH /v1/products/{product_id}BearerUpdate or archive a product
POST /v1/products/{product_id}BearerThe same update, with Stripe's verb
DELETE /v1/products/{product_id}BearerDelete a product that has no prices
POST /v1/pricesBearerCreate a price (one time, monthly or yearly; immutable)
GET /v1/pricesBearerList prices
GET /v1/prices/{price_id}BearerRetrieve a price
PATCH /v1/prices/{price_id}BearerArchive a price, move its lookup key, change nickname or metadata
POST /v1/prices/{price_id}BearerThe same update, with Stripe's verb
POST /v1/prices/{price_id}/discount_previewBearerWhat a promotion code takes off a price; writes nothing
POST /v1/couponsBearerCreate a coupon
GET /v1/couponsBearerList coupons
GET /v1/coupons/{coupon_id}BearerRetrieve a coupon
PATCH /v1/coupons/{coupon_id}BearerChange a coupon's name or metadata
POST /v1/coupons/{coupon_id}BearerThe same update, with Stripe's verb
DELETE /v1/coupons/{coupon_id}BearerStop new uses of a coupon
POST /v1/promotion_codesBearerCreate a promotion code
GET /v1/promotion_codesBearerList promotion codes (filter by code)
GET /v1/promotion_codes/{promotion_code_id}BearerRetrieve a promotion code
PATCH /v1/promotion_codes/{promotion_code_id}BearerDeactivate a code, change metadata
POST /v1/promotion_codes/{promotion_code_id}BearerThe same update, with Stripe's verb

customers (scopes customers:read, customers:write; see customers)

Method and pathAuthPurpose
POST /v1/customersBearerCreate a customer of a merchant
GET /v1/customersBearerList customers (filters merchant_id, email)
GET /v1/customers/{customer_id}BearerRetrieve a customer
PATCH /v1/customers/{customer_id}BearerUpdate a customer (email, name, metadata), link its stripe_id
POST /v1/customers/{customer_id}BearerThe same update with Stripe's verb
DELETE /v1/customers/{customer_id}BearerDelete 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 pathAuthPurpose
POST /v1/payment_methodsBearerSave a card for a customer from a hosted-form nonce
GET /v1/payment_methodsBearerList saved cards (filters merchant_id, customer, include_deleted)
GET /v1/payment_methods/{payment_method_id}BearerRetrieve a saved card, deleted ones included
DELETE /v1/payment_methods/{payment_method_id}BearerDelete a saved card and erase its token
POST /v1/payment_methods/{payment_method_id}/detachBearerThe same delete under Stripe's name
GET /v1/customers/{customer_id}/payment_methodsBearerList one customer's saved cards

checkout (hosted payment pages; scopes checkout_sessions:read, checkout_sessions:write; see checkout)

Method and pathAuthPurpose
POST /v1/checkout/sessionsBearerCreate a hosted checkout session: mode: payment for a one-time amount, mode: subscription for a recurring catalog price
GET /v1/checkout/sessionsBearerList checkout sessions
GET /v1/checkout/sessions/{session_id}BearerRetrieve a session (its url while it is open)
GET /v1/checkout/sessions/{session_id}/line_itemsBearerA session's lines
POST /v1/checkout/sessions/{session_id}/expireBearerClose 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 pathAuthPurpose
POST /v1/subscriptionsBearerStart a subscription on a saved card and charge the first period
GET /v1/subscriptionsBearerList subscriptions (filters customer, status, price, merchant_id)
GET /v1/subscriptions/{subscription_id}BearerRetrieve a subscription
POST /v1/subscriptions/{subscription_id}BearerUpgrade (charged now), downgrade (at period end), cancel at period end and undo, default card, metadata
DELETE /v1/subscriptions/{subscription_id}BearerCancel now
POST /v1/subscriptions/{subscription_id}/scheduled_change/cancelBearerRemove a plan change scheduled for the period end
GET /v1/invoicesBearerList invoices (filters customer, subscription, status)
GET /v1/invoices/{invoice_id}BearerRetrieve an invoice
POST /v1/invoices/create_previewBearerThe 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}/payBearerCharge an open invoice now
POST /v1/invoices/{invoice_id}/voidBearerVoid an open invoice nothing was paid on
POST /v1/billing_portal/sessionsBearerA one-time link to the hosted customer portal
GET /v1/billing_settingsBearerA 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_settingsBearerChange 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_clocksBearerCreate a test clock (test mode only)
GET /v1/test_helpers/test_clocksBearerList test clocks
GET /v1/test_helpers/test_clocks/{test_clock_id}BearerRetrieve a test clock
POST /v1/test_helpers/test_clocks/{test_clock_id}/advanceBearerMove a clock forward; renewals, retries and reminders run on the way
DELETE /v1/test_helpers/test_clocks/{test_clock_id}BearerDelete a clock, its subscriptions and customers
POST /v1/test_helpers/payment_methods/{payment_method_id}/fail_next_chargesBearerMake 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_blockBearerLift a test card's hard-decline blocks after a rehearsal
POST /v1/test_helpers/invoices/{invoice_id}/resolve_holdBearerEnd an injected hold
POST /v1/test_helpers/checkout/sessions/{session_id}/confirmBearerPay 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 pathAuthPurpose
POST /v1/webhooksBearerRegister a webhook endpoint
GET /v1/webhooksBearerList webhook endpoints
GET /v1/webhooks/{webhook_id}BearerRetrieve a webhook endpoint
PATCH /v1/webhooks/{webhook_id}BearerUpdate a webhook endpoint
DELETE /v1/webhooks/{webhook_id}BearerDelete a webhook endpoint
POST /v1/webhooks/{webhook_id}/rotate-secretBearerRotate the signing secret
POST /v1/webhooks/{webhook_id}/testBearerSend a signed test event, or one sample billing event with event_type (test mode only)
POST /v1/webhooks/{webhook_id}/verifyBearerScore a webhook receiver (signed event, replay, bad signature)
GET /v1/webhooks/{webhook_id}/deliveriesBearerList deliveries to an endpoint
GET /v1/deliveries/{delivery_id}BearerRetrieve a delivery
POST /v1/deliveries/{delivery_id}/redeliverBearerRedeliver an event
GET /v1/eventsBearerList events
GET /v1/events/{event_id}BearerRetrieve an event

sandbox

Method and pathAuthPurpose
POST /sandbox/webhook-sinknoneA public webhook target that always answers 200, for testing before your receiver exists

docs

Method and pathAuthPurpose
GET /v1/docsnoneList every guide and concept
GET /v1/docs/{slug}noneRead one document as JSON
GET /llms.txtnoneAgent-readable index of the docs

meta

Method and pathAuthPurpose
GET /healthnoneService health
GET /health/pilotnoneOperational 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.

ToolPurpose
search_docsFull-text search over the docs
get_docRead one document
get_openapiFetch the REST contract
list_snippets / get_snippetRetrieve complete reviewed server-side components with instructions, hashes and tests; see integration-snippets
integration_checklistWhat you have completed, what is available now, and how to do it
create_sandbox_merchantA merchant plus one simulated terminal (auto_approve)
connect_merchant_processorA one-time link for a merchant to connect their own payments account; see connect-a-merchant
list_terminalsA merchant's terminals
discover_terminalsCard readers on the merchant's processor account (physical hardware)
register_terminalRegister a discovered reader as a physical terminal
set_terminal_behaviormanual, auto_approve, or auto_decline on a simulated terminal
get_collect_configThe merchant's hosted card form URL (and save_form_url for saving a card); test cards only in test mode
create_paymentPOST /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_methodSave 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_methodsSaved cards, never the token; requires payment_methods:read
delete_payment_methodDelete a saved card (same as DELETE /v1/payment_methods/{payment_method_id}); requires payment_methods:write
simulate_terminalBe the customer: approve, decline, cancel, timeout
get_paymentCurrent state of one payment
explain_paymentStored 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_merchantFind and inspect merchants; requires merchants:read
list_paymentsFind payments by merchant, exact reference or state; requires payments:read
list_refunds / get_refundInspect recorded refunds and voids without retrying them; requires refunds:read
get_receiptExisting succeeded payment's public receipt link; requires payments:read
list_webhooks / get_webhookEndpoint configuration without signing secrets; requires webhooks:read
list_deliveries / get_deliveryRecorded attempts without sending or redelivering anything; requires webhooks:read
refund_payment / void_paymentReverse a succeeded payment
list_eventsThe 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_eventRetrieve 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_productProducts; requires catalog:write or catalog:read; see catalog
create_price / update_price / list_prices / get_pricePrices; immutable amounts, archive with update_price
create_coupon / list_coupons / get_couponCoupons
create_promotion_code / update_promotion_code / list_promotion_codesPromotion codes
preview_discountWhat a promotion code takes off a price; writes nothing
import_stripe_catalogRecreate 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_customerCustomers; requires customers:write or customers:read; no delete tool; see customers
register_webhookAn endpoint plus its signing secret (shown once)
verify_webhookThe webhook scorecard (same as POST /v1/webhooks/{webhook_id}/verify)
send_sample_eventOne 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_sessionHosted checkout, payment and subscription mode; requires checkout_sessions:write or checkout_sessions:read; see checkout
create_subscriptionStart 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_subscriptionsRead subscriptions; requires subscriptions:read
update_subscriptionUpgrade, 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_changeCancel now; remove a scheduled plan change; requires subscriptions:write
list_invoices / get_invoice / preview_invoiceRead 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_invoiceCharge an open invoice now (with a request_key; also payment_methods:charge), or void it; requires subscriptions:write
create_portal_sessionA one-time customer portal link; requires subscriptions:write
create_test_clock / get_test_clock / advance_test_clock / delete_test_clockTest clocks, test mode only; see test-billing-with-test-clocks
fail_next_charges / resolve_invoice_holdFailure injection on a test card, and ending an injected hold, test mode only
lift_card_blockLift a test card's hard-decline blocks after a rehearsal, test mode only
confirm_checkout_sessionPay 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_settingsRead 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.