Adds support for Customer Sessions for Mobile Payment Element and Customer Sheet
What’s new
Lets you create a Customer Session for Payment Sheet and Payment Method Settings Sheet, which you can use to save a customer’s payment method.
Impact
This enables support for Customer Sessions when saving payment methods in Payment Sheet and Payment Method Settings Sheet. To use the latest features, we recommend updating your integrations to use Customer Sessions instead of customer ephemeral keys.
For example, if your existing integration uses SetupIntents to set up future payments by saving a payment method, replace the request to create an ephemeral key:
curl https://api.stripe.com/v1/ephemeral_keys \ -u: \ -H "Stripe-Version: 2026-01-28.clover" \ -X "POST" \ -d "customer"=sk_test_BQokikJOvBiI2HlWgH4olfQ2\{{CUSTOMER_ID}}
With a request to create a Customer Session:
If your existing integration uses PaymentIntents to save payment details during the payment, make the same replacement, following the examples in the guide.