Authorizations
Bearer authentication header of the form Bearer <Token>, where <Token> is your access token.
Headers
The organization identifier
The merchant account number
Preferred language for the response
The unique identifier of the merchant account (must match request body)
10000000 <= x <= 9999999935253486
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"