ZeroPointPayments

Guides

Explain a stored payment

Read payment and reversal evidence with explicit uncertainty, without another processor request.

Call explain_payment(payment_id) to understand the records behind a payment in your key's mode. Your key needs all three scopes: payments:read, refunds:read, and events:read. A full key also works. Both test and live keys can read matching owned records.

The response contains small payment, refund and event excerpts, fixed explanations, and references to the records supporting each explanation. It reads stored evidence; it does not contact the processor, retry a payment, send a refund, or change an order. There is no matching REST explanation endpoint. Applications can use the existing REST payment, refund and event reads when they need those underlying records.

Interpret the evidence conservatively

  • A payment state is the state recorded by ZeroPoint. Even failed does not, by itself, prove a processor decline or that no money moved. This tool does not prove settlement.
  • amount_refunded_cents can include a reservation for a reversal still in progress. It is not a total of completed refunds and must not be used here to calculate a spendable balance or another refund amount.
  • A succeeded refund/void row is a recorded success. A pending row is unresolved. processor_unverified remains uncertain even when its row says failed and its reservation has been released. Other failure details are deliberately not interpreted.
  • A payment.needs_attention event is historical. Later success does not establish that it was resolved. Operator acknowledgment and notes are private and are not read.
  • Unknown states or incomplete evidence remain uncertain. None of these explanations grants permission to retry, refund, void, reset a checkout, or fulfill an order.

Understand the window

The tool returns at most 50 recent refunds and scans at most 100 recent payment.* events for the payment's merchant. Other payments consume that event window. Only matching, well-formed payment evidence is returned. Counts, limits, skipped rows and has_more identify the bounds. Malformed, oversized or unfamiliar event evidence is skipped and makes the window incomplete. Event payloads over 16,384 bytes are excluded before parsing, with embedded NULs and multibyte text counted in that byte limit.

No matching event in this window means only that none was returned; it does not mean the event never happened. These separate stored reads are not an atomic processor snapshot. The observation time is not a processor freshness guarantee.

Use get_event(event_id) to inspect a cited event with events:read in sandbox mode. It returns the existing public event payload, which is broader than the explanation excerpt and can include payment metadata, receipt bearer URLs and public processor identifiers. It does not read private operator notes, refresh a processor or redeliver the event. Treat receipt URLs as bearer links when sharing evidence.

Use get_payment, list_refunds/get_refund, and list_events for further authorized inspection. To discover older events, call list_events again with cursor equal to the previous next_cursor, keeping merchant_id, type and since unchanged. Continue while has_more is true. Each page is a stored observation; traversing pages does not establish an atomic history or fresh processor state.

Follow the reconciliation guide and operator process for unresolved outcomes. Do not turn an investigation into a new money action.