Creates a variable.
See https://www.paws-r-sdk.com/docs/frauddetector_create_variable/ for full documentation.
frauddetector_create_variable(
name,
dataType,
dataSource,
defaultValue,
description = NULL,
variableType = NULL,
tags = NULL
)
[required] The name of the variable.
[required] The data type of the variable.
[required] The source of the data.
[required] The default value for the variable when no value is received.
The description.
The variable type. For more information see Variable types.
Valid Values:
AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
A collection of key and value pairs.