Webhook endpoints are the URLs on your server that Dubu sends event notifications to. When something significant happens in your account — a deposit settles, a customer completes KYC, or a checkout payment is received — Dubu POSTs a signed JSON payload to every active endpoint subscribed to that event type. This page covers how to register and manage your endpoints. For the full list of event types and their payloads, see Webhook event types and payload reference. All routes require authentication via API key or JWT bearer token.Documentation Index
Fetch the complete documentation index at: https://docs.dubupay.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint object
Unique endpoint identifier (UUID).
The HTTPS URL Dubu delivers events to.
List of event type strings this endpoint is subscribed to. An empty array means all events are delivered.
Whether this endpoint is currently receiving events.
ISO 8601 creation timestamp.
ISO 8601 last-updated timestamp.
Register an endpoint
secret) in this response — store it securely. It is only shown once and is used to verify that incoming requests genuinely originate from Dubu. See verifying signatures for how to use it.
Request body
The fully-qualified HTTPS URL Dubu should POST events to. Must be a valid URL.
Array of event type strings to subscribe to (e.g.
["deposit.settled", "checkout.payment.completed"]). Pass an empty array [] to subscribe to all events.Example
Response
Returns201 Created. The secret field is only present in this response.
List endpoints
secret field is never returned in list or get responses — rotate the secret if you need to retrieve it again.
Example
Update an endpoint
UUID of the endpoint to update.
New delivery URL.
Updated list of event type strings. Replaces the current subscription list.
Set to
false to pause delivery without deleting the endpoint.Example
Delete an endpoint
UUID of the endpoint to delete.
Send a test event
UUID of the endpoint to test.
Rotate signing secret
UUID of the endpoint whose secret you want to rotate.
View delivery logs
Query parameters
Filter logs to a specific endpoint.
Filter by event type, e.g.
deposit.settled.true to see only successful deliveries, false to see only failed ones.Page number (1-indexed).
Results per page. Maximum
100. Defaults to 50.Example
Log entry fields
Log entry UUID.
UUID of the endpoint this delivery was attempted to.
URL of the endpoint at the time of delivery.
The event type that was delivered.
The full JSON payload that was sent to your endpoint.
HTTP status code returned by your server.
0 if the connection failed.true if your server responded with a 2xx status code.Error description if delivery failed.
null on success.ISO 8601 timestamp of the delivery attempt.