| Name | Type | Description | Notes |
|---|---|---|---|
| affiliateEmail | String | Affiliate email. Used by the 'affiliate matches' rule type when affiliate_oid is not supplied. | [optional] |
| affiliateOid | Integer | Affiliate OID. Used by the 'affiliate matches' rule type. If omitted, affiliate_email is required. | [optional] |
| amountThreshold | BigDecimal | Monetary or score threshold. Used by transaction amount exceeds, fraud score exceeds, and decline percentage exceeds rules. | [optional] |
| autoNote | String | Note automatically appended to the order's merchant note when this rule fires. | [optional] |
| avsMatchType | AvsMatchTypeEnum | AVS match type for the zip portion. Used by the 'address street and zip avs' rule type. | [optional] |
| avsResponseCodes | String | AVS response codes (street). Used by the 'address street and zip avs' rule type. | [optional] |
| countThreshold | Integer | Integer count threshold. Used by count exceeds, change number, quantity exceeds, and purchased within last hours rules. | [optional] |
| countryCode | String | ISO country code. Used by the 'address not in country' rule type. | [optional] |
| creditCardBins | List<String> | Credit card BINs to block (max 20). Used by the 'credit card block bin' rule type. | [optional] |
| String | Email address. Used by the 'address email' rule type. | [optional] | |
| failureAction | FailureActionEnum | Action to take when this rule fires. | [optional] |
| gatewayResponseCodes | String | Gateway response code key. Used by the 'gateway response' rule type. | [optional] |
| gatewayResponseValue | String | Gateway response code value. Used by the 'gateway response' rule type. | [optional] |
| ipAddress | String | IP address or subnet (eg '192.168.1.1' or '10.0.0.0/8'). Used by 'exempt ip' and 'ip matches' rules. | [optional] |
| ipRangeType | IpRangeTypeEnum | Specifies whether an IP rule applies to a single address or a subnet. | [optional] |
| itemFilters | List<String> | Optional list of merchant item ids restricting this rule to orders containing one or more of these items. | [optional] |
| merchantItemId | String | Merchant item id. Used by the 'item matches' rule type. | [optional] |
| modifyCustomField1 | String | When failure_action is 'Process Payment and Modify', set order custom field 1 to this value. | [optional] |
| modifyCustomField2 | String | When failure_action is 'Process Payment and Modify', set order custom field 2 to this value. | [optional] |
| modifyCustomField3 | String | When failure_action is 'Process Payment and Modify', set order custom field 3 to this value. | [optional] |
| modifyCustomField4 | String | When failure_action is 'Process Payment and Modify', set order custom field 4 to this value. | [optional] |
| modifyCustomField5 | String | When failure_action is 'Process Payment and Modify', set order custom field 5 to this value. | [optional] |
| modifyCustomField6 | String | When failure_action is 'Process Payment and Modify', set order custom field 6 to this value. | [optional] |
| modifyCustomField7 | String | When failure_action is 'Process Payment and Modify', set order custom field 7 to this value. | [optional] |
| modifySkipAffiliate | Boolean | When failure_action is 'Process Payment and Modify', strip the affiliate from the order. | [optional] |
| modifySkipAffiliateNetworkPixel | Boolean | When failure_action is 'Process Payment and Modify', skip firing the affiliate network pixel. | [optional] |
| rotatingTransactionGatewayFilters | List<Integer> | Optional list of rotating transaction gateway oids restricting this rule to orders processed by one of these gateways. | [optional] |
| ruleType | RuleTypeEnum | Rule type. Also returned by GET /v2/fraud/lookup_values. | [optional] |
| screenBrandingThemeFilters | List<Integer> | Optional list of screen branding theme oids restricting this rule to orders associated with one or more storefronts. | [optional] |
| userAction | UserActionEnum | Only used by rule types that distinguish between attempted and approved transactions. | [optional] |
| Name | Value |
|---|---|
| MATCH | "match" |
| NO_MATCH | "no match" |
| PARTIAL | "partial" |
| Name | Value |
|---|---|
| FLAG_FOR_REVIEW | "Flag For Review" |
| PROCESS_PAYMENT_AND_MODIFY | "Process Payment and Modify" |
| PROCESS_PAYMENT_AND_REVIEW | "Process Payment and Review" |
| DECLINE_TRANSACTION | "Decline Transaction" |
| EXEMPT | "Exempt" |
| Name | Value |
|---|---|
| ADDRESS | "address" |
| SUBNET | "subnet" |
| Name | Value |
|---|---|
| EXEMPT_APO_FPO | "exempt apo fpo" |
| EXEMPT_IP | "exempt ip" |
| EXEMPT_LOGGED_IN_CUSTOMER_WITH_PRICING_TIER | "exempt logged in customer with pricing tier" |
| CREDIT_CARD_SINGLE_TRANSACTION_EXCEEDS | "credit card single transaction exceeds" |
| CREDIT_CARD_DAILY_TRANSACTION_AMOUNT_EXCEEDS | "credit card daily transaction amount exceeds" |
| CREDIT_CARD_DAILY_TRANSACTION_COUNT_EXCEEDS | "credit card daily transaction count exceeds" |
| CREDIT_CARD_WEEKLY_TRANSACTION_AMOUNT_EXCEEDS | "credit card weekly transaction amount exceeds" |
| CREDIT_CARD_WEEKLY_TRANSACTION_COUNT_EXCEEDS | "credit card weekly transaction count exceeds" |
| CREDIT_CARD_CHANGE_NUMBER | "credit card change number" |
| CREDIT_CARD_BLOCK_BIN | "credit card block bin" |
| CREDIT_CARD_BLOCK_PREPAID | "credit card block prepaid" |
| AMAZON_SPECIAL_INSTRUCTIONS | "amazon special instructions" |
| PAYPAL_SPECIAL_INSTRUCTIONS | "paypal special instructions" |
| REWARD_COUPON_EMAIL_MISMATCH | "reward coupon email mismatch" |
| GATEWAY_RESPONSE | "gateway response" |
| IP_DAILY_TRANSACTION_AMOUNT_EXCEEDS | "ip daily transaction amount exceeds" |
| IP_DAILY_TRANSACTION_COUNT_EXCEEDS | "ip daily transaction count exceeds" |
| IP_WEEKLY_TRANSACTION_AMOUNT_EXCEEDS | "ip weekly transaction amount exceeds" |
| IP_WEEKLY_TRANSACTION_COUNT_EXCEEDS | "ip weekly transaction count exceeds" |
| IP_MATCHES | "ip matches" |
| IP_COUNTRY_MISMATCH | "ip country mismatch" |
| ADDRESS_FRAUD_SCORE_EXCEEDS | "address fraud score exceeds" |
| ADDRESS_FRAUD_SCORE_EXCEEDS_EXEMPT_APO_FPO | "address fraud score exceeds exempt apo fpo" |
| ADDRESS_STREET_AND_ZIP_AVS | "address street and zip avs" |
| ADDRESS_BILLING_DOESNT_MATCH_SHIPPING | "address billing doesnt match shipping" |
| BILLING_COUNTRY_DOESNT_MATCH_SHIPPING | "billing country doesnt match shipping" |
| ADDRESS_INTERNATIONAL | "address international" |
| ADDRESS_MATCH_EXCEPT_ZIP | "address match except zip" |
| ADDRESS_EMAIL | "address email" |
| ADDRESS_NOT_IN_COUNTRY | "address not in country" |
| WHOLESALE_CUSTOMER_NOT_LOGGED_IN | "wholesale customer not logged in" |
| AFFILIATE_MATCHES | "affiliate matches" |
| AFFILIATE_DAILY_COUNT_EXCEEDS | "affiliate daily count exceeds" |
| AFFILIATE_WEEKLY_COUNT_EXCEEDS | "affiliate weekly count exceeds" |
| AFFILIATE_DAILY_DECLINE_PERCENTAGE_EXCEEDS | "affiliate daily decline percentage exceeds" |
| AFFILIATE_WEEKLY_DECLINE_PERCENTAGE_EXCEEDS | "affiliate weekly decline percentage exceeds" |
| AFFILIATE_DAILY_WITH_SAME_IP | "affiliate daily with same ip" |
| AFFILIATE_WEEKLY_WITH_SAME_IP | "affiliate weekly with same ip" |
| ITEM_MATCHES | "item matches" |
| ITEM_QUANTITY_EXCEEDS | "item quantity exceeds" |
| ORDER_PREVIOUS_RETURN | "order previous return" |
| ORDER_PURCHASED_WITHIN_LAST_HOURS | "order purchased within last hours" |
| ORDER_USED_COUPON_MEANT_FOR_SHARING | "order used coupon meant for sharing" |
| BROWSER_OS_LINUX | "browser os linux" |
| Name | Value |
|---|---|
| ATTEMPTED | "Attempted" |
| APPROVED | "Approved" |