cURL
curl --request POST \ --url https://api.example.com/v1/merchants/me/web-hook \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "signature_key": "steven", "web_hook_uri": "https://webhook.site/7a400998-3ebe-466c-a51a-5fa8bac75ecd", "events": [] } '
Update the WebHook settings for a specific merchant by its unique identifier.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The WebHook URI to receive event notifications.
The kwy will be added into Request Header X-Signature with base64 encryption when sending to the WebHook URI.
X-Signature
OK