Driftwatch

Adyen / Adyen Checkout API v72 /

Breakingdirection flip: their tools call this safe

value can now return "digital", "education", "tourProgramme", "travelNonTour"

What changed

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

Affects this value on RemittancePurpose reachable from 1 operation.

New values: digital, education, tourProgramme, travelNonTour.

can now return "digital", "education", "tourProgramme", "travelNonTour"

Who is affected

Code that reads Adyen's RemittancePurpose objects, used by 1 Adyen operation.

Before and after

WhereBeforeAfter
RemittancePurpose"DIGITAL", "EDUCATION", "TOUR_PROGRAMME", "TRAVEL_NON_TOUR""digital", "education", "tourProgramme", "travelNonTour"

Code that breaks

switch (response) {
  // existing branches …
  // no branch for "digital"
  // no branch for "education"
  // no branch for "tourProgramme"
  // no branch for "travelNonTour"
  default:
    throw new Error("unexpected value");
}

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