PatchWebhookRequest
Array of event types
TransactionsImported
- transactions have been successfully imported from a payment provider and importedTransactionsImportError
- an error occurred when importing transactions from a payment providerAccountCreated
- an account has been createdAccountError
- a problem with the account is detected, i.e. credentials validation error
Optional. If not specified, the current value is not changed.
["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_url
headers 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
Active
Disabled
Optional. If not specified, the current value is not changed.
Disabled
If 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
}