Driftwatch

Stripe / Stripe API /

Breakingdirection flip: their tools call this safe

balance_type can now return "risk_reserved"

What changed

Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

Affects balance_type on balance_transaction reachable from 531 operations.

New value: risk_reserved.

can now return "risk_reserved"

Who is affected

Code that reads Stripe's balance_transaction objects, used by 531 Stripe operations.

Before and after

WhereBeforeAfter
balance_transaction.balance_type"issuing", "payments", "refund_and_dispute_prefunding""issuing", "payments", "refund_and_dispute_prefunding", "risk_reserved"

Code that breaks

switch (response.balance_type) {
  // existing branches …
  // no branch for "risk_reserved"
  default:
    throw new Error("unexpected balance_type");
}

Based on Stripe’s published API specification. How severity is decided.