Skip to content
CheckoutSessionObject

Response from creating a checkout for a payment.

Fields

clientSecretString!

Client secret for Stripe.js confirmPayment().

paymentIdID!

The payment record ID in our database.

amountInt

Total amount to be charged, in cents (tax- and tip-inclusive), when the server computed it up front. Lets the client render an exact "Pay · $X" without recomputing tax. Null for flows that don't surface it.

Used in

CheckoutSession