This operation can be used to evaluate spend control rules for a test transaction.
{
"decision": "DECLINE",
"partialApprovalAmount": {
"amount": 3.14,
"currency": "EUR"
},
"responseCode": "<string>",
"details": [
{
"ruleSetId": "<string>",
"operator": "ANY",
"decision": "DECLINE",
"entityReferences": [
{
"id": "<string>",
"type": "CARD"
}
],
"partialApprovalAmount": {
"amount": 3.14,
"currency": "EUR"
},
"ruleEvaluations": [
{
"ruleId": "<string>",
"decision": "DECLINE",
"partialApprovalAmount": {
"amount": 3.14,
"currency": "EUR"
},
"settings": {
"id": "<string>",
"ruleType": "DECLINE",
"name": "<string>",
"filterOperatorType": "ANY",
"filters": [
{
"id": "<string>",
"type": "MCC",
"reversed": true
}
]
}
}
]
}
]
}
The audit user to log the request
Successful rules evaluation
The response is of type object
.
Was this page helpful?
{
"decision": "DECLINE",
"partialApprovalAmount": {
"amount": 3.14,
"currency": "EUR"
},
"responseCode": "<string>",
"details": [
{
"ruleSetId": "<string>",
"operator": "ANY",
"decision": "DECLINE",
"entityReferences": [
{
"id": "<string>",
"type": "CARD"
}
],
"partialApprovalAmount": {
"amount": 3.14,
"currency": "EUR"
},
"ruleEvaluations": [
{
"ruleId": "<string>",
"decision": "DECLINE",
"partialApprovalAmount": {
"amount": 3.14,
"currency": "EUR"
},
"settings": {
"id": "<string>",
"ruleType": "DECLINE",
"name": "<string>",
"filterOperatorType": "ANY",
"filters": [
{
"id": "<string>",
"type": "MCC",
"reversed": true
}
]
}
}
]
}
]
}