Add Webhook
This endpoint allows the merchants to create a new webhook to receive transaction notifications in the system.
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 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"
Response
Created - Webhook successfully created
"Merchant webhook has been created successfully"