Skip to main content

Crypto Webhooks

Event Types​

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

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​

FieldTypeDescription
transactionIdstringTransaction identifier (UUID)
typestringwithdraw or deposit
statusstringThe transaction's status, for example pending, processing, success, failed or cancelled
previousStatusstringThe status before this change, on crypto_transaction_status_updated. Omitted when there is none (see below)
coinstringAsset ticker, upper-case (e.g. USDC)
addressstringThe blockchain address the transaction is for
hashstringOn-chain transaction hash. Omitted until there is one
amountstringAmount of the transaction, as a decimal string
feestringFee charged, as a decimal string
totalstringamount 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_created when it is created (status pending).
  • crypto_transaction_status_updated when it is submitted (processing), settles (success), fails (failed) or is cancelled (cancelled, with previousStatus pending).

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​

FieldTypeDescription
idstringWallet or beneficiary identifier (UUID)
accountIdstringThe account it belongs to (UUID)
addressstringThe blockchain address. For a destination that needs a memo or destination tag, the tag follows as <address>?dt=<tag>
coinstringAsset ticker, upper-case (e.g. USDC)
statusstringIts status, for example active
labelstringYour label for it. Omitted when there is none
createdAtstringWhen it was created (ISO 8601)
updatedAtstringWhen 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:

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!