Search Rule

Overview

This route will search for Rule added for PlastiqPay for a buyer.

Resource Access

GET https://<hostname>/buyer/v1/buyer/<buyerID>/rule/<ruleID>

Parameters

The requested criteria can be a combination of one or more of the following fields:

KeysValues
filter%7B%7D
search<Item user wants to search>
size10
sortcreated%3Adesc

Example Request

🚧

GET https://<hostname>/buyer/v1/buyer/82787b9f-6a7a-5105-9786-33b6ec632812/rule/01e65152-64b2-5818-9f8b-3be9acb7ffe6

Example Response


{
   "id": "01e65152-64b2-5818-9f8b-3be9acb7ffe6",
   "acl": [
       "pps:cpx-acquiring",
       "buyer:82787b9f-6a7a-5105-9786-33b6ec632812",
       "institution:0df2d073-64d5-58e2-96ee-4770201facb7",
       "network:45cf4f64-e4f2-5a7e-9344-fbd400d77133"
   ],
   "entityId": "82787b9f-6a7a-5105-9786-33b6ec632812",
   "type": "PLASTIQ_ROUTING_RULE",
   "ruleLevel": "buyer",
   "criteria": [
       {
           "id": "99dce675-fb23-5a46-94a7-a51c41b9cb2a",
           "amountTo": 200,
           "ruleType": "ACH",
           "condition": "between",
           "amountFrom": 100,
           "supplierIds": [
               "2109e8a2-6b8d-593c-a0e1-021f43852b8e"
           ]
       }
   ]
}




Priority Technology Holdings Logo