PatchWebhookRequest
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
Optional. If not specified, the current value is not changed.
Possible values: >= 1
["TransactionsImported"]Callback URL
When the event occurs, PayData will send a POST request to this URL
Optional. If not specified, the current value is not changed.
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.
Can be used to check that the callback request is sent by PayData.
Optional. If not specified, the current value is not changed.
If specified, the new headers are merged with the existing headers, i.e. new headers are added, existing headers are updated. To delete a header, use the UpdateWebhook method.
Webhook status
ActiveDisabled
Optional. If not specified, the current value is not changed.
DisabledIf true, SSL verification is enabled for the webhook
Optional. If not specified, the current value is not changed.
{
"eventTypes": [
"TransactionsImported"
],
"url": "https://example.de/callback_url",
"headers": {
"X-Partner-Secret": "TgwdYF1hgOVb8M5YOvxOukqfjzYOGRZcJiCjQuRGkVIBfjjV1HF5zKTGiY2aPn2cQTGaQOT8"
},
"status": "Disabled",
"sslVerificationDisabled": true
}