Auth Rules
Update rule entities
Changed onAdds entities to and removes entities from a V2 Auth rule's include and exclude lists
To replace all of the rule's entities at once, provide entities to PATCH /v2/auth_rules/{auth_rule_token} instead.
patch/v2/auth_rules/{auth_rule_token}/entities
Request
- Base URLhttps://sandbox.lithic.com
- URLhttps://sandbox.lithic.com/v2/auth_rules/{auth_rule_token}/entities
- AuthAPI key in header Authorization
Path parameters
auth_rule_tokenstring uuid required
Request body
Response
Auth Rule
Example response
{
"current_version": {
"parameters": {
"filters": {
"include_mccs": [
"5542"
],
"exclude_mccs": [
"5542"
],
"include_countries": [
"USA"
],
"exclude_countries": [
"USA"
]
},
"limit_amount": 10000,
"limit_cash_amount": 5000
}
},
"draft_version": {
"parameters": {
"filters": {
"include_mccs": [
"5542"
],
"exclude_mccs": [
"5542"
],
"include_countries": [
"USA"
],
"exclude_countries": [
"USA"
]
},
"limit_amount": 10000,
"limit_cash_amount": 5000
}
}
}Changes
- info
endpoint added
- info