Driftwatch

Stripe / Stripe API /

Breakingdirection flip: their tools call this safe

status can now return "expired", "pending"

What changed

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

Affects status on bank_connections_resource_account_number_details reachable from 14 operations.

New values: expired, pending.

can now return "expired", "pending"

Who is affected

Code that reads Stripe's bank_connections_resource_account_number_details objects, used by 14 Stripe operations.

Before and after

WhereBeforeAfter
bank_connections_resource_account_number_details.status"deactivated", "transactable""deactivated", "expired", "pending", "transactable"

Code that breaks

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

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