Webhook endpoints

Register and manage URLs that receive VINR event notifications.

View as Markdown

A webhook endpoint registers a URL on your server to receive event notifications from VINR. When a notable change occurs — such as a payment succeeding or a subscription renewing — VINR sends an HTTP POST to every matching endpoint. VINR signs each delivery using the endpoint's secret so you can verify the payload before processing it.

Illustrative content. Hand-authored to demonstrate the Standard/Advanced pattern; the production page will be generated from the VINR OpenAPI spec (roadmap item #1). Field names are representative.

The webhook endpoint objectAsk

idstring

Unique identifier for the webhook endpoint, e.g. we_4Qm7vDzH.

urlstring

The destination URL that receives event payloads, e.g. https://example.com/webhooks/vinr.

statusenum

One of enabled or disabled. Disabled endpoints receive no deliveries.

enabled_eventsarray

List of event types this endpoint subscribes to, e.g. ["payment.succeeded", "invoice.paid"]. Pass ["*"] to subscribe to all events.

secretstring

Signing secret used to verify delivery authenticity. Shown only on create. Use it to validate the X-Vinr-Signature header on each incoming request.

createdtimestamp

Unix timestamp of when the endpoint was created.

Create a webhook endpointAsk

Register a new URL and specify which event types it should receive.

Retrieve a webhook endpointAsk

Update a webhook endpointAsk

Change the subscribed event types or toggle the endpoint active/disabled without deleting it.

Delete a webhook endpointAsk

Permanently removes the endpoint. VINR will stop sending deliveries immediately.

List webhook endpointsAsk

Was this page helpful?