Rule Configuration
Get rule config
Retrieve an existing rule configuration by merchant and type.
post/rule/get
Request body
Example request
{
"merchant_id": "test_merchant",
"algorithm": "successRate"
}Response
Rule config
Example response
{
"merchant_id": "merchant_demo",
"config": {
"type": "successRate",
"data": {
"defaultBucketSize": 20,
"subLevelInputConfig": [
{
"paymentMethodType": "CARD",
"paymentMethod": "CREDIT",
"bucketSize": 30,
"hedgingPercent": 0.05
}
],
"margin": 0.2
}
}
}