POST
/
webhooks
/
subscriptions
curl --request POST \
  --url https://api.paysway.dev/webhooks/subscriptions \
  --header 'Authorization: Bearer <token>'
{
  "title": "<string>",
  "enabled": true,
  "url": "<string>",
  "events": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Response

201 - application/json

Webhook subscription created successfully

The response is of type object.