POST
/
success_rate.SuccessRateCalculator
/
FetchSuccessRate
{
  "labels_with_score": [
    [
      {
        "score": 100,
        "label": "stripe"
      },
      {
        "score": 98.5,
        "label": "adyen"
      }
    ]
  ]
}

Headers

x-tenant-id
string
required
x-profile-id
string
required
x-api-key
string
required

Body

application/json
id
string
required

Entity identifier

params
string
required

Parameters on which success rate scores has to be maintained

labels
string[]
required

Labels for which to calculate success rates

Response

200
application/json
Success rate calculated successfully
labels_with_score
array

List of labels with their calculated success rates