Breaking changes
Renames application_fee on invoices to application_fee_amount Breaking changes
What’s new
Renames both the application_fee parameter on Invoice API methods and the application_fee field on the Invoice object to application_fee_amount.
Impact
This change renames the application_fee parameter and field to application_fee_amount in the invoice API methods and Invoice object. You need to update your code to use the new application_fee_amount name when setting or retrieving application fee information for invoices. This modification provides more clarity about the nature of the value (an amount rather than a fee object), but requires updates to existing code that handles application fees.
Changes
| Parameters | Change | Resources or endpoints |
|---|---|---|
| application_fee_amount | Added | Invoice |
| application_fee | Removed | Invoice |
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: 2019-03-14
- 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.