Skip to content

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.

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",
});
const blocked = yield* Stripe.RadarValueList("blocked-emails", {
alias: "custom_email_blocklist",
name: "Blocked emails (updated)",
itemType: "email",
metadata: { team: "fraud" },
});
const blocked = yield* Stripe.RadarValueList("blocked", {
alias: "custom_blocklist",
itemType: "ip_address",
});