Delete Webhook
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.
Authorizations
Bearer authentication header of the form Bearer Token, Where accessToken is the access token used to authenticate the request.
Headers
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
Body
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"
Response
OK - Webhook successfully deleted
"Merchant webhook has been deleted successfully"