Webhook reference: deposit.statusChanged
Reference schema for outbound webhooks Cryptonly POSTs to your configured HTTPS webhookUrl. Each delivery includes an x-webhook-signature header (HMAC-SHA256 over the raw JSON body). This route exists for Swagger documentation only; implement verification and handling on your own server.
Required scope: deposits.list.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
object
object
Amount received on-chain, in cryptoCurrencyCode units (not the invoice fiat currency).
amountPaid in USD at the time of receipt.
Cryptonly commission, in cryptoCurrencyCode units.
commissionAmount in USD.
Fee of the payer’s inbound transaction, in networkFeeCurrencyCode units (informational, paid by the payer’s wallet).
networkFeeAmount in USD.
Currency of networkFeeAmount.
Amount credited to the merchant balance, in cryptoCurrencyCode units.
netAmount in USD.
Status immediately before this transition.
ISO 8601 timestamp when Cryptonly signed and sent the webhook.
Examples
Sample deposit.statusChanged payload
{ "event": "deposit.statusChanged", "data": { "id": "f388b088-d1ae-420a-9caf-896a484384c8", "accountId": "b37bbd29-227e-40e3-8605-2119ca3f3a39", "orderId": "order_webhook_reference_001", "status": "completed", "cryptoCurrencyCode": "USDT_TRC20", "address": "TJn22ewJPN89yNtrnBkagsunbrLnPyQCgs", "expiresAt": "2026-12-01T11:18:20.311Z", "createdAt": "2026-12-01T11:18:20.311Z", "updatedAt": "2026-12-01T11:18:20.311Z", "previousStatus": "processing", "depositTransactionHash": "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", "actuallyReceivedAmount": 50, "actuallyReceivedAmountUsd": 50 }, "timestamp": "2026-01-01T12:00:00.000Z"}Responses
Section titled “Responses”Reference endpoint acknowledged.
Request validation failed (e.g. missing or malformed body / query).
object
Stable machine-readable error code, namespaced under exceptions.. Always prefer branching on this value over message. See the per-route descriptions for the codes that route emits.
Human-readable explanation. Subject to wording changes; for programmatic checks use code instead.
Optional structured payload accompanying the error. For exceptions.rateLimit.exceeded includes msBeforeNext; for validation errors includes the offending field info.
object
Example
{ "code": "exceptions.auth.invalidApiKey", "message": "Invalid or missing API key"}Missing or invalid x-tenant-api-key header. Code: exceptions.auth.invalidApiKey.
object
Stable machine-readable error code, namespaced under exceptions.. Always prefer branching on this value over message. See the per-route descriptions for the codes that route emits.
Human-readable explanation. Subject to wording changes; for programmatic checks use code instead.
Optional structured payload accompanying the error. For exceptions.rateLimit.exceeded includes msBeforeNext; for validation errors includes the offending field info.
object
Example
{ "code": "exceptions.auth.invalidApiKey", "message": "Invalid or missing API key"}Request origin IP is not on the tenant API allowlist (exceptions.auth.ipNotAllowed), or the API key is missing the scope required by this operation (exceptions.auth.insufficientScope), or the organization has been blocked; contact support@cryptonly.net (exceptions.tenant.blocked).
object
Stable machine-readable error code, namespaced under exceptions.. Always prefer branching on this value over message. See the per-route descriptions for the codes that route emits.
Human-readable explanation. Subject to wording changes; for programmatic checks use code instead.
Optional structured payload accompanying the error. For exceptions.rateLimit.exceeded includes msBeforeNext; for validation errors includes the offending field info.
object
Example
{ "code": "exceptions.auth.invalidApiKey", "message": "Invalid or missing API key"}Rate limit exceeded for this endpoint. Retry after the window resets. Code: exceptions.rateLimit.exceeded. The extension.msBeforeNext field tells you how long to wait.
object
Stable machine-readable error code, namespaced under exceptions.. Always prefer branching on this value over message. See the per-route descriptions for the codes that route emits.
Human-readable explanation. Subject to wording changes; for programmatic checks use code instead.
Optional structured payload accompanying the error. For exceptions.rateLimit.exceeded includes msBeforeNext; for validation errors includes the offending field info.
object
Example
{ "code": "exceptions.auth.invalidApiKey", "message": "Invalid or missing API key"}Unexpected server error. Safe to retry idempotent operations after a backoff.
object
Stable machine-readable error code, namespaced under exceptions.. Always prefer branching on this value over message. See the per-route descriptions for the codes that route emits.
Human-readable explanation. Subject to wording changes; for programmatic checks use code instead.
Optional structured payload accompanying the error. For exceptions.rateLimit.exceeded includes msBeforeNext; for validation errors includes the offending field info.
object
Example
{ "code": "exceptions.auth.invalidApiKey", "message": "Invalid or missing API key"}