client_secret to mount the payment form on your frontend.
Payment Flow
Create a Session
Request Parameters
Response
Session Lifecycle States
Sessions progress through a state machine from creation to completion:Session Expiration
Sessions expire automatically to prevent stale payment intents. Expired sessions cannot be completed.Best Practice: Set shorter expiration times for high-value transactions. If a session expires before the customer completes payment, create a new session.
Retrieve a Session
Cancel a Session
duplicate, fraudulent, requested_by_customer, abandoned