Adds network decline codes for PayPal refunds
What’s new
Learn more about why PayPal declined your PayPal refunds with the network_decline_code field, using the destination_details field on a Refund.
Impact
This change allows you to see the error code that explains why PayPal declined your refund.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| network_decline_code | Added | Refund. destination_details. paypal |
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-05-28. basil
- 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.
Related changes
- Adds South Korean payment methods to the Payment Method Configurations API
- Adds account capability for the Pix payment method for US-based sellers
- Adds option to Checkout Sessions to let customers remove saved payment methods
- Adds capture method option to Satispay payments
- Adds support for setting up future usage of Naver Pay in Checkout Sessions
- Adds support for WeChat Pay for Setup Intents
