Create Payment Webhook

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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

URL of the webhook

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

Invalid request parameters

500

Internal server error

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*