Skip to main content

Constraint

The constraints applied to the transaction channel

constraints object[]

Holds the custom constraints, only for the limited usage case. For the unconstrainedcase, no constraints are applied

  • Array [
  • criteriastringrequired

    Defines the criteria on which the constraint is applied

    Possible values: [AMOUNT, TYPE, PRODUCT]

    operatorstringrequired

    Defines the constraint operator. Example: in 'Amount Equals 100' it is the 'Equals'

    Possible values: [EQUALS, EMPTY, NOT_EMPTY, MORE_THAN, LESS_THAN, BETWEEN, IN]

    secondValuestring

    The second filtering value of the filter parameter (constraint). It might not exist. Example: it represents '500' from 'Amount Between 100 and 500'

    valuestring

    The first filtering value of the filter constraint. Example: it represents 'Disbursement' from 'Type equals Disbursement' and it also represents 100 from 'Amount Between 100 and 500'

    valuesstring[]

    Filtering values used for the Product and Type criteria, where filtering might be applied on one or more values

  • ]
  • matchFiltersOptionstring

    Holds the match filter option for the constraints. It can be ALL so all the constraints must match, or ANY so at least one must match

    Possible values: [ALL, ANY]

    usagestring

    States the limited/unconstrained usage of the transaction channel

    Possible values: [UNCONSTRAINED, LIMITED]

    Constraint
    {
    "constraints": [
    {
    "criteria": "AMOUNT",
    "operator": "EQUALS",
    "secondValue": "string",
    "value": "string",
    "values": [
    "string"
    ]
    }
    ],
    "matchFiltersOption": "ALL",
    "usage": "UNCONSTRAINED"
    }