This endpoint allows the merchants to create a new webhook to receive transaction notifications in the system.
Bearer authentication header of the form Bearer
Preferred language for the response
The unique identifier of the merchant account
10000000 <= x <= 9999999935253486
The event code to trigger the webhook (free-form string). See webhook events documentation for common codes.
"payment.success"
The URL that will receive webhook notifications (must be reachable)
"https://merchant.example.com/webhooks/payment"
Email address of the user creating the webhook
"johndoe@example.com"
Created - Webhook successfully created
"Merchant webhook has been created successfully"