RadarValueList
Source:
src/Stripe/RadarValueList.ts
A Stripe Radar Value List — a named collection of values (emails, IPs,
card fingerprints, …) referenced from Radar rules. alias and
itemType are immutable and changing them replaces the list. Name and
metadata update in place. Destroy deletes the list and its items; a
list referenced by a Radar rule cannot be deleted.
Radar custom lists may require Radar for Fraud Teams.
Creating a Value List
Section titled “Creating a Value List”Generated alias
const blocked = yield* Stripe.RadarValueList("blocked-emails", { itemType: "email",});Named list with alias
const blocked = yield* Stripe.RadarValueList("blocked-emails", { alias: "custom_email_blocklist", name: "Blocked emails", itemType: "email",});Updating a Value List
Section titled “Updating a Value List”const blocked = yield* Stripe.RadarValueList("blocked-emails", { alias: "custom_email_blocklist", name: "Blocked emails (updated)", itemType: "email", metadata: { team: "fraud" },});Replacing a Value List
Section titled “Replacing a Value List”const blocked = yield* Stripe.RadarValueList("blocked", { alias: "custom_blocklist", itemType: "ip_address",});