Sample - Stripe API
POST/v1/radar/value_list_items

Create a value list item

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

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.
  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

3 body fields
expandarray<string>optional
Specifies which fields in the response should be expanded.
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.

2 status codes
200Successful response.
createdintegerrequired
Time at which the object was created. Measured in seconds since the Unix epoch.
created_bystringrequired
The name or email address of the user who added this item to the value list.
idstringrequired
Unique identifier for the object.
livemodebooleanrequired
If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
Allowed:radar.value_list_item
valuestringrequired
The value of the item.
value_liststringrequired
The identifier of the value list this item belongs to.
defaultError response.
errorobjectrequired

Error handling

Any other status is an error: Error response.