{"object":"doc","slug":"errors","title":"Errors","summary":"One envelope, a small set of types, and stable codes you branch on instead of parsing messages.","tags":["guide","errors"],"body":"# Errors\n\nEvery REST error has this shape, and every MCP tool error is an `is_error` result whose text contains this same JSON envelope (after the tool name prefix the MCP protocol adds):\n\n```json\n{ \"error\": { \"type\": \"authentication\", \"code\": \"api_key_invalid\", \"message\": \"...\", \"param\": null, \"request_id\": \"req_...\" } }\n```\n\nA 401 on the MCP endpoint itself is different: it is the transport rejecting the connection, with `WWW-Authenticate: Bearer error=\"invalid_token\"` and no envelope; fix the Authorization header and reconnect. An authentic API key tied to a suspended platform instead receives HTTP 403 with the `platform_suspended` envelope.\n\nMCP returns `rate_limited` when a platform exceeds 60 tool calls per minute (the message says how long to wait; nothing was done). `live_mode_unavailable` is reserved for test-only simulation surfaces. Connected live merchants can use payment writes; an unconnected live merchant receives `503 processor_not_connected`.\n\nBranch on `code`. Messages are for humans and may change. `param` names the offending field or header when there is one.\n\nA request from a Stripe server SDK gets Stripe's error shape instead (the API conventions guide, \"Stripe SDK callers\"); every other caller gets the envelope above, unchanged. `param` never repeats a field name or metadata key that is shaped like a card number or holds characters other than letters, digits and underscores: it then names the declared field above it, or is `null`.\n\nValidation failures are `400` with this envelope and code `parameter_invalid`, never `422`. `422` means only `idempotency_key_reused`. The OpenAPI document lists each operation's error statuses with this envelope as the `ErrorResponse` schema.\n\n## Types\n\n| type | HTTP | Meaning |\n|---|---|---|\n| `invalid_request` | 400, 405, 413, 422 | Malformed or missing input |\n| `authentication` | 401 | Missing, malformed, or invalid API key |\n| `permission` | 403 | The key is valid but not allowed to do this |\n| `not_found` | 404 | No such resource for this platform |\n| `conflict` | 409 | State conflict, including idempotency in progress |\n| `rate_limited` | 429 | Slow down; honor `Retry-After` |\n| `payment_error` | 402 | The payment itself failed; see the code |\n| `upstream_error` | 502 or 503 | The payments network failed, or the sandbox has no processor account; retry with the same Idempotency-Key on a 502 |\n| `internal_error` | 500 | Our fault; retry with the same Idempotency-Key, quote `request_id` |\n\n## Codes available in this release\n\n| code | type | HTTP | What to do |\n|---|---|---|---|\n| `api_key_missing` / `api_key_malformed` / `api_key_invalid` | authentication | 401 | Fix the Authorization header |\n| `platform_suspended` | permission | 403 | Contact the operator; unsuspend does not restore revoked keys |\n| `resource_limit_exceeded` | conflict | 409 | Reuse existing sandbox resources, finish pending work, or ask the operator to review the limit; do not retry with a new idempotency key |\n| `signup_limit_exceeded` | rate_limited | 429 | Daily signup capacity is exhausted; honor Retry-After |\n| `sandbox_daily_limit_exceeded` | conflict | 409 | Test mode only: this platform reached its daily ceiling for new test payments or test events. Nothing was created. Wait for `Retry-After` (it resets at 00:00 UTC), then retry with the same idempotency key, or ask the operator; do not retry in a loop |\n| `email_domain_blocked` | invalid_request | 400 | Use a non-disposable address or ask the operator for an exact-domain exception |\n| `live_mode_unavailable` | permission | 403 | Simulation requires a `zp_test_` key; use connected physical hardware or keyed entry in live mode |\n| `parameter_invalid` | invalid_request | 400 | Fix the field named in `param`. On `GET /v1/prices` with `lookup_keys` and no merchant named, `param` `merchant_id` means the key exists on more than one of your merchants: send `merchant_id` or the `ZeroPoint-Account` header |\n| `parameter_missing` | invalid_request | 400 | A required field is missing (for example `payment_intent` on `POST /v1/refunds`); send the field named in `param` |\n| `parameter_unavailable` | invalid_request | 400 | The parameter named in `param` is not offered (for example `ending_before` on a list); drop it |\n| `parameter_unknown` | invalid_request | 400 | A query or body parameter this route does not take, refused by name rather than ignored; `param` names it. Drop it |\n| `idempotency_key_required` | invalid_request | 400 | Add the header |\n| `idempotency_key_reused` | invalid_request | 422 | New key for a new request |\n| `idempotency_in_progress` | conflict | 409 | Wait `Retry-After` seconds |\n| `resource_missing` | not_found | 404 | Check the id and the key that created it |\n| `route_not_found` | not_found | 404 | Check the path against the OpenAPI document |\n| `method_not_allowed` | invalid_request | 405 | Check the method against the OpenAPI document |\n| `device_not_found` | not_found | 404 | Run discover, use a listed `device_id` |\n| `terminal_already_registered` | conflict | 409 | Use the existing terminal id in the message |\n| `physical_terminal_unavailable` | invalid_request | 400 | Test mode reserves physical terminals; use a simulated one |\n| `terminal_busy` | conflict | 409 | One payment at a time per physical terminal; the message names it, cancel it or wait |\n| `terminal_offline` | payment_error | 402 | Ping the terminal, retry |\n| `platform_reference_in_use` | conflict | 409 | Continue with the payment id in the message |\n| `payment_resume_mismatch` | conflict | 409 | A pending keyed payment was retried with a different nonce or amount; nothing was sent to the processor. Retry the original body, or use a new `platform_reference` once the payment ends |\n| `payment_in_progress` | conflict | 409 | Another request for the same merchant and `platform_reference` has a card charge (keyed or saved card) in flight; nothing was sent to the processor for this one. Wait `Retry-After` seconds and retry the same request: it reports that payment's outcome and never charges twice. Also answered with `Retry-After: 60` when the processor answered and ZeroPoint has not finished recording it; the same retry finishes it |\n| `nonce_already_used` | conflict | 409 | This nonce already saved a card, or was already charged, on this merchant; the message names the `pm_` or `pay_` id. Charge that saved card, or collect the card again for a new nonce |\n| `card_not_saved` | payment_error | 402 | Save a card: the processor gave no usable saved card (or the card came from a wallet, which cannot be saved). Nothing was stored. Ask the cardholder to enter the card again. On a one-step payment it is a `failure_code` instead |\n| `payment_method_unusable` | conflict | 409 | Charging a saved card that cannot be charged: deleted, its token erased, or the merchant disconnected or changed payments account. No payment was written and the `platform_reference` is still free. Fix the cause (usually: save the card again) and send again under a new `Idempotency-Key` with the same reference. See `charge-a-saved-card` |\n| `payment_resume_method_unusable` | conflict | 409 | A `pending` saved-card payment holds this `platform_reference` and may have captured, and its card can no longer be used to finish it. Nothing was sent. Do not charge again under a new reference: retry later or read the payment; unresolved, it ends `failed` with `processor_unverified`. Sent with `Retry-After` and never cached under the key |\n| `payment_method_in_use` | conflict | 409 | Deleting a saved card while a `pending` payment still uses it. Wait `Retry-After` seconds and delete again |\n| `card_on_file_unavailable` | invalid_request | 400 | Live mode: saved cards are not switched on for this platform yet. Nothing was sent. See `going-live` |\n| `save_attempt_limit_exceeded` | conflict | 409 | Live mode: the platform's daily allowance of card saves is used up. It resets at 00:00 UTC (`Retry-After`); ask ZeroPoint if your volume needs more |\n| `payment_state_invalid` | conflict | 409 | The payment is already final |\n| `payment_not_refundable` | conflict | 409 | Only succeeded, not fully refunded payments. Also returned while an earlier refund or void of the payment has an unknown outcome, and for a retry of an unknown refund first attempted more than 23 hours 30 minutes ago, which is never re-sent: stop, do not refund by other means, and contact support with the refund id |\n| `refund_exceeds_balance` | invalid_request | 400 | Lower `amount_cents` |\n| `already_voided` | conflict | 409 | Nothing left to reverse |\n| `not_settled_use_void` | conflict | 409 | Explicit processor settlement rejection only; obtain approval before a full void, never automatically substitute it for a partial refund. Never inferred from a generic HTTP 404. Observed on the sandbox: a refund before settlement succeeds (card-present sale on the dev Smart Terminal 11/16/2026, keyed sales 11/02/2026), so this code has not been seen there; other processor setups can still answer it and it is handled. Production behaviour is unverified: handle both outcomes |\n| `settled_use_refund` | conflict | 409 | Void only: the processor shows the sale settled, so nothing was sent and nothing reversed. Refund it instead (`POST /v1/payments/{id}/refund`) if the money should go back; that is your or the merchant's decision, never automatic. Final for the key |\n| `receipt_unavailable` | conflict | 409 | Wait for `succeeded` |\n| `webhook_url_invalid` | invalid_request | 400 | https on a public host |\n| `sandbox_processor_unconfigured` | upstream_error | 503 | Use simulated terminals here |\n| `processor_not_connected` | upstream_error | 503 | A live merchant has no payments account yet; send its owner the link from `POST /v1/merchants/{id}/connect` |\n| `connect_unavailable` | upstream_error | 503 | This deployment cannot connect merchants yet; ask ZeroPoint |\n| `return_url_invalid` | invalid_request | 400 | https only (localhost http while developing), no credentials or fragment |\n| `processor_mode_mismatch` | permission | 403 | The merchant's connected payments account does not match its mode: a test merchant runs only on a processor test account, a live merchant only on a real one. Nothing was sent to the processor. Also a refusal `reason` on the connect link; see `connect-a-merchant`. Also the Stripe catalog import when the Stripe key's mode is not your key's mode |\n| `processor_currency_unsupported` | permission | 403 | The merchant is connected, but its payments account does not read as a United States account charging in USD, so its card payments are held; the message names the store currency and country the account reports. ZeroPoint serves US businesses and charges in USD only today. Returned by every request that would send card activity for that merchant (create payment, refund, void, terminal register, discover and ping, `collect-config`, and the hosted card form; reads and cancel keep working), before anything is written or sent: no payment, refund or terminal is created and your `platform_reference` stays free. The merchant object says `card_payments_held: true`. Not retryable as is: contact ZeroPoint, and reconnect the merchant once its account is a US, USD account; see `connect-a-merchant`. Also the `hold` value on the connect return link |\n| `processor_already_connected` | conflict | 409 | Connect link refusal `reason` only (shown to the merchant, sent to your `return_url`): that payments account is connected through another platform |\n| `connect_origin_invalid` | permission | 403 | Browser only: the Continue button of the connect consent page was posted from somewhere other than that page. Send the merchant the `connect_url` itself; never post to it |\n| `connect_consent_required` | permission | 403 | Connect link refusal `reason` only: the merchant did not press Continue on ZeroPoint's consent page in the browser that approved. Ask for a new link |\n| `processor_unavailable` | upstream_error | 502 | Outcome unverified; retry only the same request/key, or ask the operator to resolve it |\n| `payload_too_large` | invalid_request | 413 | A declared `Content-Length` is capped at 1 MB; chunked (undeclared) bodies are rejected outright, send `Content-Length` instead |\n| `rate_limited` | rate_limited | 429 | Back off for `Retry-After`. Also returned by webhook `/test`, `/verify` and `/redeliver` at their own limits (runs, seconds spent waiting on your receiver, a paused endpoint; see the webhooks guide); nothing was sent or queued. Separately, a webhook delivery's `last_error` of `not delivered within 24 hours` means it went `dead` by age, not by a response of yours |\n| `internal_error` | internal_error | 500 | Retry once, quote `request_id` |\n| `temporarily_unavailable` | internal_error | 503 | ZeroPoint could not finish recording a change to a payment, and nothing was changed. Wait `Retry-After` seconds and retry the identical request with the same `Idempotency-Key` (MCP: the same tool call); it runs the change again. Never cached as an answer to the key |\n\n## Catalog and customer codes\n\n| code | type | HTTP | What to do |\n|---|---|---|---|\n| `parameter_immutable` | invalid_request | 400 | The field cannot change. For a price amount, currency, interval or product: create a new price and archive this one. For `stripe_id`: it is set once |\n| `product_has_prices` | conflict | 409 | Archive the product with `active: false` instead of deleting it |\n| `price_inactive` | invalid_request | 400 | The price or its product is archived; use an active price |\n| `lookup_key_in_use` | conflict | 409 | Another price holds the key; the message names it. Send `transfer_lookup_key: true` to move it |\n| `promotion_code_in_use` | conflict | 409 | An active code with the same text, in any case, exists on the merchant; pick another text or deactivate that one |\n| `coupon_invalid` | invalid_request | 400 | The coupon is deleted or no longer valid; create the code for another coupon |\n| `stripe_id_in_use` | conflict | 409 | Another object of the merchant has that `stripe_id`; the message names it and says if it was deleted. Do not create it again |\n| `stripe_key_refused` | invalid_request | 400 | Stripe catalog import: Stripe does not accept the restricted key (wrong, expired or deleted). Create a new one; see `migrate-from-stripe-catalog`. Nothing was imported |\n| `stripe_permission_missing` | invalid_request | 400 | Stripe catalog import: the key cannot read one of products, prices, coupons or promotion codes; the message names it. Give the key Read on it. Nothing was imported |\n| `stripe_catalog_too_large` | invalid_request | 400 | Stripe catalog import: more than 1000 objects of one kind. Nothing was imported; archive what you no longer sell in Stripe |\n| `stripe_unavailable` | upstream_error | 502 | Stripe catalog import: Stripe could not be reached, limited the key, or sent an answer the import cannot read. Nothing was imported; retry later |\n| `stripe_response_unreadable` | upstream_error | 502 | Stripe catalog import: one Stripe object, named in the message, has a shape the import cannot read, so the run stopped there. A dry run changed nothing; an apply keeps what it created before that object. Check the object in Stripe and run the import again: a re-run creates nothing twice |\n| `promotion_code_invalid` | invalid_request | 400 | The code does not exist, expired, or its coupon ended. In a discount preview it is the `refusal` of a `200` |\n| `promotion_code_not_applicable` | invalid_request | 400 | Wrong customer, product or minimum amount. In a discount preview it is the `refusal` of a `200` |\n| `promotion_code_exhausted` | conflict | 409 | No uses left, including a lost race for the last one. In a discount preview it is the `refusal` of a `200` |\n| `promotion_code_already_redeemed` | conflict | 409 | This customer used the code already (`once_per_customer`). In a discount preview it is the `refusal` of a `200` |\n| `customer_has_subscriptions` | conflict | 409 | Customer delete only: cancel the subscription the message names, then delete |\n| `payment_method_in_use` | conflict | 409 | A saved card is still needed. With `Retry-After`, a payment using it has not finished: retry after the wait. Without it, the message says what holds it |\n| `checkout_session_busy` | conflict | 409 | Customer delete only: a checkout for the customer is being paid; retry after `Retry-After` |\n| `checkout_outcome_unknown` | conflict | 409 | A checkout payment's outcome is still being confirmed. On create: another session for this `client_reference_id` (or this customer and plan) is held, and the error names it; on pay or expire: this session's earlier payment. Do not pay again or open another session; retrieve the session until it completes or expires. No `Retry-After` |\n| `checkout_subscription_refused` | conflict | 409 | Pay on the hosted page, or the test helper `POST /v1/test_helpers/checkout/sessions/{session_id}/confirm` (MCP `confirm_checkout_session`): the merchant's `subscription_guard` refused the purchase on the identity you gave the session. Nothing was written or charged. The message is the buyer's (\"We could not start this subscription. Nothing was charged...\"); the session's `duplicate_refusal` gives you the reason. The session expires after 3 such refusals, or at once when the buyer completed the plan elsewhere. Send the buyer to the portal instead |\n| `checkout_unavailable` | invalid_request | 400 | Hosted checkout is not switched on for live mode on this platform. Use a test key, or ask your ZeroPoint contact |\n\n## Subscription and invoice codes\n\nBilling runs in test mode in this release. Where a row says Retry-After, the MCP tools give the seconds as `retry_after` in the error. An unknown charge outcome is never a decline: never answer `invoice_reconciling` or `processor_unavailable` with a new key or a new card. See `subscriptions`.\n\n| code | type | HTTP | What to do |\n|---|---|---|---|\n| `billing_unavailable` | invalid_request | 400 | Billing is not switched on for this merchant (live mode in this release). Use a test key |\n| `test_mode_only` | invalid_request | 400 | Test clocks, failure injection, `test_clock` and test card tokens (`tok_visa`, the checkout confirm helper) work only with a test key and a test merchant |\n| `payment_method_required` | invalid_request | 400 | No saved card: send `default_payment_method` (or `payment_method` on an invoice pay) |\n| `price_not_recurring` | invalid_request | 400 | A subscription needs a recurring price; create one with `recurring` |\n| `customer_identity_required` | invalid_request | 400 | The merchant's `subscription_guard` is not `off` (it is `product` by default), so a subscription checkout session must name the buyer: send `customer`, `client_reference_id` or `customer_email`. Nothing was created |\n| `price_interval_unsupported` | invalid_request | 400 | Only prices billed every 1 month or every 1 year |\n| `proration_behavior_required` | invalid_request | 400 | An upgrade is charged now: send `proration_behavior: always_invoice` |\n| `proration_behavior_unsupported` | invalid_request | 400 | Only `always_invoice` is accepted |\n| `change_timing_unsupported` | invalid_request | 400 | A downgrade or annual to monthly switch applies at period end only |\n| `test_clock_deleted` | invalid_request | 400 | The customer's test clock was deleted; use a customer on a live clock |\n| `invoice_upcoming_none` | invalid_request | 400 | The subscription will not renew (canceled, ending at period end, or not active); there is nothing to preview |\n| `invoice_hold_not_injected` | invalid_request | 400 | Only a hold made by `fail_next_charges`, or an unverified or duplicate-screened payment on a test clock, can be resolved this way |\n| `payment_method_blocked` | payment_error | 402 | The card was hard declined at this merchant (for example lost or stolen). Nothing was sent. Ask for another card; saving the same card again does not unblock it |\n| `payment_failed` | payment_error | 402 | The plan change's payment did not succeed; the plan did not change |\n| `subscription_create_unresolved` | conflict | 409 | A subscription for this customer (the same price, or under the `product` and `customer` guards the same product or any) is still waiting for its first payment's outcome; the error names it. Retrieve it; do not create another |\n| `subscription_exists` | conflict | 409 | The merchant's `subscription_guard` matched a live subscription (`active`, `past_due` or `unpaid`) of this customer: the same price, the same product, or under `customer` any; the message says which, and the error names it. A scheduled change of another of their subscriptions onto what the guard matches counts too, even while that subscription is set to cancel at period end and its `scheduled_change` reads `null`; `POST /v1/subscriptions/{subscription_id}/scheduled_change/cancel` on that subscription frees it. Nothing was created. If it is past due, update the card; if it is set to cancel, undo the cancel |\n| `subscription_create_refused` | conflict | 409 | The first charge could not be claimed; nothing was created. Retry after `Retry-After` |\n| `subscription_inactive` | conflict | 409 | The subscription has ended, or its period is over; it cannot change |\n| `subscription_past_due` | conflict | 409 | Collect the open invoice before an upgrade |\n| `change_stale` | conflict | 409 | The plan change was refused before anything was sent and is over 1 hour old, or another change replaced it. Nothing was charged; start the change again with a new key |\n| `subscription_changed` | conflict | 409 | The subscription changed while the request ran; retry the same request after `Retry-After` (1) |\n| `invoice_changed` | conflict | 409 | The invoice changed while the request ran (a void), or since the portal page was read (Pay now); retry after `Retry-After` (1) |\n| `change_pending` | conflict | 409 | A plan change is being paid; the error names it. Retry with that change's key, or wait |\n| `change_not_applied` | conflict | 409 | The card was charged but the plan did not change; the payment is listed for a refund. Do not charge again |\n| `change_expired` | conflict | 409 | The period ended before the change's payment completed; the plan did not change and nothing was charged for it |\n| `renewal_due` | conflict | 409 | The period has ended and the renewal has not run yet; retry after `Retry-After` (120) |\n| `invoice_payment_in_progress` | conflict | 409 | A payment on this invoice is on the wire; retry the same request after `Retry-After` |\n| `invoice_reconciling` | conflict | 409 | A payment's outcome is unknown and being confirmed; retry the same request after `Retry-After` (300). Never a new key |\n| `invoice_not_payable` | conflict | 409 | The invoice is not open, its period has ended, or it cannot be paid now |\n| `invoice_not_open` | conflict | 409 | A paid or uncollectible invoice is never voided |\n| `invoice_hold_has_sale` | conflict | 409 | The processor has the sale: advance the clock and it is recorded as paid. Behind a duplicate screen only ZeroPoint can rule on it: delete the clock and start again |\n| `invoice_hold_hard_decline` | conflict | 409 | The processor shows a hard decline for the held payment: advance the clock and it is recorded as a decline and the card is blocked |\n| `invoice_hold_unverified` | conflict | 409 | The processor could not be read; retry after `Retry-After` |\n| `merchant_unchargeable` | conflict | 409 | Billing is paused for the merchant or its processor cannot be charged; nothing was sent. Retry the same request later |\n| `test_clock_advancing` | conflict | 409 | The clock is still advancing; poll it until `ready` |\n| `test_clock_advance_limit` | conflict | 409 | 3 clocks of this platform are already advancing; retry after `Retry-After`. Too far ahead is `parameter_invalid` on `frozen_time` |\n| `test_clock_subscription_time_base` | conflict | 409 | A subscription on the clock was created in another time base and would never renew; the message names it |\n| `test_clock_internal_failure` | conflict | 409 | The clock failed (its `status` is `internal_failure`) and can never advance again. Delete it and create a new one |\n| `invoice_pay_limit` | rate_limited | 429 | The card's attempt limits (3 unpaid sends per invoice in 24 hours, 10 per card in 30 days, 60 seconds apart, and the per-card ceilings). Retry after `Retry-After`, or use another card |\n| `billing_paused` | internal_error | 503 | Billing is paused for the deployment; try later |\n\n## failure_code values\n\nProcessor `REQUEST_ID_DUPLICATE` and `TXN_DUPLICATE` responses are not declines and do not become a public `already_processed` code. If bounded read-back cannot confirm the original transaction, the request returns `502 processor_unavailable` and retains its unresolved identity. `REQUEST_IN_PROGRESS` also remains unresolved. Reuse the original key/body only; never switch keys to force another charge or reversal. A keyed retry of a pending payment, under any key, is admitted only when its amount and nonce match the first attempt (ZeroPoint keeps a SHA-256 fingerprint of the nonce, never the nonce); otherwise it answers `409 payment_resume_mismatch` before any processor call. A keyed sale with an unrecognized answered response and no confirming read-back remains pending and retryable rather than being reported as a definite decline. The same holds for a keyed sale the processor answers with HTTP 408, 429, 401, 403, 404, a redirect, or any error that is not a 400 or 422 in its own error format: `502 processor_unavailable`, with the payment `pending` under its original request identity. A 401 or 403 there points at the merchant's processor authorization or permissions, not at the card. A 400 or 422 in the processor's error format is a refused request: `failed` with `nonce_invalid` when it names the nonce, otherwise `failed` with `processor_rejected`. Neither is ever reported as `card_declined`. Any answer that is not an approval is read as a refusal or a decline only when it is the processor's own answer to the payment's first and only send: on a retry of a `pending` payment, a re-send after a network error, or an answer read back from the processor's feed, the first send may have been charged with its answer lost, so the payment ends `failed` with `processor_unverified` (the processor's transaction id kept when it named one), never `card_declined`, `nonce_invalid` or `processor_rejected`.\n\nA payment or refund can succeed as a *request* (2xx) and still not move money: check `state` and, when it is not the happy path, `failure_code`. The handle-every-payment-state guide has the full table: `card_declined`, `duplicate_transaction`, `card_not_saved`, `nonce_invalid`, `processor_rejected`, `processor_unverified`, `canceled_on_terminal`, `canceled_by_platform`, `expired`, `terminal_error`, `transaction_not_found`, `amount_mismatch`, `partial_approval` (payments), and `processor_unverified`, `processor_rejected`, `not_settled`, `processor_not_connected` or `operator_confirmed_not_processed` (refunds; the refunds-and-voids guide has that table). On a refund, `processor_unverified` is NOT a refusal: `refund.failed` carrying it means the outcome is unknown and the refund may still land, so do not refund by other means; retry the same request with the same `Idempotency-Key`, or contact support with the refund id. `processor_unverified` means the processor answered a payment, refund, or void with a status we do not recognize: the money may or may not have moved, and our own row cannot yet say which. Reconciliation polls the processor's own transaction feed on a regular schedule and resolves this for you, with no action required on your side, where it is switched on to act (it acts on the shared sandbox today; connected live merchants are observed report-only and nothing on them is corrected yet, so confirm with your ZeroPoint contact before you count on this for a live merchant; until then an unresolved row there stays unresolved): once it can tell what actually happened, a refund or void that in fact reached the processor is corrected to `succeeded` and the payment's balance is fixed; a payment whose charge in fact went through despite being marked `failed` is never turned into a success (a failed payment stays failed), but the standing authorization behind it is voided so the money does not sit charged forever behind a payment your system already gave up on. Until reconciliation runs, treat the payment or refund as unresolved rather than as a final answer: do not retry the same money action on a guess, and do not assume the customer was or was not charged. `amount_mismatch` means the terminal authorized something other than what you asked for (reference, currency, order amount, or a tip you did not allow); we void it at once, and in the rare case the processor refuses the void that authorization is still standing even though the payment ends `amount_mismatch`, so do not read it as proof nothing was charged. `processor_transaction_id` on the failed payment carries the processor's id when one was returned. Do not retry blindly: send the payment id and the `request_id` to your ZeroPoint contact to reconcile. `partial_approval` means the card approved only part of the amount; ZeroPoint never accepts a partial approval and never splits tender, so it voided that partial sale and the payment failed. Show a decline (the card did not cover the full amount), ask for another card or a smaller amount as a new payment, and do not retry the same card for the same amount. If `payment.failed` says `reversed: false` under `partial_approval`, the void was not confirmed: a `payment.needs_attention` with reason `standing_authorization` follows, and the partial authorization may still be standing. ZeroPoint retries that same void automatically (the same processor request id, so it can never void twice), three times over about five minutes, reading the sale first; a `payment.reversed_late` naming the transaction says it is reversed. If none arrives, the retries are exhausted and a person must void the partial authorization in the merchant's processor portal (operators: the attention list shows the alert; void the named `processor_transaction_id`, then resolve the alert; resolving it does not stop the automatic retries, which end by themselves after the third attempt, and because each attempt reads the sale first, a sale already voided in the portal is only reported, never voided again). `not_settled` means you called refund on a payment the processor has not yet settled: unlike `processor_unverified`, this is a clear, terminal answer from the processor, not an unresolved one, so reconciliation never touches this row and it can never be corrected to `succeeded`. The request itself still fails with `409 not_settled_use_void`; explain this result and obtain separate approval before `POST /v1/payments/{payment_id}/void`, which reverses the entire charge before settlement, not just the requested refund amount.\n\nRefund adapter note: verified collection refunds return a distinct reversal ID. Empty/pending/mismatched success bodies, transport failures, throttles and server failures remain unresolved and use the same-key retry path; they do not establish a refusal. Other explicit HTTP refusals remain `processor_rejected`, including a generic 404. An unfamiliar processor limitation is not evidence of an unsettled sale.\n\n## Processor answers behind these results\n\nThese are processor codes, not ZeroPoint codes. Branch on the ZeroPoint result, but know how each processor answer surfaces in this release, because some of them do not mean what the local result says.\n\n| Processor answer | Processor behaviour | How it surfaces today | What to do |\n|---|---|---|---|\n| `REQUEST_ID_DUPLICATE`, HTTP 400 | VERIFIED 10/05/2026: the request id was already processed and the original answer is gone; the re-send moved no new money. The processor's documented message is \"The Poynt-Request-Id has already been processed.\" (VERIFIED-IN-DOCS; how long request ids are remembered is not documented) | ZeroPoint answers with bounded read-back of the processor's own transaction feed, from one minute before the first attempt to now, at most three pages and ten seconds, with the token already in hand and no retry. Exactly one unclaimed approved SALE carrying the payment's reference makes the payment `succeeded`, and when no approved one exists, exactly one DECLINED SALE carrying it makes the payment `failed` with `processor_unverified` and that sale's `processor_transaction_id` (a decline read back is not the processor's own answer to this send, so it is never reported as `card_declined`); exactly one unclaimed REFUND child of the payment with the refund's amount makes the refund `succeeded` with that child's id. Anything else, including zero or two matches, a short page or a malformed row, answers `502 processor_unavailable`: the row stays `pending` under its original request identity and a refund's balance reservation is given back until the next exact retry | Not a decline and not a refusal: the original attempt may have captured or refunded. Reconcile before any retry, and never retry under a new key or reference |\n| `REQUEST_IN_PROGRESS`, HTTP 400 | VERIFIED 09/24/2026 for voids, ASSUMED for sales: the first request with that id is still running. The processor's documented message is \"The Poynt-Request-Id is currently being processed.\" (VERIFIED-IN-DOCS) | `502 processor_unavailable` with no read-back, because an older transaction cannot say what happened to a request the processor has not finished. The row stays `pending` under its original identity | Unknown outcome. Read the payment and its refunds, then reconcile |\n| `TXN_DUPLICATE`, HTTP 400 | VERIFIED 09/24/2026: a second void of an already voided sale under a new request id. Documented message: \"We have detected a transaction that might be duplicate.\" (VERIFIED-IN-DOCS) | The same read-back as `REQUEST_ID_DUPLICATE`. An unclaimed matching child makes the row `succeeded` with that child's id. When this is the request's first send and the one matching child it finds, the sale's only reversal in that window, is already recorded on another refund of the payment, the refused request moved no money: the row ends `failed` with `processor_rejected`, its reservation is given back and `refund.failed` names it, while the earlier refund keeps the child. Anything else answers `502 processor_unavailable` with the row `pending` | An earlier reversal exists. List the payment's refunds and do not reverse again |\n| HTTP 408, 429, 401, 403, 404, a redirect, or an error not in the processor's own format, on a keyed sale | ASSUMED, none reproduced against the processor: the answer is not a decision on the sale, which may or may not have been taken | `502 processor_unavailable` with no read-back. The payment stays `pending` under its original identity and the same key and body resume it. Never `card_declined` | Unknown outcome. Retry the exact request with its key. If a 401 or 403 persists, the merchant's processor connection needs attention |\n| HTTP 400 or 422 in the processor's error format, on a keyed sale | VERIFIED 09/06/2026 on the hosted sandbox: an expired or reused nonce ends `nonce_invalid`. ASSUMED: the processor's exact status for it, and that other validation refusals share the shape | `failed` with `nonce_invalid` when the message names the nonce, otherwise `failed` with `processor_rejected` | A refused request, not a card decline. Another attempt needs a new nonce, a new key and a new reference |\n| `RECAPTCHA_DECLINED`, HTTP 400 | VERIFIED 10/18/2026: card tokenization refused a browser driven by an automation tool, headless or headed | The hosted form produces no nonce and posts `zeropoint.error` with `code: recaptcha_declined` to the page that embeds it (see the hosted card form concept; mapping UNVERIFIED 11/15/2026). It is a browser message, not an API error | Enter the card by hand in a real browser |\n| `RISK DECLINED`, inside a 2xx | VERIFIED 10/18/2026: the decline reason on a DECLINED sale for test card `4111111111111111` | `failed` with `card_declined` | A real decline. Another attempt needs a new nonce, a new key and a new reference |\n\n### The processor's duplicate screen\n\nProcessor behaviour, VERIFIED 10/28/2026 on the sandbox: a sale sent about 2 seconds after a captured sale on the same card for the same amount was declined, although it carried a new processor request id and a new reference. The processor answered HTTP 200 with `status: DECLINED`, `processorResponse.statusCode: TXN_DUPLICATE`, the message \"Duplicate transaction detected - please verify and try again\", and no transaction id. How long that window lasts, and whether a live merchant's processor applies the same screen, is unmeasured. This is a different answer from the HTTP 400 `TXN_DUPLICATE` in the table above, which refuses a second void.\n\nHow it surfaces today: on the first and only send of a keyed or saved-card payment, the payment ends `failed` with `failure_code: duplicate_transaction`, not `card_declined`: it is not the card being refused. `processor_transaction_id` is null, since the processor names no transaction. No money moved for the screened request. The same answer on a retry of a `pending` payment, after a network re-send, or read back from the processor's feed is never `duplicate_transaction`: the first send may have captured, so the payment stays `pending` and ends `processor_unverified` unless a captured sale is found.\n\nWhat to do: do not ask for another card. First confirm the earlier payment is not the same sale (if it is, there is nothing to retry). For a genuine second sale, wait and take it as a new payment: a new nonce, a new `Idempotency-Key` and a new `platform_reference`. No safe wait is known, because the window is unmeasured. Do not charge two equal amounts to one card back to back when one combined payment would do.\n\nThe processor also documents a separate code for this kind of refusal, `PROCESSOR_DETECTED_DUP` (HTTP 400): \"Processor detected duplicate txn. If this is not duplicate, please retry after 6 minutes.\" (VERIFIED-IN-DOCS, https://docs.poynt.com/processor-integration/adapter-test-deploy.html, section \"Poynt API Error codes\", which also lists the three codes in the table above). ZeroPoint has never received it and has no handling of its own for it: ASSUMED, it surfaces as `processor_rejected` on a keyed sale (an HTTP 400 in the processor's error format). If you see it, the 6 minutes is the only documented wait; the 2 second screen above answered differently, so do not read 6 minutes as the length of that window.\n\nSo in this release, a `processor_rejected` that follows a retry of a refund left `pending` is not proof of a refusal, and a keyed payment retried while `pending` never ends `card_declined`, `nonce_invalid` or `processor_rejected`: it ends `processor_unverified`. Send the payment id and the `request_id` to your ZeroPoint contact before any new attempt.","updated":1795275945}