What changed
Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.
Affects this value on TransferAuthorizationDecisionRationaleCode reachable from 3 operations.
New values: ADMIN, FRAUD.
can now return "ADMIN", "FRAUD"
Who is affected
Code that reads Plaid's TransferAuthorizationDecisionRationaleCode objects, used by 3 Plaid operations.
Before and after
| Where | Before | After |
|---|---|---|
| TransferAuthorizationDecisionRationaleCode | "ERROR", "ITEM_LOGIN_REQUIRED", "MANUALLY_VERIFIED_ITEM", "MIGRATED_ACCOUNT_ITEM", "NSF", "PAYMENT_PROFILE_LOGIN_REQUIRED", "RISK", "TRANSFER_LIMIT_REACHED", null | "ADMIN", "ERROR", "FRAUD", "ITEM_LOGIN_REQUIRED", "MANUALLY_VERIFIED_ITEM", "MIGRATED_ACCOUNT_ITEM", "NSF", "PAYMENT_PROFILE_LOGIN_REQUIRED", "RISK", "TRANSFER_LIMIT_REACHED", null |
Code that breaks
switch (response) {
// existing branches …
// no branch for "ADMIN"
// no branch for "FRAUD"
default:
throw new Error("unexpected value");
}Based on Plaid’s published API specification. How severity is decided.