Skip to main content
POST
Fetch contract scores for an entity

Headers

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

Body

application/json
id
string
required

Entity identifier

Example:

"merchant1"

labels
string[]
required

Labels (processors) to calculate scores for

Example:
config
object
required

Configuration for calculation

params
string

Additional parameters for contract calculation

Example:

"card"

Response

Success rate calculated successfully

labels_with_score
object[]

Contract scores for each label