Skip to main content

Welcome to our Dev Docs!

Contract Deleted

Sent when a contract was deleted via API or via UI, or when a contract was deleted following deletion of its customer.

Typical Scenario

Upon receving this hook, you can safely proceed to delete the related data on your own systems. As the data is deleted, you cannot request more info on this contract at this stage.

HTTP/1.1
POST /billwerk-hook
Host: example.com
Content-Type: application/json

{
"Event" : "ContractDeleted",
"ContractId" : "51d970c8eb596a1168df119a"
}