Driftwatch

Stripe / Stripe API /

Breakingdirection flip: their tools call this safe

enhanced_eligibility_types can now return "mastercard_compliance"

What changed

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

Affects enhanced_eligibility_types[] on dispute reachable from 169 operations.

New value: mastercard_compliance.

can now return "mastercard_compliance"

Who is affected

Code that reads Stripe's dispute objects, used by 169 Stripe operations.

Before and after

WhereBeforeAfter
dispute.enhanced_eligibility_types[]"visa_compelling_evidence_3", "visa_compliance""mastercard_compliance", "visa_compelling_evidence_3", "visa_compliance"

Code that breaks

switch (response.enhanced_eligibility_types[0]) {
  // existing branches …
  // no branch for "mastercard_compliance"
  default:
    throw new Error("unexpected enhanced_eligibility_types");
}

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