Webhook endpoint
Create webhook endpoint
This endpoint creates a webhook endpoint and returns the secret used to sign its webhook events. The secret isn’t returned by any other endpoint. An account can have at most 20 webhook endpoints by default.
POST
Create webhook endpoint
Body
application/json
Response
Created
A newly created webhook endpoint, along with the secret used to sign its webhook events.
The payload style of the webhook events sent to this endpoint. standard payloads include each object's own fields and references to related objects, without invoice line items or subscription price intervals. expanded payloads include every object fully expanded.
Available options:
expanded, standard