Create Rule
This operation adds a new rule to an existing rule set.
Query Parameters
The audit user to log the request
Body
DECLINE
Always declines. Should be used together with filters. Parameters: None
ALLOWED_MCC
Approves if MCC in request is in parameter list. Otherwise declines. Parameters: List of MCC codes
BLOCKED_MCC
Declines if MCC in request is in parameter list. Otherwise approves. Parameters: List of MCC codes
ALLOWED_MERCHANT_ID
Approves if merchant id in request is in parameter list. Otherwise declines. Parameters: List of merchant ids
BLOCKED_MERCHANT_ID
Declines if merchant id in request is in parameter list. Otherwise approves. Parameters: List of merchant ids
AMOUNT
Declines if amount in request is greater than the parameter. Otherwise approves. Parameters: Single element containing floating number
ALLOWED_MERCHANT_COUNTRY
Approves if country code in request is not present or is in parameter list. Otherwise declines. Parameters: List of country codes
BLOCKED_MERCHANT_COUNTRY
Declines if country code in request is present and is in parameter list. Otherwise approves. Parameters: List of country codes
BLOCKED_CARD_ENTRY_MODES
Declines if card entry mode code in request is present and is in parameter list. Otherwise approves. Parameters: List of card entry mode codes
ALLOWED_CARD_ENTRY_MODES
Approves if card entry mode code in request is present and is in parameter list. Otherwise declines. Parameters: List of card entry mode codes
ALLOWED_CVM
Approves if cardholder verification code in request is present and is in parameter list. Otherwise declines. Parameters: List of cardholder verification codes
BLOCKED_CVM
Declines if cardholder verification code in request is present and is in parameter list. Otherwise approves. Parameters: List of cardholder verification codes
DECLINE
, ALLOWED_MCC
, BLOCKED_MCC
, ALLOWED_MERCHANT_ID
, BLOCKED_MERCHANT_ID
, AMOUNT
, ALLOWED_MERCHANT_COUNTRY
, BLOCKED_MERCHANT_COUNTRY
, ALLOWED_CARD_ENTRY_MODES
, BLOCKED_CARD_ENTRY_MODES
, ALLOWED_CVM
, BLOCKED_CVM
, CARDHOLDER_PRESENT
Defines whether all filters should match or if it's for just one filter to pass.
ANY
, ALL
Response
DECLINE
Always declines. Should be used together with filters. Parameters: None
ALLOWED_MCC
Approves if MCC in request is in parameter list. Otherwise declines. Parameters: List of MCC codes
BLOCKED_MCC
Declines if MCC in request is in parameter list. Otherwise approves. Parameters: List of MCC codes
ALLOWED_MERCHANT_ID
Approves if merchant id in request is in parameter list. Otherwise declines. Parameters: List of merchant ids
BLOCKED_MERCHANT_ID
Declines if merchant id in request is in parameter list. Otherwise approves. Parameters: List of merchant ids
AMOUNT
Declines if amount in request is greater than the parameter. Otherwise approves. Parameters: Single element containing floating number
ALLOWED_MERCHANT_COUNTRY
Approves if country code in request is not present or is in parameter list. Otherwise declines. Parameters: List of country codes
BLOCKED_MERCHANT_COUNTRY
Declines if country code in request is present and is in parameter list. Otherwise approves. Parameters: List of country codes
BLOCKED_CARD_ENTRY_MODES
Declines if card entry mode code in request is present and is in parameter list. Otherwise approves. Parameters: List of card entry mode codes
ALLOWED_CARD_ENTRY_MODES
Approves if card entry mode code in request is present and is in parameter list. Otherwise declines. Parameters: List of card entry mode codes
ALLOWED_CVM
Approves if cardholder verification code in request is present and is in parameter list. Otherwise declines. Parameters: List of cardholder verification codes
BLOCKED_CVM
Declines if cardholder verification code in request is present and is in parameter list. Otherwise approves. Parameters: List of cardholder verification codes
DECLINE
, ALLOWED_MCC
, BLOCKED_MCC
, ALLOWED_MERCHANT_ID
, BLOCKED_MERCHANT_ID
, AMOUNT
, ALLOWED_MERCHANT_COUNTRY
, BLOCKED_MERCHANT_COUNTRY
, ALLOWED_CARD_ENTRY_MODES
, BLOCKED_CARD_ENTRY_MODES
, ALLOWED_CVM
, BLOCKED_CVM
, CARDHOLDER_PRESENT
Defines whether all filters should match or if it's for just one filter to pass.
ANY
, ALL