Endpoints
The Webhook object
The ID of the entity this webhook belongs to. Defaults to the authenticating entity when omitted. Required when acting on a child entity. See Managing child entities for details.
Duration in seconds. The API stores the value and returns it, but doesn’t expire the webhook or stop deliveries when the time passes.
Read-only. A flattened summary of the enabled events, using
group.all where every event in a group is enabled. e.g. ["accounts.all", "outflows.all"].System-generated signing secret, in the format
nv_wsk_ followed by 64 hexadecimal characters. Nuvion derives an HMAC from this value to sign each delivery. Returned once, at creation or when rotated via rotate_secret: store it securely before leaving the page. It is never returned on subsequent requests. See Verifying signatures for how to validate incoming requests.Webhook status. One of
active, inactive, or blacklisted. Defaults to active at creation. See Blacklisting for how a webhook becomes blacklisted and how to reactivate it.Human-readable explanation of the current
status, for example Webhook delivery failure threshold exceeded after a webhook is blacklisted. Omitted when there is no reason.Example
Create a webhook
POST /entity-webhooks
Registers a new webhook endpoint for the authenticated entity. Returns 201 Created. The call is not idempotent and the API doesn’t check for duplicate URLs: sending the same request twice creates two webhooks, and each one receives every event it subscribes to.
Request parameters
The HTTPS endpoint Nuvion posts events to. Must begin with
https://. A URL that doesn’t start with https:// returns 422 error_validation_error, and a malformed https:// URL returns 400 error_validation_invalid_format.Duration in seconds. Required. The API accepts any number, including
0, and returns the value as sent. The API stores the value and returns it, but doesn’t expire the webhook or stop deliveries when the time passes.The ID of the entity this webhook belongs to. Defaults to the authenticating entity when omitted. Required when acting on a child entity. An unknown ID returns
404 error_resource_not_found. See Managing child entities for details.The events to subscribe to. Set
all to subscribe to every event, or enable specific events within one or more groups. See enabled_events fields for the full group structure.When you send a group, include every event in it, set to true or false: a missing event returns 422 error_validation_required_field_missing. For example, { "outflows": { "created": true, "completed": true, "failed": true, "cancelled": false, "refunded": false } } subscribes to three outflow events. Groups you leave out are not subscribed, a group name the API doesn’t recognize is ignored, and an empty object is accepted.Some flags in the subscription object do not produce deliveries, for example accounts.updated, accounts.deleted and funding_sessions.created. Subscribe to the events listed on Event types.A short description to identify the webhook in the dashboard. Omitted from the response when you don’t send one.
The initial status. One of
active or inactive. Defaults to active. Any other value, including blacklisted, returns 422 error_validation_value_not_supported.Response
Returns201 Created with the new webhook object. The secret is returned only in this response, so store it now. It begins with nv_wsk_ followed by 64 hexadecimal characters.
Errors
The request can also return the shared
403 and 429 errors. See Errors for the standard error object.
Example error responses:
Update a webhook
PATCH /entity-webhooks/:webhookId
Updates an existing webhook. Only the fields you include are changed; omitted fields keep their current values. An empty body succeeds and changes nothing. Returns 200 OK.
Changing the url or reactivating a blacklisted webhook first sends a webhook.health request to the URL, and the update applies only if the endpoint returns 2xx. Other changes, such as description, tags and enabled_events, apply to a blacklisted webhook without a health check, but they don’t reactivate it. See Blacklisting.
Path parameters
The webhook ID, a 26-character ULID. A value of any other length or format returns
422 error_validation_invalid_format. A well-formed ID that doesn’t exist, was deleted, or belongs to another entity returns 404 error_resource_not_found.Request parameters
New HTTPS delivery URL. Must begin with
https://; any other value returns 422 error_validation_invalid_format. Triggers the webhook.health check against the new URL before the update applies.One of
active or inactive. Send active to reactivate a blacklisted webhook. The API runs the webhook.health check against the current URL, and the status changes only if the check passes. Any other value returns 422 error_validation_value_not_supported. A blacklisted webhook can’t be set to inactive.Set to
true to generate a new signing secret. The new secret is returned once, in this response; update your verification logic to use it. Defaults to false.The events to subscribe to, in the same shape as the Webhook object. Each event group you send replaces that group, so include every event in the group: a missing event returns
422 error_validation_required_field_missing. Groups you omit keep their current values. The API ignores a group name it doesn’t recognize. preferred_events is recalculated from the result.A list of tags for organizing webhooks. Replaces the existing list, so send every tag you want to keep.
Duration in seconds. The API stores the value and returns it, but doesn’t expire the webhook or stop deliveries when the time passes.
Selects the entity that owns the webhook. Defaults to the authenticating entity when omitted. Required when acting on a child entity. An unknown ID returns
404 error_resource_not_found. See Managing child entities for details.Request
Response
Returns the updated Webhook object with the messageWebhook edited successfully. The secret is included only when you set rotate_secret. It begins with nv_wsk_ and is followed by 64 hexadecimal characters.
Errors
The request can also return the shared
403 and 429 errors. See Errors for the standard error object.
Get a webhook
GET /entity-webhooks/:webhookId
Retrieves a single webhook by ID. Returns 200 OK. Authenticate with a secret API key; a publishable key or no key returns 401 error_auth_credentials_invalid. The signing secret is never returned. Store it when you create the webhook or rotate it.
Path parameters
The webhook ID, a 26-character ULID. A value of any other length or format returns
422 error_validation_invalid_format. A well-formed ID that doesn’t exist, was deleted, or belongs to another entity returns 404 error_resource_not_found.Query parameters
The ID of the entity this webhook belongs to. Defaults to the authenticating entity when omitted. Required when acting on a child entity. An unknown ID returns
404 error_resource_not_found, and a webhook is only readable through the entity that owns it. See Managing child entities for details.Response
Returns the Webhook object.description and status_reason are omitted when unset.
Errors
The request can also return the shared
403 and 429 errors. See Errors for the standard error object.
Example error responses:
List webhooks
GET /entity-webhooks
Returns a paginated list of the webhooks for the authenticated entity, newest first across pages. Returns 200 OK. Authenticate with a secret API key; a publishable key or no key returns 401 error_auth_credentials_invalid. Deleted webhooks are never returned. inactive and blacklisted webhooks are included.
Query parameters
Number of results per page. Between
1 and 100. Defaults to 20. A value outside that range, or a non-numeric value, returns 422 error_validation_value_out_of_range.Pagination cursor for the next page: the
data.meta.pagination.next_cursor value from the previous response. Omit for the first page. A value that isn’t a 26-character ULID returns 422 error_validation_invalid_format.The ID of the entity whose webhooks to list. Defaults to the authenticating entity when omitted. Required when acting on a child entity. An unknown ID returns
404 error_resource_not_found. See Managing child entities for details.prev_cursor parameter, and previous_cursor in the response is informational: sending it as cursor returns the records after it, not the previous page. has_previous is true whenever you send cursor. A page can hold fewer items than limit while has_next is true, and the order of items within a page isn’t guaranteed.
Response
Returns the webhooks underdata.data and the pagination state under data.meta.pagination. Each item is a Webhook object. description and status_reason are omitted when unset, and the signing secret is never returned.
200 OK
Filter the list
Returns one webhook per page. A filter that matches nothing returns an empty list.Fetch the next page
Passnext_cursor from the previous response as cursor and keep the same filters. The response is the next page, and has_next is false on the last one.
Errors
The request can also return the shared
403 and 429 errors. See Errors for the standard error object.
Example error responses:
Delete a webhook
DELETE /entity-webhooks/:webhookId
Deletes a webhook. It can no longer be retrieved or updated, and Nuvion stops delivering events to its endpoint. Returns 200 OK. Delivery history stays in the webhook logs. If the webhook belonged to a child entity, that entity’s events go to the parent’s webhook afterwards. See Webhooks overview.
Deleting is not idempotent. Deleting a webhook that is already deleted returns 404.
Path parameters
The ID of the webhook to delete. A value that isn’t a 26-character ULID returns
422 error_validation_invalid_format. A well-formed ID that doesn’t exist, is already deleted, or belongs to another entity returns 404 error_resource_not_found.Request parameters
Selects the entity that owns the webhook. Defaults to the authenticating entity when omitted. Required when acting on a child entity. Send it in a JSON request body with
Content-Type: application/json. An unknown ID returns 404 error_resource_not_found. See Managing child entities for details.Response
Returns the deleted Webhook object as it was before deletion, with the messageWebhook deleted successfully. The deleted field in this response is 0, because it shows the state before the delete. The secret isn’t returned.
200 OK
Errors
The request can also return the shared
403 and 429 errors. See Errors for the standard error object.
Example error responses:
The Webhook Log object
Each delivery attempt is recorded as a log entry. Logs are immutable and retained regardless of delivery outcome. A failed delivery that is retried creates one log entry per attempt, and the entries share the sameevent_id.
The ID of the entity whose webhook received the delivery. When a child entity’s event is delivered through its parent’s webhook, the log belongs to the parent, so list it with the parent’s
entity_id.Example webhook log
List webhook logs
GET /webhook-logs
Returns a paginated list of delivery log entries for the authenticated entity, newest first. Returns 200 OK. Entries are never removed, so the list includes every attempt, including retries, test deliveries, and the webhook.health requests sent when you change a webhook’s URL or reactivate it.
Query parameters
Selects whose logs to list. Defaults to the authenticating entity when omitted. Required when acting on a child entity. An unknown ID returns
404 error_resource_not_found. Events for a child entity that are delivered through its parent’s webhook are logged under the parent, so list them with the parent’s entity_id. See Managing child entities for details.Only logs for deliveries to this webhook. A value that isn’t a 26-character ULID returns
422 error_validation_invalid_format. An unknown ID returns an empty list.Only logs for this event. A failed delivery that is retried has one log entry per attempt, all with the same
event_id. The value isn’t validated, so an unknown ID returns an empty list.Only logs created at or after this Unix timestamp in milliseconds. An ISO 8601 date or a value that isn’t a number returns
422 error_validation_invalid_format.Only logs created at or before this Unix timestamp in milliseconds, in the same format as
created_from.Number of results per page. Between
1 and 100. Defaults to 20. A value outside that range, or a non-numeric value, returns 422 error_validation_value_out_of_range.Pagination cursor for the next page: the
data.meta.pagination.next_cursor value from the previous response. Omit for the first page. A value that isn’t a 26-character ULID returns 422 error_validation_invalid_format.This endpoint pages forward only. It has no previous-page parameter:
prev_cursor and previous_cursor are ignored and return the first page, and passing previous_cursor as cursor returns the records older than it. To revisit a page, keep the cursor you used to fetch it. has_previous is true whenever you send a cursor, even if that page is empty.Request
Response
Returns the log entries underdata.data and the pagination state under data.meta. Each entry is a Webhook Log object. filters_applied repeats the filters you sent, with the date range as created: {from, to}.
200 OK
X-Nuvion-Event-Signature and the other delivery headers are recorded as sent. See Verifying signatures for how to validate them.Filter the list
Returns one delivery attempt for a single webhook in a time window.created_from and created_to are Unix timestamps in milliseconds. A filter that matches nothing returns an empty list.
Fetch the next page
Passnext_cursor from the previous response as cursor and keep the same filters. The response is the next page, and has_next is false on the last one.
Errors
The request can also return the shared
403 and 429 errors. See Errors for the standard error object.
Example error responses:
Send a test event
POST /webhook-tests
Sends a test delivery to an existing webhook endpoint, so you can verify it’s reachable and correctly signs and receives deliveries without waiting for a real event. Returns 200 OK.
The request waits for the delivery, which is a single attempt: there are no retries, and the test doesn’t change the webhook’s stats or count toward blacklisting. The endpoint’s own answer is in data.response.status, and the request still returns 200 when the endpoint fails; 408 means it timed out. You can test a webhook that is inactive or blacklisted, which is a quick way to check an endpoint before you reactivate it.
Request parameters
The ID of the webhook to send the test event to. A malformed ID returns
422 error_validation_invalid_format, and one that doesn’t exist or has been deleted returns 404 error_resource_not_found.The event group to simulate. One of
entities, accounts, account_details, inflows, outflows, funding_sessions, payment_intent, payment_dispute, payment_refund, cards, offers, capital_orders, or capital_accounts. Any other value returns 422 error_validation_value_not_supported.The specific event to simulate within the group. One of
created, updated, deleted, completed, failed, cancelled, refunded, frozen, or unfrozen.The event must be enabled on the webhook: otherwise the request returns 400 error_operation_event_not_enabled. A webhook with enabled_events.all set to true accepts any combination, including ones Nuvion never emits, such as funding_sessions.created. Refer to the enabled_events structure for the events Nuvion sends.Selects the entity that owns the webhook. Defaults to the authenticating entity when omitted. Required when acting on a child entity. An unknown ID returns
404 error_resource_not_found. See Managing child entities for details.Response
Returns the delivery as a Webhook Log object indata, with the message Test Webhook sent successfully. The log also includes meta.dispatched_via_proxy and an empty query object.
200 OK
The test delivery uses the same Use this endpoint to confirm your webhook is reachable and that your signature verification works, not to test your handler’s parsing logic against realistic event data. See Event types for real payload shapes.
event and data envelope as a live event, but data contains only the ID of the webhook being tested, not a full event payload:Errors
The request can also return the shared
403 and 429 errors. See Errors for the standard error object.
Example error responses:
What’s next
Webhooks overview
Delivery model, retries, idempotency, and signature verification.
Event types
Full payload schemas and examples for every event.

