What changed
Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.
Affects this value on TransactionCode reachable from 6 operations.
New values: cash advance, late fee, membership fee, returned item fee.
can now return "cash advance", "late fee", "membership fee", "returned item fee"
Who is affected
Code that reads Plaid's TransactionCode objects, used by 6 Plaid operations.
Before and after
| Where | Before | After |
|---|---|---|
| TransactionCode | "adjustment", "atm", "bank charge", "bill payment", "cash", "cashback", "cheque", "direct debit", "interest", "payment", "purchase", "refund", "standing order", "transfer", null | "adjustment", "atm", "bank charge", "bill payment", "cash advance", "cash", "cashback", "cheque", "direct debit", "interest", "late fee", "membership fee", "payment", "purchase", "refund", "returned item fee", "standing order", "transfer", null |
Code that breaks
switch (response) {
// existing branches …
// no branch for "cash advance"
// no branch for "late fee"
// no branch for "membership fee"
// no branch for "returned item fee"
default:
throw new Error("unexpected value");
}Based on Plaid’s published API specification. How severity is decided.