Contract Created
Sent when a contract was created either via self-service or Admin UI.
Typical Scenario
Upon receving this hook, you'll want to query the billwerk API for the given contract to create a new account in your system and send a welcome email. To do so, you might have to also fetch the customer whose id is given in the contract.
HTTP/1.1
POST /billwerk-hook
Host: example.com
Content-Type: application/json
{
"ContractId":"6298a006e636b694d807080f",
"CustomerId":"6298a006e636b694d8070809",
"Event":"ContractCreated",
"EntityId":"62148e3c0c14e1609e9ca5c1"
}