API Referencev1.0
HomeLog inSign up
WEBHOOKS

Set the webhook endpoint

POSThttps://production.dutchapi.co/v1/webhooks

Registers (or replaces) your single webhook URL and returns a new signing secret, shown once.

🔒Send the project API key as a Bearer token and your Business ID with this call.

Events: collection.received, collection.failed, payout.completed, payout.failed, deposit.received, exchange.completed, exchange.failed, card.issued, card.funded, card.withdrawn, card.funding_failed, card.transaction, card.refund. See Webhooks for each payload.

Each delivery carries X-Dutch-Event and X-Dutch-Signature: t=<unix>,v1=<hex> where v1 is HMAC-SHA256 of <t>.<raw body> with your signing secret. Reject deliveries older than 5 minutes.

In production the URL must be public https.

Body Params

urlstringrequired

Your https endpoint.

Responses

{
  "url": "https://example.com/webhooks/dutch",
  "signing_secret": "whsec_...",
  "events": [
    "collection.received",
    "collection.failed",
    "payout.completed",
    "payout.failed",
    "deposit.received",
    "exchange.completed",
    "exchange.failed",
    "card.issued",
    "card.funded",
    "card.withdrawn",
    "card.funding_failed",
    "card.transaction",
    "card.refund"
  ]
}
{
  "error": "invalid_webhook_url",
  "message": "The URL is not acceptable."
}

Errors

StatuserrorMeaning
400invalid_webhook_urlThe URL is not acceptable.
Updated 2026
Did this page help you?