ZeroPoint documentation
Guides and concepts for taking payments with ZeroPoint, in reading order. Coding agents read the same pages as JSON at /v1/docs and as a list at /llms.txt.
Guides
- Getting startedConfirm your key, learn the conventions, and see what you can build today, in five minutes.
- Connect your coding agentConnect Claude Code, Cursor, or the Claude API with your API key from the environment, or sign the Claude app, ChatGPT or Cursor in with your email.
- API conventionsObjects, lists, ids, integer amounts, request ids, and bounded idempotency conventions for the supported API.
- ErrorsOne envelope, a small set of types, and stable codes you branch on instead of parsing messages.
- Accept a card-present payment in five callsCreate a merchant and a simulated terminal, push a payment, choose the outcome, and read the result, with no hardware.
- Accept a keyed (card-not-present) paymentEmbed the hosted card form, get a one-time nonce in the browser, and charge it with one request that returns the final result.
- Handle every payment stateThe payment state machine, every failure_code, and how to wait for a result without guessing.
- Webhooks: register, verify, retryRegister an HTTPS endpoint (an empty filter means payment events only; billing events are opt-in), verify the ZeroPoint-Signature header in ten lines, handle retries and out-of-order events, catch up from the event list, and rotate secrets without downtime.
- Refunds and voidsReverse a succeeded payment in full or in part, know when to void instead, and read the result.
- ReconciliationHow we catch the ways our records can drift from the processor's, the promise we hold to when we do, and every event and reason a reconciliation pass can produce.
- Tested integration componentsRetrieve complete reviewed code, instructions and tests through MCP before building payment plumbing from scratch.
- Integrate an antique-store POS with the terminal reference componentsA read-first recipe for composing the reviewed Node terminal checkout, webhook receiver and order-evidence components into an existing antique store POS.
- Place payment UI in your appReuse checkout, status, receipt and error panels with explicit host callbacks and uncertain-outcome handling.
- Troubleshoot a terminal integration safelyRead checkout snapshots, webhook receiver responses, and order-evidence dispositions without retrying an uncertain payment.
- Connect a merchant's own payments accountA merchant opens a GoDaddy Payments account through ZeroPoint's referral link, then connects it to your merchant record in one click; from then on their payments run on their own account.
- Explain a stored paymentRead payment and reversal evidence with explicit uncertainty, without another processor request.
- Before your first live paymentConnect the merchant's account, verify webhook delivery and complete acceptance before using live payment writes.
- Billing webhooks: Stripe-shaped events, and where they differBilling events (checkout, invoice, subscription, customer, payment method) are opt-in, Stripe-shaped, and carry both Stripe period layouts. How to subscribe, verify, catch up, and port a Stripe handler, with the event mapping table.
- Accept payments with hosted checkoutCreate a checkout session on your server, redirect the buyer to its url, fulfil once per session on the checkout.session.completed webhook, and check the session before showing paid.
- CustomersCreate, read, change and delete the customers of a merchant, the owners of saved cards; the fields, the Stripe id link, what a delete refuses and what it erases, and the customer events.
- Migrate from Stripe CheckoutHow Stripe Checkout Session names map to ZeroPoint checkout sessions, what is the same, what differs, and what is not supported.
- Save a card for later chargesCreate a customer, show the merchant's terms, take the card in the hosted form in save mode, and save it, alone or with a first payment in the same call.
- Charge a saved cardCharge a saved payment method with method card_on_file, handle every outcome, and retry without ever charging twice.
- Move a catalog from StripeRecreate your Stripe products, prices, coupons and promotion codes in one ZeroPoint merchant with a Stripe restricted read-only key; the dry run, what is recreated, what is not and why, and why customers and saved cards do not move this way.
- Sell a subscription in five callsA monthly plan end to end in the sandbox. Create a product and a recurring price, open a checkout session in subscription mode, provision on the webhook, and give the customer the portal. With the MCP tool for each call.
- Upgrades, downgrades and cancelChange a subscription's plan or end it. Upgrades charge the prorated difference now and switch only after the charge is captured; downgrades wait for the period end; cancel is at period end, or now when you must.
- Failed renewals and retriesWhat happens when a renewal is declined. The retry schedule (+1, +3, +7 days by default, at most 8 retries), hard declines that are never retried and block the card, the per-card attempt ceilings, the final action, and what your app should do at each step.
- Test your billing with test clocks and failure injectionRun renewals, declines, retries, reminders and period ends in seconds. A test clock moves a customer's subscriptions through time with the real billing code; fail_next_charges makes a test card's next charges decline or go unknown. Test mode only.
- Billing events referenceEvery billing event type, when it fires, what data.object holds, and what your handler should do with it, including invoice.upcoming three days before a renewal. ZeroPoint sends no email to your customers; your app sends its own from these events.
- Coming from StripePoint the official Stripe SDK at ZeroPoint by changing the base URL and the key. Which billing calls work today, which are refused by name and what to use instead, and the behaviour differences a ported app must handle.
Concepts
- Modes, terminals, and payment methodsTest versus live keys, physical versus simulated terminals, and card-present versus keyed entry, explained once.
- What is available in this releaseThe exact endpoints and MCP tools that exist right now, and what arrives next, so you never guess at a URL.
- The hosted card formZeroPoint hosts the card form; your page embeds it in an iframe and receives a one-time nonce over postMessage, so card data never touches your code.
- Terminal hardware and discoveryWhich card readers exist, how serial numbers tell physical from virtual devices, and what discovery returns.
- How money moves (powered by GoDaddy Payments)Sandbox orchestration, which reversal applies when, and preserving identity through uncertain outcomes.
- How the sandbox worksWhat is real and what is simulated with a test key, how simulated terminals behave, and how to exercise every outcome.
- Hosted checkoutA checkout session is a ZeroPoint-hosted payment page for a fixed amount. You create it on your server, send the buyer to its url, and fulfil on the checkout.session.completed webhook.
- Catalog: products, prices, coupons and promotion codesHow to set up what a merchant sells (products and immutable prices, monthly, yearly or one time) and its discounts (coupons and promotion codes), with a worked example in integer cents, the discount math, and the limits of this version.
- Saved cards (card on file)Customers and saved payment methods. What ZeroPoint stores, the status of a saved card and why it becomes unusable, who holds the cardholder's agreement, and what is not offered.
- Subscriptions and invoicesHow a subscription and its invoices behave: statuses, when the period moves, holds while a charge is being confirmed, plan changes, cancels, refunds, the customer portal, and what runs only on test clocks in this release.