Create a value list item 

Fraud
Value List Items
Create a value list item

Creates a new ValueListItem object, which is added to the specified parent value list.

Parameters

  • valuestringRequired

    The value of the item (whose type must match the type of the parent value list).

  • value_liststringRequired

    The identifier of the value list which the created item will be added to.

Returns

Returns a ValueListItem object if creation succeeds.

POST /v1/radar/value_list_items
curl https://api.stripe.com/v1/radar/value_list_items \
-u "sk_test_BQokikJ...2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2:" \
-d value_list=rsl_1MxxosLkdIwHu7ixNiiD01Kj \
-d value="1.2.3.4"
Response
{
"id": "rsli_1MxxosLkdIwHu7ixxvA1yKiZ",
"object": "radar.value_list_item",
"created": 1681760074,
"created_by": "API",
"livemode": false,
"value": "1.2.3.4",
"value_list": "rsl_1MxxosLkdIwHu7ixNiiD01Kj"
}