Start a Stripe checkout for a company payment account
Opens a Stripe checkout session so the payer can enter card or bank details at Stripe rather than sending them here. Embed the returned client secret in Stripe's checkout component, then pass the session id to the add-payment-account endpoint once the payer has finished.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Response
200 · The checkout session.
sessionIdstringThe Stripe checkout session. Pass it back as stripeSessionId when adding the payment account. An opaque Stripe token — do not parse it.
clientSecretstringThe secret Stripe's embedded checkout component needs. Treat it as a secret and do not parse it.