Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 502 Bytes

File metadata and controls

29 lines (26 loc) · 502 Bytes
title Get Elimination Config
description Curl example for reading elimination config.

Get Elimination Config

curl --location "$BASE_URL/rule/get" \
  --header "$AUTH_HEADER" \
  --header "Content-Type: application/json" \
  --data '{
    "merchant_id": "merchant_demo",
    "algorithm": "elimination"
  }'
{
  "merchant_id": "merchant_demo",
  "config": {
    "type": "elimination",
    "data": {
      "threshold": 0.25,
      "txnLatency": null
    }
  }
}