Skip to main content

Welcome to our Dev Docs!

Contract Cancelled

Sent when the cancellation was triggered, NOT when the contract actually ends. If you want to get notified when a contract ends, use the Contract Changed webhook instead. Usually a cancellation is triggered some time before the contract actually ends (notice period).

Typical Scenario

You might want to listen to this hook to get into contact with the customer to make him a special offer if he withdraws his cancellation.

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

{
    "ContractId":"629479fd471b3f8ab4ad08e0",
    "CustomerId":"6242991221642365b05d86a9",
    "Event":"ContractCancelled",
    "EntityId":"62148e3c0c14e1609e9ca5c1"
}