Skip to main content

Webhooks Guide

Overview​

Webhooks allow you to receive real-time notifications about specific events. When an event occurs, a webhook is sent to every active target that receives that event.

Important

Do not rely solely on webhooks for final state. Always verify the current status via the API to ensure consistency.

Webhooks Functionality​

Configuration​

  • You can configure up to 5 targets per workspace. See Managing Webhook Targets.
  • A target created through /api/v2/webhooks/targets receives every event. A target created or edited in the dashboard (Notifications › Webhook) receives only the categories selected for it: accounts, compliance, banking, crypto, wallets, trade. The event tables below give each event's category.
  • Sandbox and production are separate: a sandbox target receives sandbox events, signed with the sandbox key. See Validating Webhooks.
  • Each delivery attempt times out after 30 seconds.
  • A webhook is queued 1 second after the event. Status updates for crypto, bank and trade transactions are queued after 5 seconds instead, so the transaction has settled before you are told about it.
  • Targets must resolve to a public internet address. Private, loopback, link-local and cloud metadata addresses are refused, both when we connect and on every redirect.
  • Up to 3 redirects in a row are followed. A 307 or 308 re-sends the same POST, body included. A 301, 302 or 303 is followed as a GET without a body, which your endpoint cannot verify: register the final URL, not one that redirects. A fourth redirect is not followed and is taken as your answer.
  • A repeat within 5 minutes is not sent: when the same event about the same object (for a status update, to the same new status) was already sent to a target in the last 5 minutes, that target does not receive it again.

Error Handling​

A delivery counts as successful on a 2xx or 3xx response. A redirect is followed first (see Configuration), so what counts is the answer at the end of the redirects: a 3xx counts only when it is not followed, such as a fourth redirect in a row. Anything else — a 4xx, a 5xx, a timeout or a connection failure — counts as a failure and is retried.

  • A failed delivery is retried up to 5 times with exponential backoff: six attempts in all, about 7 to 14 minutes from the first attempt to the sixth.
  • A target is disabled when one delivery fails all six attempts. A disabled target receives nothing further, and deliveries still queued for it are closed rather than sent.
  • Re-enable it with PATCH /api/v2/webhooks/targets/{targetId}/enable. You do not need to delete and recreate it, and doing so loses the target's id.

Headers​

Each webhook request includes headers for authentication and traceability. Only the body is signed; none of these headers is covered by the signature.

HeaderDescription
X-BlockWyre-SignatureDetached JWS signature (RS512) of the raw body. See Validating Webhooks.
X-BlockWyre-Signature-VersionSignature version. Current version: 20260209.
X-BlockWyre-TimestampUnix timestamp (seconds) of this delivery attempt. Set on every attempt and not signed: a freshness hint, not replay protection
X-BlockWyre-Webhook-IDSame value as webhookId in the body (UUID)
X-BlockWyre-Retry-CountAttempts made before this one, from 0 to 5. A delivery resent from the dashboard starts again at 0
X-Tenant-IDYour workspace ID (UUID)
Content-TypeAlways application/json

Example Headers​

POST /your-webhook-endpoint HTTP/1.1
Content-Type: application/json
X-BlockWyre-Signature: eyJhbGciOiJSUzUxMiIsImtpZCI6ImJ3LTIwMjYwMjAxIn0..BASE64URL_SIGNATURE
X-BlockWyre-Signature-Version: 20260209
X-BlockWyre-Timestamp: 1701705600
X-BlockWyre-Webhook-ID: 00000000-0000-0000-0000-000000000000
X-BlockWyre-Retry-Count: 0
X-Tenant-ID: 00000000-0000-0000-0000-000000000000

Webhook Payload Structure​

All webhooks follow this base structure:

{
"webhookId": "00000000-0000-0000-0000-000000000000",
"type": "webhook_type",
"accountId": "00000000-0000-0000-0000-000000000000",
"timestamp": "2026-01-01T00:00:00Z",
"details": { },
"systemNotes": "Do not rely solely on this webhook for final state. Always verify the current status via the API to ensure consistency. Consult the developer documentation and guides for more information."
}
  • webhookId is unique per event per target, and stays the same across that event's retries and resends. Deduplicate on it.
  • timestamp is when the event occurred; a retry or a resend keeps it.
  • Some fields inside details are left out when they have no value rather than sent empty (for example previousStatus, statusReason, hash, label, wireType). Treat a missing field as empty.

Webhook Events​

These are all the events BlockWyre sends. There are no card events and no separate "received" events: an incoming deposit arrives as crypto_transaction_created or bank_transaction_created with details.type set to deposit.

Account, KYC & KYB Events​

Event TypeCategoryDescription
account_createdaccountsA new account has been created
account_status_updatedaccountsThe account status has changed
kyc_status_updatedcomplianceThe KYC verification status has changed
kyc_needs_updatecomplianceAdditional KYC information is required (sent instead of kyc_status_updated for that change)
kyc_verification_submittedcomplianceA KYC verification was submitted for review
kyc_verification_signedcomplianceThe applicant accepted the terms and conditions or the privacy policy
kyc_document_uploadedcomplianceDocuments were uploaded for a KYC verification
kyc_document_upload_receivedcomplianceThe verification provider acknowledged a document
kyc_verification_completedcomplianceThe applicant completed the verification flow (the outcome arrives as kyc_status_updated)
kyb_verification_submittedcomplianceA business verification was submitted for review
kyb_document_uploadedcomplianceA document was uploaded for a business verification

These events are sent by the /api/v2 account, KYC and KYB flows. The /v3 customers, KYC and KYB endpoints send none of them yet: read the record through the API.

For detailed payload samples and field descriptions, see Account, KYC & KYB Webhooks.

Crypto Transaction Events​

Event TypeCategoryDescription
crypto_transaction_createdcryptoA crypto transaction was created: a withdrawal (details.type withdraw) or an incoming deposit (details.type deposit)
crypto_transaction_status_updatedcryptoThe status of a crypto transaction has changed
crypto_wallet_createdwalletsA new crypto wallet has been created
crypto_beneficiary_createdwalletsA new crypto beneficiary has been created
crypto_beneficiary_updatedwalletsA crypto beneficiary has been updated
crypto_beneficiary_deletedwalletsA crypto beneficiary has been deleted

For detailed payload samples and field descriptions, see Crypto Webhooks.

Bank Transaction Events​

Event TypeCategoryDescription
bank_transaction_createdbankingA bank transaction was created: a withdrawal (details.type withdraw) or an incoming deposit (details.type deposit)
bank_transaction_status_updatedbankingThe status of a bank transaction has changed
ach_pull_createdbankingAn ACH pull was accepted (v3)
ach_pull_status_updatedbankingThe status of an ACH pull has changed (v3)

For detailed payload samples and field descriptions, see Banking Webhooks, and ACH Pull Webhooks for the two ACH pull events.

Trade Events​

Event TypeCategoryDescription
trade_transaction_createdtradeA new trade has been created
trade_transaction_status_updatedtradeThe status of a trade has changed

For detailed payload samples and field descriptions, see Trade Webhooks.

Support and Resources​

If you need assistance or have any questions, our support team is here to help. You can contact our support team at support@blockwyre.com.

Stay Updated​

Stay up-to-date with the latest news, updates, and features from BlockWyre by following us on social media:

We are excited to have you on board and look forward to seeing how you leverage BlockWyre's powerful tools to enhance your financial operations. Happy integrating!