API referenceWebhooks
Register a webhook endpoint
Where this application should be told about its payments. Returns the signing secret once.
Choose a TEST app to send requests from the playground.
post
/webhook-endpointsWhere this application should be told about its payments. Returns the signing secret once.
BearerAuthheader
AuthorizationBearer <token>An access token from POST /oauth/token: client_credentials for your own app, or authorization_code for a user who connected it.
Endpoint
application/json- body
description?stringevents?array<string>url*stringCreated
application/json- response
data?error?message?stringmeta?success?booleancurl -X POST "https://example.com/webhook-endpoints" \ -H "Content-Type: application/json" \ -d '{ "url": "string" }'{ "error": { "code": "string", "details": { "property1": "string", "property2": "string" }, "message": "string" }, "message": "string", "meta": { "pagination": { "next_cursor": "string", "page": 0, "per_page": 0, "total_items": 0, "total_pages": 0 } }, "success": true, "data": { "client_id": "string", "created_at": "string", "description": "string", "environment": "LIVE", "events": [ "string" ], "id": "string", "is_active": true, "secret": "string", "updated_at": "string", "url": "string" }}