v1

latestOpenAPI 3.0.32026-07-26208618579.9 KB
Rules Endpoints

Create Rule Filter

This operation adds a new filter to an existing rule.

post/v1/rules/{rule-id}/filters/

Path parameters

rule-idstring biginteger required

Query parameters

auditUserstring required

The audit user to log the request

Request body

OR
OR
OR
OR
OR
OR
OR

Example request

{
  "parameters": {
    "items": [
      "FIN"
    ]
  }
}

Response

Successful operation

idstring biginteger
type'MCC' | 'AMOUNT' | 'MERCHANT_COUNTRY' | 'CARDHOLDER_VERIFICATION' | 'CARD_ENTRY_MODE' | 'CARDHOLDER_PRESENT' | 'ACQUIRER_ID' | 'TRANSACTION_TYPE'

MCC

Matches if MCC in request is in parameter list. Parameters: List of MCC codes

Amount

Matches if amount is greater than the parameter. Parameters: Single element containing floating number

MERCHANT_COUNTRY

Matches if country code is in parameter list. Parameters: List of country codes

CARDHOLDER_VERIFICATION

Matches if cardholder verification is in parameter list. Parameters: List of cardholder verifications

CARD_ENTRY_MODE

Matches if card entry mode is in parameter list. Parameters: List of card entry modes

CARDHOLDER_PRESENT

Parameters: boolean value

ACQUIRER_ID

Matches if acquirer id is in parameter list. Parameters: List of acquirer ids

TRANSACTION_TYPE

Matches if transaction type is in parameter list. Parameters: List of transaction types

reversedboolean