Breaking changes
Coupons, SKUs, customers, products, and plans now limit the valid characters for IDs Breaking changes
What’s new
Coupon, SKU, customer, product and plan IDs can only contain alphanumeric and _- characters on creation.
Impact
Restricting the characters allowed in id fields for coupons, SKUs, customers, products, and plans to alphanumeric characters, underscores, and hyphens. You must make sure that newly created id values adhere to this format.
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: 2018-05-21
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
Learn more about Stripe API upgrades.
