cURL
curl --request POST \ --url https://api.example.com/contract_routing.ContractScoreCalculator/InvalidateContract \ --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" } '
{ "status": "CONTRACT_INVALIDATION_SUCCEEDED" }
Invalidates the contract for a given entity identifier
Entity identifier to invalidate
"merchant1"
Contract invalidation succeeded
Status of the invalidation operation
CONTRACT_INVALIDATION_SUCCEEDED
CONTRACT_INVALIDATION_FAILED
Was this page helpful?