Skip to main content
POST
/
contract_routing.ContractScoreCalculator
/
UpdateContract
{
  "status": "CONTRACT_UPDATION_SUCCEEDED"
}

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_information
object[]
required

Contract information for processors

Example:
[
{
"label": "stripe",
"target_count": 1000,
"target_time": 86400,
"current_count": 500
},
{
"label": "adyen",
"target_count": 1500,
"target_time": 86400,
"current_count": 750
}
]
params
string

Additional parameters

Example:

"card"

Response

Contract update succeeded

status
enum<string>
required

Status of the update operation

Available options:
CONTRACT_UPDATION_SUCCEEDED,
CONTRACT_UPDATION_FAILED