Create a Webhook Endpoints

A webhook endpoint must have a url and a list of enabled_events.

Body
required
application/json
  • Type: object
    • enabled_events
      Type: array string[]
      required

      The list of events to enable for this endpoint.

    • name
      Type: string
      max length:  
      5000
      required

      Name to help identify the webhook.

    • url
      Type: string
      max length:  
      5000
      required

      The URL of the webhook endpoint.

Responses
  • application/json
  • application/json
Request Example for post/v1/webhooks
curl https://api.paypercut.io/v1/webhooks \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "enabled_events": [
    ""
  ],
  "url": "",
  "name": ""
}'
{
  "id": "string",
  "name": "string",
  "enabled_events": [
    "string"
  ],
  "status": "string",
  "secret": "string",
  "url": "string",
  "created": "2026-04-02T14:45:59.065Z"
}