curl --request POST \
--url https://api.example.com/contract_routing.ContractScoreCalculator/FetchContractScore \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--header 'x-profile-id: <x-profile-id>' \
--header 'x-tenant-id: <x-tenant-id>' \
--data '
{
"id": "merchant1",
"params": "card",
"labels": [
"stripe",
"adyen"
],
"config": {
"constants": [
0.7,
0.3
],
"time_scale": {
"time_scale": "Day"
}
}
}
'