Adds support for email types to Credit Notes
What’s new
Adds support for specifying whether to send a credit note email to customers when creating a Credit Note, with the default being credit_note.
Added
email_type enum
Type of email to send to the customer, one of credit_note or none and the default is credit_note.
Impact
This lets your customers choose to opt out of sending an email or to send a refund email instead.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| email_type | Added | CreditNote#create CreditNote#preview_lines CreditNote#preview |
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: 2024-09-30. acacia
- 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.
