What changed
Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.
Affects type on insights_resources_payment_evaluation_outcome reachable from 1 operation.
New value: rerouted.
can now return "rerouted"
Who is affected
Code that reads Stripe's insights_resources_payment_evaluation_outcome objects, used by 1 Stripe operation.
Before and after
| Where | Before | After |
|---|---|---|
| insights_resources_payment_evaluation_outcome.type | "failed", "merchant_blocked", "rejected", "succeeded" | "failed", "merchant_blocked", "rejected", "rerouted", "succeeded" |
Code that breaks
switch (response.type) {
// existing branches …
// no branch for "rerouted"
default:
throw new Error("unexpected type");
}Based on Stripe’s published API specification. How severity is decided.