9. Buyer Rules for PlastiqPay

8.1 Overview

Rules: Users can add rules for CPX buyer. The rules can only be added if PlastiqPay is enabled for the buyer and the payments would be routed to plastiq if the payment matches any of the rules set for the buyer.

8.2 Attributes

FieldSub-fieldTypeDescriptionAdditional Information
totalRecordsIntegerTotal number of records available
totalTypeStringWhether the records returned are an exact or in range
recordCountNumber of records fetched
recordsArray of objectsDetails of the records fetched
aclArrayaccess control list for the rules fetched
entityIdId of buyer for which rule is created
idId of the rule
ruleLevelRule is created for which level of entity
typeenumType of Rule being added PLASTIQ_ROUTING_RULEMandatory
criteriaObject arrayCriteria to be used to filter payments to be used to plastiqMandatory
ruleTypeenumRule being added for Payment Type
  • CHK
  • ACH
  • WIR
  • Mandatory
    supplierIdsarrayList of supplier Ids associated with the criteriaOptional
    Conditionenumbetween lessThanOrEqualsTo greaterThanOrEqualsToMandatory
    amountFromstringLower amount for which rule is applicableOptional
    amountTostringUpper amount for which rule is applicableOptional
    idStringId of the Criteria of the rule
    createdstringDate and time of creation of the rule
    creatoridstringId of user creating the rule
    usernamestringUsername of user creating the rule
    modifiedstringDate and time of last modification of rule
    modifieridstringId of user who has last modified the rule
    usernamestringUsername of user who has last modified the rule

    8.3 Operations

    8.3.1. Create Rule
    8.3.2. Delete rule by id
    8.3.3. Delete criteria by id
    8.3.4. Update rule
    8.3.5. Search Rule
    8.3.6. Search Rule list


    Priority Technology Holdings Logo