Create a Webhook Endpoints
A webhook endpoint must have a url and a list of enabled_events.
Body
required
application/json
- Type: object
- Type: array string[]
enabled _events requiredThe list of events to enable for this endpoint.
- Type: string
name max length:5000requiredName to help identify the webhook.
- Type: string
url max length:5000requiredThe 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"
}
