Skip to content
CardPaymentOptionObject

A payment option requiring direct card payment via Stripe.

Fields

stripeRequiredBoolean!

Placeholder — no saved cards yet.

Whether checkout will charge the connected account (live) or route to the platform's Stripe account because Connect onboarding isn't complete (test). Mirrors the business's paymentsMode.

stripePublishableKeyString!

Stripe publishable key the client should pass to loadStripe when mounting the Payment Element for this option. Lives on the option so it is only fetched (and only sent to clients) when card payment is actually offered for this session.

Used in

CardPaymentOption