Validation suite tests for monitoring cancellation
If your integration check template is MONITORED_CALLBACK
, you need to have implemented the /cancel_checks
endpoint.
Your integration must always return a 200 status code in response, however it needs to include errors or warnings under certain circumstances. These are tested in the validation suite using the following demo_result
values.
CANCEL_WITH_SUCCESS
This is simulating a situation where your
/cancel_checks
endpoint receives a valid request and the cancellation completes successfully.CANCEL_BAD_REFERENCES
This is simulating a situation where your
/cancel_checks
endpoint receives a request that contains invalidreferences
.The
references
should include the values that were sent in thereferences
array of the request.CANCEL_ALREADY_CANCELLED_REFERENCES
This is simulating a situation where your
/cancel_checks
endpoint receives a request that containsreferences
that have already had monitoring cancelled.The
references
should include the values that were sent in thereferences
array of the request.