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.
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/targetsreceives 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
307or308re-sends the samePOST, body included. A301,302or303is followed as aGETwithout 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.
| Header | Description |
|---|---|
X-BlockWyre-Signature | Detached JWS signature (RS512) of the raw body. See Validating Webhooks. |
X-BlockWyre-Signature-Version | Signature version. Current version: 20260209. |
X-BlockWyre-Timestamp | Unix timestamp (seconds) of this delivery attempt. Set on every attempt and not signed: a freshness hint, not replay protection |
X-BlockWyre-Webhook-ID | Same value as webhookId in the body (UUID) |
X-BlockWyre-Retry-Count | Attempts made before this one, from 0 to 5. A delivery resent from the dashboard starts again at 0 |
X-Tenant-ID | Your workspace ID (UUID) |
Content-Type | Always 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."
}
webhookIdis unique per event per target, and stays the same across that event's retries and resends. Deduplicate on it.timestampis when the event occurred; a retry or a resend keeps it.- Some fields inside
detailsare left out when they have no value rather than sent empty (for examplepreviousStatus,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 Type | Category | Description |
|---|---|---|
account_created | accounts | A new account has been created |
account_status_updated | accounts | The account status has changed |
kyc_status_updated | compliance | The KYC verification status has changed |
kyc_needs_update | compliance | Additional KYC information is required (sent instead of kyc_status_updated for that change) |
kyc_verification_submitted | compliance | A KYC verification was submitted for review |
kyc_verification_signed | compliance | The applicant accepted the terms and conditions or the privacy policy |
kyc_document_uploaded | compliance | Documents were uploaded for a KYC verification |
kyc_document_upload_received | compliance | The verification provider acknowledged a document |
kyc_verification_completed | compliance | The applicant completed the verification flow (the outcome arrives as kyc_status_updated) |
kyb_verification_submitted | compliance | A business verification was submitted for review |
kyb_document_uploaded | compliance | A 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 Type | Category | Description |
|---|---|---|
crypto_transaction_created | crypto | A crypto transaction was created: a withdrawal (details.type withdraw) or an incoming deposit (details.type deposit) |
crypto_transaction_status_updated | crypto | The status of a crypto transaction has changed |
crypto_wallet_created | wallets | A new crypto wallet has been created |
crypto_beneficiary_created | wallets | A new crypto beneficiary has been created |
crypto_beneficiary_updated | wallets | A crypto beneficiary has been updated |
crypto_beneficiary_deleted | wallets | A crypto beneficiary has been deleted |
For detailed payload samples and field descriptions, see Crypto Webhooks.
Bank Transaction Events
| Event Type | Category | Description |
|---|---|---|
bank_transaction_created | banking | A bank transaction was created: a withdrawal (details.type withdraw) or an incoming deposit (details.type deposit) |
bank_transaction_status_updated | banking | The status of a bank transaction has changed |
ach_pull_created | banking | An ACH pull was accepted (v3) |
ach_pull_status_updated | banking | The 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 Type | Category | Description |
|---|---|---|
trade_transaction_created | trade | A new trade has been created |
trade_transaction_status_updated | trade | The 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:
- Instagram: BlockWyre Instagram
- Twitter: BlockWyre Twitter
- Facebook: BlockWyre Facebook
- LinkedIn: BlockWyre LinkedIn
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!