What changed
Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.
Affects network on treasury.received_credit reachable from 39 operations.
New value: rtp.
can now return "rtp"
Who is affected
Code that reads Stripe's treasury.received_credit objects, used by 39 Stripe operations.
Before and after
| Where | Before | After |
|---|---|---|
| treasury.received_credit.network | "ach", "card", "stripe", "us_domestic_wire" | "ach", "card", "rtp", "stripe", "us_domestic_wire" |
| treasury_financial_accounts_resource_financial_address.supported_networks[] | "ach", "us_domestic_wire" | "ach", "rtp", "us_domestic_wire" |
Code that breaks
switch (response.network) {
// existing branches …
// no branch for "rtp"
default:
throw new Error("unexpected network");
}Based on Stripe’s published API specification. How severity is decided.