Developer documents 5 undocumented Stripe Shared Payment Token API response quirks
A developer building a payment system using Stripe's Shared Payment Tokens preview API (version 2026-04-22) discovered five undocumented response behaviors through real test-mode usage. Among the findings: declined charges return an HTTP 402 error with the PaymentIntent nested inside the error body, rather than a 200 with a failed status, which can cause silent failures if not handled carefully. A 200 response does not always indicate success, as 3D Secure authentication triggers return an empty action payload with zero funds captured. Payment method details such as card brand become unavailable after a token is consumed, meaning receipt data must be captured at grant time. The developer notes these are dated observations against a preview API and not guaranteed contracts, and has pinned each case in tests to guard against future regressions.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in