This endpoint allows merchants to delete an existing webhook. Once deleted, the merchants system will no longer receive notifications to the associated event and this cannot be undone.
Bearer authentication header of the form Bearer
Preferred language for the response
The unique identifier of the merchant account (must match request body) Must match the MerchantAccountNumber in the request body
10000000 <= x <= 9999999935253486
The event code of the webhook subscription to delete
"payment.success"
The unique identifier of the merchant account
10000000 <= x <= 9999999935253486
Email address of the user deleting the webhook
"admin@onekhusa.com"
OK - Webhook successfully deleted
"Merchant webhook has been deleted successfully"