Authorizations
The app API key from an app from the /dashboard/developer page
Body
- CreateCheckoutSessionInputModePaymentWithPlan
- CreateCheckoutSessionInputModePaymentWithPlanId
- CreateCheckoutSessionInputModeSetup
Parameters for CreateCheckoutSession Autogenerated input type of CreateCheckoutSession
Pass this object to create a new plan for this checkout configuration
The affiliate code to use for the checkout configuration
The metadata to use for the checkout configuration
"payment"This currently only works for configurations made in 'setup' mode. The explicit payment method configuration for the checkout session. If not provided, the platform or company's defaults will apply.
The URL to redirect the user to after the checkout configuration is created
Response
A successful response
A checkout configuration object.
Can be used to create a reusable custom configuration for a checkout, including attaching plans, affiliates and custom metadata to the checkout.
This configuration can be re-used by multiple users.
All successful payments and memberships resulting from a checkout will contain the passed metadata.The ID of the checkout configuration
"ch_xxxxxxxxxxxxxxx"
The ID of the company to use for the checkout configuration
The mode of the checkout session.
payment, setup The plan to use for the checkout configuration
The affiliate code to use for the checkout configuration
The metadata to use for the checkout configuration
The URL to redirect the user to after the checkout configuration is created
A URL you can send to customers to complete a checkout. It looks like /checkout/plan_xxxx?session={id}
The explicit payment method configuration for the session, if any. This currently only works in 'setup' mode. Use the plan's payment_method_configuration for payment method.

