Skip to content

Object

CardPaymentOption

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.

stripeConnectedAccountIdID

The business's connected account for its active Stripe mode; the client initialises Stripe.js with this for direct charges. Null until onboarding completes.

Used in