Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
Overview
Versioning
Changelog
    Overview
    Basil
    Acacia
    Previous versions
Upgrade your API version
Upgrade your SDK version
Essentials
SDKs
API
Testing
Stripe CLI
Sample projects
Tools
Workbench
Developers Dashboard
Stripe Shell
Stripe for Visual Studio Code
Features
Workflows
Event destinations
Stripe health alertsFile uploads
AI solutions
Agent toolkit
Model Context Protocol
Security and privacy
Security
Privacy
Extend Stripe
Build Stripe apps
Use apps from Stripe
Partners
Partner ecosystem
Partner certification
HomeDeveloper resourcesChangelogBasil2025-05-28.preview

Adds support for WeChat Pay and Affirm on TerminalPublic preview

What’s new

Adds support for Terminal when using WeChat Pay and Affirm Charge by including additional fields on the payment_method_details. You can also specify a return_url for non-card payments in Terminal server-driven integrations.

Impact

Lets you collect WeChat Pay and Affirm payments in-person on Terminal smart readers. Learn more about additional payment methods on Terminal.

Changes

ParametersChangeResources or endpoints
locationreaderAdded
Charge.payment_method_details.affirmCharge.payment_method_details.wechat_payPaymentAttemptRecord.payment_method_details.affirm
 + 3 more
PaymentAttemptRecord.payment_method_details.wechat_payPaymentRecord.payment_method_details.affirmPaymentRecord.payment_method_details.wechat_pay
confirm_configAdded
Terminal.Reader#confirm_payment_intentTerminal.Reader.action.confirm_payment_intent
return_urlAdded
Terminal.Reader#process_payment_intent.process_configTerminal.Reader.action.process_payment_intent.process_config

Upgrade

  1. View your current API version in Workbench.
  2. 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: 2025-05-28.preview
  3. Upgrade the API version used for webhook endpoints.
  4. Test your integration against the new version.
  5. If you use Connect, test your Connect integration.
  6. In Workbench, perform the upgrade. You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Was this page helpful?
YesNo
  • Need help? Contact Support.
  • Join our early access program.
  • Check out our changelog.
  • Questions? Contact Sales.
  • LLM? Read llms.txt.
  • Powered by Markdoc