Driftwatch

Stripe / Stripe API /

Breakingdirection flip: their tools call this safe

carrier can now return "correos"

What changed

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

Affects carrier on issuing_card_shipping reachable from 165 operations.

New value: correos.

can now return "correos"

Who is affected

Code that reads Stripe's issuing_card_shipping objects, used by 165 Stripe operations.

Before and after

WhereBeforeAfter
issuing_card_shipping.carrier"dhl", "fedex", "royal_mail", "usps""correos", "dhl", "fedex", "royal_mail", "usps"

Code that breaks

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

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