# Create fraud prevention list items

This method allows you to add new items to fraud prevention list linked to the merchant's account.

Endpoint: POST /fraud-prevention-list-items/create
Version: 1.0.0
Security: MerchantID

## Header parameters:

  - `merchant` (string, required)

  - `signature` (string, required)

## Request fields (application/json):

  - `items` (array, required)
    List of fraud prevention list items to be created.

  - `items.payment_field` (string)
    Payment field to match against the fraud prevention list.
    Enum: "card_id", "cardholder", "customer_id", "customer_email", "ip_address"

## Response 200 fields (application/json):

  - `items` (array, required)
    List of created fraud prevention list items.

  - `items.id` (string, required)
    Unique identifier of the fraud prevention list item.

  - `items.list_type` (string, required)
    Type of fraud prevention list, where pass indicates an allowlist and reject indicates a blocklist.
    Enum: "pass", "reject"

  - `items.payment_field` (string, required)
    Payment field to match against the fraud prevention list.
    Enum: "card_id", "cardholder", "customer_id", "customer_email", "ip_address"

  - `items.field_value` (string, required)
    Value of the payment field to match against the fraud prevention list.
Depending on the value provided in payment_field, the corresponding validation rules are enforced.

  - `items.created_at` (string)
    Creation date of the list item.

  - `items.expired_at` (string)
    Expiration date of the list item.
If not provided, the item never expires.

  - `items.description` (string)
    Reason for adding this item to the list.

  - `items.created_by` (string)
    Email address of the user who created the list item.

  - `error` (object, required)
    Error object.

  - `error.code` (string, required)
    Unauthorized access due to invalid credentials.
    Example: 1.01

  - `error.messages` (array, required)
    Array of error messages applied to the decline payment.

