UpdateWebhookRequest
eventTypesstring[]required
Array of event types
TransactionsImported- transactions have been imported from a payment providerAccountCreated- an account has been createdAccountUpdated- an account has been updatedAccountDeleted- an account has been deletedAccountTypeUpdated- an account type has been updated
Possible values: >= 1
Example:
["TransactionsImported","AccountCreated"]urlstring<uri>required
Callback URL
When the event occurs, PayData will send a POST request to this URL
Possible values: non-empty
Example:
https://example.de/callback_urlheaders objectnullable
Headers to be sent with the request to the callback URL
A dictionary of headers. The key is the header name, the value is the header value.
Optional. Can be used to check that the callback request is sent by PayData.
property name*string
sslVerificationDisabledbooleanrequired
If true, SSL verification is enabled for the webhook
statusstringrequired
Webhook status
ActiveDisabled
Possible values: non-empty
Example:
DisabledUpdateWebhookRequest
{
"eventTypes": [
"TransactionsImported",
"AccountCreated"
],
"url": "https://example.de/callback_url",
"headers": {
"X-Partner-Secret": "TgwdYF1hgOVb8M5YOvxOukqfjzYOGRZcJiCjQuRGkVIBfjjV1HF5zKTGiY2aPn2cQTGaQOT8"
},
"sslVerificationDisabled": true,
"status": "Disabled"
}