cURL
Rules Endpoints
Create parameters by rule id
Adds parameter to a rule for a given card. These parameters will be used instead of rule defaults when processing rule for the card.
POST
cURL
Path Parameters
Body
application/json
List of parameters. Type of parameters is validated dynamically based on the rule they are applied to:
- AMOUNT: ["100"] - the first parameter is the amount to limit for a single transaction
- CUMULATIVE_AMOUNT (non-rolling / over a fixed period) : ["100", "DAILY"] - the first parameter is the cumulative amount to limit for the period provided as the second parameter, which must be one of DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY
- CUMULATIVE_AMOUNT (rolling / over a moving window): - ["100", "ROLLING_DAILY", "24"] - the first parameter is the cumulative amount to limit for the period provided as the second parameter, which must be one of ROLLING_HOURLY, ROLLING_DAILY; the third is the duration of the period
- ALLOWED_COUNTRIES: ["246", "752"] - the countries are represented by ISO 3166-1 numeric codes
- BLOCKED_COUNTRIES: ["364", "643"] - the countries are represented by ISO 3166-1 numeric codes
- ALLOWED_CARD_ENTRY_MODES: ["CHIP"] - at least one of UNKNOWN, MANUAL_ENTRY, MAGNETIC_STRIPE, CHIP, CHIP_CONTACTLESS, ECOMMERCE, WALLET_CONTACTLESS, WALLET_ECOMMERCE, CREDENTIALS_ON_FILE
- BLOCK_CARD_PRESENT: no parameters
- BLOCKED_TRANSACTION_TYPES: ["ATM"] - at least one of RETAIL, ATM, UNIQUE, CASH_DISBURSEMENT, BALANCE_INQUIRY, P2P_DEBIT, P2P_CREDIT, CREDIT, CASHBACK, AFT
Example:
Response
204
Successful operation

