Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Adds network advice and decline codes


Adds network advice and decline codes

What’s new

When a charge is declined, two new error codes are now part of the response. The network_decline_code provides more information from the card network about why the charge was declined. The network_advice_code provides more information about how to handle the decline.

Changes

ParametersChangeResources or endpoints
network_advice_code network_decline_codeAddedCharge. outcome Invoice. last_finalization_error PaymentIntent. last_payment_error + 3 more SetupAttempt. setup_error SetupIntent. last_setup_error StripeError

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-12-18. acacia
  1. Upgrade the API version used for webhook endpoints .
  2. Test your integration against the new version.
  3. If you use Connect, test your Connect integration .
  4. In Workbench, perform the upgrade . You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Last verified 2026-09-24

Is this helpful?