Update Webhook
This endpoint allows the merchants to update an existing webhook configuration.
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
Body
The unique identifier of the webhook to update
1
The unique identifier of the merchant account
10000000 <= x <= 9999999935253486
The new or updated event code for the webhook (free-form string). See webhook events documentation for common codes.
"payment.success"
The new or updated callback URL (must be reachable)
"https://merchant.example.com/webhooks/payment-updated"
Email address of the user updating the webhook
"admin@onekhusa.com"
Response
OK - Webhook successfully updated
"Merchant webhook has been updated successfully"