Creates a new Stripe setup checkout session to update the payment method for a customer by external ID (e.g. the customer ID in your system). You must have a valid Stripe account connected to your Atlas merchant to use this endpoint. Redirect the customer to the URL returned in the response to update their payment method.
You can obtain this key from the Atlas dashboard. It must be of type secret
The external ID of the customer (e.g. the customer ID in your system)
1"external-customer-id-123"
The URL to redirect the customer to after successfully updating their payment method
"https://www.example.com/success"
The name of the customer
1"John Doe"
The Stripe setup checkout session that the customer can be redirected to to update their payment method.
Stripe checkout session for payment method setup
The Stripe checkout session ID
"cs_test_1234567890abcdef"
The object type
checkout.session "checkout.session"
The URL to redirect the customer to complete the payment method setup
"https://checkout.stripe.com/c/pay/cs_test_1234567890abcdef"
The status of the checkout session
open, complete, expired "open"
The mode of the checkout session
setup "setup"
The Stripe customer ID
"cus_1234567890abcdef"
The URL to redirect the customer to after successful payment method setup
"https://example.com/success"
The Stripe setup intent ID
"seti_1234567890abcdef"
The payment status of the checkout session
unpaid, paid, no_payment_required "no_payment_required"
Unix timestamp of when the checkout session was created
1640995200
Unix timestamp of when the checkout session expires
1641081600
Whether the checkout session is in live mode
false
The currency of the checkout session
"usd"
Metadata associated with the checkout session
{}