post
https://api-sandbox.ztlment.com/v1/webhooks
Creates a Payment Webhook using the url defined in the request body. It is important to save the secret returned in the response body. Once the Webhook is created, a POST request will be sent to the specified URL every time one of your Payment Objects changes state in the following format: {"payment_object_id":123,"state":"PROCESSED"}. All requests made to webhook URLs from ZTLment will contain the ZTLment-Signature header that can be used to verify that the request comes from ZTLment. If the secret_key is used to encrypt the payment_object_id+state and it matches the ZTLment-Signature header you can be sure the request has come from ZTLment.