POST
/
v1
/
stip
/
evaluate
/
test
curl --request POST \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/spend-control/v1/stip/evaluate/test \
  --header 'Content-Type: application/json' \
  --data '{
  "transactionId": "<string>",
  "cardId": "<string>",
  "accountId": "<string>",
  "merchantCategoryCode": "<string>",
  "settlementAmount": {
    "amount": 3.14,
    "currency": "EUR"
  },
  "originalAmount": {
    "amount": 3.14,
    "currency": "EUR"
  },
  "replacementAmount": {
    "amount": 3.14,
    "currency": "EUR"
  },
  "merchantCountryCode": "FIN",
  "merchantId": "<string>",
  "acquirerId": "<string>",
  "subMerchantId": "<string>",
  "cardholderVerifications": [
    "WALLET"
  ],
  "cardEntryMode": "UNKNOWN",
  "cardholderPresent": true,
  "transactionType": "RETAIL",
  "messageCategory": "REQUEST",
  "cardScheme": "VISA"
}'
{
  "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
              }
            ]
          }
        }
      ]
    }
  ]
}

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json

Response

200
application/json
Successful STIP rules evaluation

The response is of type object.