Driftwatch

Stripe / Stripe API /

Breakingdirection flip: their tools call this safe

item_type can now return "crypto_fingerprint"

What changed

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

Affects item_type on radar.value_list reachable from 4 operations.

New value: crypto_fingerprint.

can now return "crypto_fingerprint"

Who is affected

Code that reads Stripe's radar.value_list objects, used by 4 Stripe operations.

Before and after

WhereBeforeAfter
radar.value_list.item_type"card_bin", "card_fingerprint", "case_sensitive_string", "country", "customer_id", "email", "ip_address", "sepa_debit_fingerprint", "string", "us_bank_account_fingerprint""card_bin", "card_fingerprint", "case_sensitive_string", "country", "crypto_fingerprint", "customer_id", "email", "ip_address", "sepa_debit_fingerprint", "string", "us_bank_account_fingerprint"

Code that breaks

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

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