Server Payment API
Coming soon: a separate trusted-server receipt and refund connection.
Server Payment API · Coming soon
The planned trusted-server feed uses a separate named, expiring payments:write token. Stripe is the live revenue integration. Report API and MCP access require a paid plan; read credentials cannot write payments.
Planned receipt format
Once released, your server must first verify the payment with its provider. The planned format includes stable transaction and event IDs, exact integer minor units, currency, occurrence timestamp and explicit livemode. This test-mode example is a reference, not a live connection or payment request.
Refunds and attribution
Use kind: "refund", the original transaction ID and a stable distinct refund event ID. Import the receipt first; retries keep their IDs. Optional visitorId also requires consent: true and a matching stored consented visitor. Unmatched payments stay unassigned. Revoke the writer token when removing the integration.