Adds WeChat Pay payment method options to the Checkout Session response
What’s new
The wechat_pay property is now included in the payment_method_options hash returned when you retrieve a Checkout Session. This property exposes the WeChat Pay configuration for the session, including the following properties:
- app_id : The app ID registered with WeChat Pay.
- client : The client type used for the payment.
- setup_future_usage : Indicates whether the payment method is saved for future use.
Previously, these parameters were available when creating a Checkout Session but were absent from the retrieve response.
Impact
You can now read WeChat Pay payment method configuration directly from the Checkout Session object when you retrieve a session. If your integration retrieves session details to inspect or display payment method options, the wechat_pay property is now available in the response.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| wechat_pay | Added | Checkout. Session. payment_method_options |
Upgrade
- View your current API version in Workbench.
- If you use an SDK, upgrade to the corresponding SDK version for this API version.
- If you don’t use an SDK, update your API requests to include Stripe-Version: 2026-06-24. dahlia
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
- In Workbench, perform the upgrade . You can roll back the version for 72 hours.
Learn more about Stripe API upgrades.
