REST API›Wallet & Transact›Webhook

DEL

Removing a webhook will cause new events of the specified type to no longer trigger HTTP callbacks to your URLs. Requires admin permission on the wallet.

Path Params

  • coin string required
    A cryptocurrency or token ticker symbol
  • walletId string required
    The ID of the wallet

Body Params

object

Remove V2 Wallet Webhook Request Body

The request body for removing webhooks from a wallet: either the type and URL of the webhooks to remove, or a flag to remove all of them.

  • type string enum

    The type of the webhooks to remove.

    Required unless all is set.

    txRequesttxRequestTransactiontransfertransactiontransactionRemovedtransactionExpireunspentExpirypendingapprovaladdress_confirmationlowFeeblockadmincircuitBreakertransaction_finality_on_l1lowFeeAddressBalancestuckTxendInvestorOnboardingInviteendInvestorOnboardingAcceptedallocationRequestallocationAcceptedallocationSettlementFailed
  • url string

    The URL of the webhooks to remove.

    Required unless all is set.

  • id string

    The ID of a single webhook to remove.

    When set, only the webhook with this ID that also matches the other fields is removed.

  • all boolean or string or number

    Whether to remove every webhook of the wallet, regardless of type and url.

    Evaluated by the legacy boolean parser, so true, the string true and positive numbers remove all webhooks.

Responses

200
OK

Response Body

object

The number of webhooks that a remove request deleted.
  • removed number required
    Number of webhooks removed.
400
Bad Request

Response Body

ONE OF

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
401
Unauthorized

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
404
Not Found

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id