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
Tools
Workbench
Developers Dashboard
Stripe Shell
Stripe for Visual Studio Code
Features
Workflows
Event destinations
Stripe health alertsFile uploads
AI solutions
Agent toolkit
Security and privacy
Security
Privacy
Extend Stripe
Stripe Apps
Stripe Connectors
Partners
Partner ecosystem
Partner certification
HomeDeveloper resourcesChangelogAcacia2024-10-28.acacia

Adds created, updated, and failed events for all refund types

What’s new

The following events now apply to all types of refunds, including those without a corresponding charge.

  • refund.created
  • refund.updated
  • refund.failed

Previously, these events were only sent for refunds without a corresponding charge.

Impact

Previously, you couldn’t find refund details in the charge.refunded event, which was sent after you created a refund. You can now listen to the refund.created event to get details about the refund, and don’t need to make an extra API call to get the refund ID.

This change also improves the consistency of event types created for all refunds. You don’t need to listen to separate refund-related events (for example, charge.refunded) depending on whether the refund has a charge or not.

Changes

ValuesChangeEnums
refund.createdrefund.updatedrefund.failedAdded
Event.typeWebhookEndpoint#create.enabled_events[]WebhookEndpoint#update.enabled_events[]

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: 2024-10-28.acacia
  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