Deregistering legacy webhooks
It is possible to remove one or more legacy webhooks from the merchant account.
Because Nexio does not support having the current version of webhooks and the legacy version, you need to deregister all the legacy webhooks when moving to using the new version.
Deregister a single legacy webhook
To remove just one legacy webhook for a specific event type, you must know all the current legacy webhooks for all event types.
In order to remove a single legacy webhook for a specific event type, do the following:
- Send a GET request to the View legacy merchant webhook configuration endpoint for the desired merchant account or payout account.
Copy thewebhooks
object in the response. - Send a POST request to the Create legacy merchant webhooks endpoint.
Include the appropriate ID for either the merchant account or the payout account.
Paste thewebhooks
object from Step 1. For the legacy webhook you want to remove, delete the entire event type (including the URL).
Deregister all legacy webhooks
To remove all legacy webhooks, do the following:
- Send a POST request to the Create legacy merchant webhooks endpoint.
Include the appropriate ID for either the merchant account or the payout account.
Include an emptywebhooks
object.
Updated about 1 month ago