Skip to main content
POST
/
v1
/
merchants
/
me
/
web-hook
/v1/merchants/me/web-hook
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": []
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
web_hook_uri
string<uri>
required

The WebHook URI to receive event notifications.

events
string[]
signature_key
string | null

The kwy will be added into Request Header X-Signature with base64 encryption when sending to the WebHook URI.

Response

200

OK