Changelog
API releases and notable changes.
Last updated: 2026-12-04 (AST, UTC-4)
2026-11-15
Saved cards: charge them with the customer absent: Saved-card charging is switched on per account; contact support to have it enabled. See Saving cards and Charging saved cards.
- A saved card is charged with POST
/v1/payment-intentscarryingcustomer,payment_method,off_session: true,confirm: trueand anIdempotency-Key. Optionalpayment_method_options.card.stored_credential_usageisrecurring,installmentorunscheduled. - One
Idempotency-Keyis one charge, with no expiry: the same key always answers with the same PaymentIntent. - A refused card answers
402, with the PaymentIntent aterror.meta.payment_intentandlast_payment_erroron it. An unknown outcome answers200withstatus: "processing": retry with the same key, never a new one. - An off-session charge never returns
requires_action. When the bank wants the customer, the error code isauthentication_requiredand the customer has to pay again while present, through a new PaymentIntent or Checkout Session. There is no recovery link. - On POST
/v1/setup-intents/{id}/confirm,mandate_data.customer_acceptancerecords how the cardholder agreed. Without it the acceptance is recorded asoffline.
What an existing integrator must change
- Saved-card charges. Remove
payment_method_options.card.mit(reason,previous_network_transaction_id,cof_type): it is refused with400. Sendstored_credential_usageinstead. Stop sending anIdempotency-Keythat changes on every retry of the same charge. Stop expectingrequires_actionand a recovery link. - Stray fields. POST
/v1/payment-intentsanswers400to anoff_session,payment_methodorconfirmit used to ignore, and to anamountabove 99999999. - Idempotency-Key. Detaching or deleting a saved card (POST
/v1/payment-methods/{id}/detach, DELETE/v1/payment-methods/{id}) and PATCH/v1/setup-intents/{id}now need anIdempotency-Keyheader. - SetupIntent. Creating one needs a
customer.customer_acceptance.online.ipis nowip_address. Detach is permanent: a detached card cannot be attached again, so the customer saves it again. A card saved withsetup_future_usage: "on_session"cannot be charged off-session. - Billing details at save. Depending on how your account is set up, a card that will be charged off-session must be saved with full billing details. A save without them answers
422 MISSING_BILLING_DETAILS, names the missing fields and saves nothing. - Decline codes.
error.codeandlast_payment_error.codeare more specific:insufficient_funds,cvc_check_failedandexpired_cardwhere it used to becard_declined.retryableisfalsefor a decline a retry cannot fix. A newadvice_code(try_again_later,do_not_try_again,confirm_card_data) appears when the bank gives one. See Declines. - Timeouts. A payment whose answer from the card's bank is a timeout now reads
processing, not declined. Do not start a second payment for that order. - Webhook bodies are smaller.
charge.failedandcharge.pendingcarry a cut-down charge, without processing details or the payer's billing details.charge.captured,charge.voidedandrefund.createdno longer say who acted.customer.deletedno longer carriesdeletedBy.payment_method.compromisedno longer carriesreason.setup_intent.requires_action, and a SetupIntent'snext_action, carry the action's type only. Field names that remain are unchanged. See Webhooks.
2026-11-11
Return-domain management — Add, list, retrieve and remove checkout return and embed origins through POST/GET /v1/return-domains and GET/DELETE /v1/return-domains/{id}. Lists are separate for test and live, with at most 20 entries per mode. API changes need return_domains:write granted explicitly. Both modes require public HTTPS domains; localhost and IP addresses are refused, so local testing uses an HTTPS tunnel. Removing a domain leaves existing sessions' saved return URLs intact until expiry. See Return domains.
Existing checkout keys keep their current API access. Legacy keys without explicit scopes can read return domains but cannot add or remove them. Keys cannot grant themselves permissions; use a separately issued key for domain automation. See Existing API keys.
2026-11-08
Payment link details — Payment links take an optional details: up to 1,000 characters of plain text, shown to the payer under the title on the hosted page, with line breaks kept. Send it on create or update; an empty string removes it. description stays the title. See Payment Links.
2026-11-02
Cancel releases checkout authorizations — POST/v1/payment-intents/{id}/cancel now voids a Payment Intent created by a Checkout Session or payment link once it is requires_capture, releasing the hold on the customer's card. The Checkout Session stays complete. Until the session has recorded its completion, cancel answers 503 CHECKOUT_SESSION_COMPLETION_PENDING; retry shortly. Any other state returns 400 OWNED_PAYMENT_INTENT, or 409 if the Payment Intent has no charge yet. Canceled Payment Intents now carry cancellation_reason, requested_by_merchant unless you send one. See Cancel a Payment Intent.
Checkout Session cancel keeps unknown payments — POST/v1/checkout-sessions/{id}/cancel now returns 409 CHECKOUT_SESSION_MID_FLIGHT while the Payment Intent is uncertain or requires_review, as well as processing or requires_action. Do not start a new payment for that order. See Cancel a Checkout Session.
0- and 3-decimal currencies are refused — Currencies that don't use 2 decimals, such as JPY, KWD, IQD and LYD, now return 400 UNSUPPORTED_CURRENCY_PRECISION when you create a Checkout Session or Payment Intent, when a payment starts and when it is confirmed. See the FAQ.
Card voids release the hold — Voiding an authorized card payment could fail at the gateway, leaving the hold on the customer's card. Voids now send the authorized amount and release the hold.
2026-10-20
Checkout session amount is fixed at creation (beta, breaking) — PATCH/v1/checkout-sessions/{id} changes only metadata and payment_methods. Sending amount, line_items, return_url, cancel_url or expires_at returns 400 CHECKOUT_SESSION_FIELD_NOT_UPDATABLE. Before this, an amount change updated the session but the payment kept charging the original amount. To change the total, cancel the session and create a new one.
List payment method types — GET/v1/payment-method-types returns the payment methods a checkout would offer your account, in the order checkout lists them, with display names and hosted light and dark icons. Pass currency to leave out methods that cannot take it. See Checkout Sessions.
Retrieve a charge · Beta — GET/v1/charges/{id} returns the charge a Payment Intent's latest_charge names, with amount_captured, amount_refunded, card details and a 3D Secure summary (payer_auth). Payment Intents now return capture_method. See Charges.
Test cards panel — In test mode, the checkout test cards panel opens on four basic cards, with the full list one tab away. See Test cards.
CX Pay skill for AI agents — Download one skill with the integration path, the full API reference, every guide and the embedded sample, for Claude Code, the Claude apps or any coding agent. See Build with an AI agent.
2026-09-23
Embedded payment form · 0.0.1 Beta — Accept payments inside your own checkout page. Keep your order summary and page design; CX Pay handles the payment fields, payment button, bank verification and payment-status checks. It works on any HTTPS domain registered for your MerchantOrg, in test and live alike; test your payment methods before going live. Refreshing the page during the bank's one-time code step can stop the payment from finishing. See Embed the payment form.
Runnable checkout sample — The public CX Pay API samples repository includes a test-only Node.js checkout with setup instructions, server-side signing, payment-status checks and optional signed webhooks. The embedded form guide lists the integration URLs, domain-registration requirements and setup troubleshooting.
v0.1.0 — Public beta
The API is now in public beta. Highlights since the alpha:
Saved cards & tokenization — Setup Intents, Payment Methods, Setup Attempts, Mandates, and Customers. Payment Intents gained off_session, mandate, MIT support, list, and PATCH. Guides: saving cards, charging saved cards, tokenization webhooks.
Capture, cancel & refund — POST/v1/payment-intents/{id}/capture (with optional partial amount_to_capture), POST/v1/payment-intents/{id}/cancel, and POST/v1/payment-intents/{id}/refund (full or partial, with a refund reason).
Customers require identity — email and name are now required at create. Customers gained B2B fields (is_company, tax_id) and provenance (source, source_id).
Webhooks — the signature header is X-CXPay-Signature. Verify with HMAC-SHA256 over {timestamp}.{raw_body}.
There are no further breaking changes planned before v1.0.
v0.0.1 — first private alpha. Hosted checkout, Payment Intent retrieval, and four webhook events.