Create a webhook
Register a new webhook endpoint and subscribe it to one or more event types.
Body
POST /v0/webhooks/create Request body
HTTP(S) endpoint that receives event deliveries. Must use http:// or https:// and must not resolve to a loopback, private, or link-local address.
Whether the webhook receives deliveries: - active: Receives deliveries for its subscribed events - inactive: Configured but not currently receiving deliveries
active, inactive Caller-supplied signing secret used to verify the 'x-fngs-signature' header on each delivery. Any string of at least 16 characters — no required prefix or format.
16Event types this webhook is subscribed to. Omit to subscribe to no events.
payment_success, payment_refunded, payment_failed, subscription_created, subscription_interval, subscription_updated, subscription_cancelled