Crypto Webhooks
Event Types
| 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 |
Transaction Events
Withdrawals and deposits share these two events. Tell them apart by
details.type: withdraw or deposit. There is no separate "received" event:
an incoming deposit is announced as crypto_transaction_created with
details.type deposit.
Details Schema
| Field | Type | Description |
|---|---|---|
transactionId | string | Transaction identifier (UUID) |
type | string | withdraw or deposit |
status | string | The transaction's status, for example pending, processing, success, failed or cancelled |
previousStatus | string | The status before this change, on crypto_transaction_status_updated. Omitted when there is none (see below) |
coin | string | Asset ticker, upper-case (e.g. USDC) |
address | string | The blockchain address the transaction is for |
hash | string | On-chain transaction hash. Omitted until there is one |
amount | string | Amount of the transaction, as a decimal string |
fee | string | Fee charged, as a decimal string |
total | string | amount minus fee: what the destination receives on a withdrawal, what is credited on a deposit |
A deposit always starts with crypto_transaction_created (status
pending), followed by a crypto_transaction_status_updated with the status
it was first seen in and previousStatus pending — even when that status is
still pending, or already success. Each later change is one
crypto_transaction_status_updated.
Do not rely on previousStatus being present on every update. Use status,
and read the transaction through the API for its full state.
Withdrawals created through v3
A withdrawal created with
POST /v3/crypto/withdrawals sends the
same two events, with details.type withdraw:
crypto_transaction_createdwhen it is created (statuspending).crypto_transaction_status_updatedwhen it is submitted (processing), settles (success), fails (failed) or is cancelled (cancelled, withpreviousStatuspending).
Its intermediate confirmed step sends no webhook, and a later update's
previousStatus spells that step processing.
Crypto Transaction Created (withdrawal)
{
"webhookId": "00000000-0000-0000-0000-000000000000",
"type": "crypto_transaction_created",
"accountId": "00000000-0000-0000-0000-000000000000",
"timestamp": "2025-01-01T00:00:00Z",
"details": {
"transactionId": "00000000-0000-0000-0000-000000000000",
"type": "withdraw",
"status": "pending",
"coin": "USDC",
"address": "0x0000000000000000000000000000000000000000",
"amount": "100",
"fee": "1",
"total": "99"
},
"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."
}
Crypto Transaction Created (deposit)
{
"webhookId": "00000000-0000-0000-0000-000000000000",
"type": "crypto_transaction_created",
"accountId": "00000000-0000-0000-0000-000000000000",
"timestamp": "2025-01-01T00:00:00Z",
"details": {
"transactionId": "00000000-0000-0000-0000-000000000000",
"type": "deposit",
"status": "pending",
"coin": "USDC",
"address": "0x0000000000000000000000000000000000000000",
"hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"amount": "100",
"fee": "0",
"total": "100"
},
"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."
}
Crypto Transaction Status Updated
{
"webhookId": "00000000-0000-0000-0000-000000000000",
"type": "crypto_transaction_status_updated",
"accountId": "00000000-0000-0000-0000-000000000000",
"timestamp": "2025-01-01T00:00:00Z",
"details": {
"transactionId": "00000000-0000-0000-0000-000000000000",
"type": "withdraw",
"status": "success",
"previousStatus": "processing",
"coin": "USDC",
"address": "0x0000000000000000000000000000000000000000",
"hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"amount": "100",
"fee": "1",
"total": "99"
},
"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."
}
Wallet & Beneficiary Events
A deposit wallet and a beneficiary (a saved withdrawal destination) carry the same details.
Details Schema
| Field | Type | Description |
|---|---|---|
id | string | Wallet or beneficiary identifier (UUID) |
accountId | string | The account it belongs to (UUID) |
address | string | The blockchain address. For a destination that needs a memo or destination tag, the tag follows as <address>?dt=<tag> |
coin | string | Asset ticker, upper-case (e.g. USDC) |
status | string | Its status, for example active |
label | string | Your label for it. Omitted when there is none |
createdAt | string | When it was created (ISO 8601) |
updatedAt | string | When it last changed (ISO 8601) |
Crypto Wallet Created
{
"webhookId": "00000000-0000-0000-0000-000000000000",
"type": "crypto_wallet_created",
"accountId": "00000000-0000-0000-0000-000000000000",
"timestamp": "2025-01-01T00:00:00Z",
"details": {
"id": "00000000-0000-0000-0000-000000000000",
"accountId": "00000000-0000-0000-0000-000000000000",
"address": "0x0000000000000000000000000000000000000000",
"coin": "USDC",
"status": "active",
"label": "My Wallet",
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-01-01T00:00:00Z"
},
"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."
}
Crypto Beneficiary Created
{
"webhookId": "00000000-0000-0000-0000-000000000000",
"type": "crypto_beneficiary_created",
"accountId": "00000000-0000-0000-0000-000000000000",
"timestamp": "2025-01-01T00:00:00Z",
"details": {
"id": "00000000-0000-0000-0000-000000000000",
"accountId": "00000000-0000-0000-0000-000000000000",
"address": "0x0000000000000000000000000000000000000000",
"coin": "USDC",
"status": "active",
"label": "My Beneficiary",
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-01-01T00:00:00Z"
},
"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."
}
Crypto Beneficiary Updated
{
"webhookId": "00000000-0000-0000-0000-000000000000",
"type": "crypto_beneficiary_updated",
"accountId": "00000000-0000-0000-0000-000000000000",
"timestamp": "2025-01-01T00:00:00Z",
"details": {
"id": "00000000-0000-0000-0000-000000000000",
"accountId": "00000000-0000-0000-0000-000000000000",
"address": "0x0000000000000000000000000000000000000000",
"coin": "USDC",
"status": "active",
"label": "Updated Label",
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-01-01T00:00:00Z"
},
"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."
}
Crypto Beneficiary Deleted
The event type is what says the beneficiary was deleted. Do not read status
for it: depending on how the beneficiary was deleted, it reads inactive or the
beneficiary's last status.
{
"webhookId": "00000000-0000-0000-0000-000000000000",
"type": "crypto_beneficiary_deleted",
"accountId": "00000000-0000-0000-0000-000000000000",
"timestamp": "2025-01-01T00:00:00Z",
"details": {
"id": "00000000-0000-0000-0000-000000000000",
"accountId": "00000000-0000-0000-0000-000000000000",
"address": "0x0000000000000000000000000000000000000000",
"coin": "USDC",
"status": "inactive",
"label": "My Beneficiary",
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-01-01T00:00:00Z"
},
"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."
}
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!