STIP Spend Control Test Endpoint
Test Spend Control STIP Rules Evaluation
This operation can be used to evaluate STIP spend control rules for a test transaction.
post/v1/stip/evaluate/test
Request
- Base URLhttps://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/transfer
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
auditUserstring required
The audit user to log the request
Request body
Example request
{
"settlementAmount": {
"amount": 3.14,
"currency": "EUR"
},
"originalAmount": {
"amount": 3.14,
"currency": "EUR"
},
"replacementAmount": {
"amount": 3.14,
"currency": "EUR"
},
"merchantCountryCode": "FIN"
}Response
Successful STIP rules evaluation
Example response
{
"partialApprovalAmount": {
"amount": 3.14,
"currency": "EUR"
},
"details": [
{
"partialApprovalAmount": {
"amount": 3.14,
"currency": "EUR"
},
"ruleEvaluations": [
{
"partialApprovalAmount": {
"amount": 3.14,
"currency": "EUR"
}
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.