Credit grants can now be prioritized
What’s new
This change adds the priority parameter to the Credit Grant resource.
Impact
You can set custom priorities for applying credit grants. When you apply multiple credit grants to an invoice or line item, you can set priority values for each credit grant to specify which grants should be evaluated first. These values range from 0 to 100, with lower values indicating higher priority.
Learn how to apply credit grants.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| priority | Added | Billing.CreditGrant#create Billing. CreditGrant |
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: 2025-02-24. 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.
