Create Elimination Config
August 3, 2026 ยท View on GitHub
curl --location "$BASE_URL/rule/create" \
--header "$AUTH_HEADER" \
--header "Content-Type: application/json" \
--data '{
"merchant_id": "merchant_demo",
"config": {
"type": "elimination",
"data": {
"threshold": 0.2
}
}
}'
threshold is the SR score (0โ1) below which a gateway is eliminated. An optional txnLatency object ({ "gatewayLatency": <ms> }) adds a hard latency cut-off.
{
"message": "Elimination Configuration created successfully",
"merchant_id": "merchant_demo",
"config": { "type": "elimination", "data": { "threshold": 0.2, "txnLatency": null } }
}