Checkout/recordCnpWalletPaymentAttempt
Record wallet payment attempt
Durably log a wallet (Apple Pay / Google Pay) attempt before confirmation.
POST
/api/v1/cnp/public/checkout-sessions/{id}/wallet-payment-attemptsBrowser-safeCall from the customer’s browser with a publishable key — never your secret key.
When the customer authorizes a wallet payment, the opaque wallet token and attempt metadata are recorded against the session before confirmation runs, so an attempt is never lost between the wallet sheet closing and the charge being placed.
Path parameters
idstringRequiredCheckout session identifier.
Response
application/json
idstringcheckoutSessionIdstringpaymentIntentIdstringmerchantIdstringwalletTypeenumAPPLE_PAYGOOGLE_PAYstatusenumRECEIVEDUNSUPPORTEDFAILEDAUTHORIZEDtokenMetadataobjectfailureReasonstringcnpGatewayRouteIdstringCNP credential route selected before wallet authorization.
cnpGatewayRouteKindenumSERVER_SIDE_GATEWAYHOST_TO_HOST_ACQUIRERNETWORK_DIRECTINTERNAL_VAULTcnpGatewayRouteTargetstringcnpGatewayRouteProviderBoundbooleancnpGatewayRouteSupportsKepaTokenStoragebooleancreatedAtstring · ISO 8601Example "2026-04-09T09:14:22Z"
Good to know
- Returns 202 Accepted — it records the attempt; wallet-confirm places the actual charge.
- Current builds persist a hash of the wallet token payload; live wallet authorization depends on the merchant's wallet adapters being configured.
recordCnpWalletPaymentAttempt