GET
Simulate enterprise webhook
Simulate a webhook for testing purposes. To call this endpoint, you must have the user_manage scope on a short-lived access token created either in the web app or programmatically using the Login endpoint.
Path Params
-
enterpriseIdstring required -
webhookIdstring required
Body Params
ONE OF
-
bankAccountIdstring required
-
accessTokenIdstring required
-
enterpriseIdstring required
-
transferIdstring required
Responses
200
OK
Response Body
object
-
webhookNotificationsarray of objects requiredwebhookNotifications object
-
idstring required -
typestring enumEvent type to listen to.txRequesttxRequestTransactiontransfertransactiontransactionRemovedtransactionExpirependingapprovalblockadminaddress_confirmationlowFeecircuitBreakerlowFeeAddressBalancewallet_confirmationbankAccountuserKycStateenterpriseKycStateidentityStatusidvStatusaccessTokenaccountCreatedcontractSignedkycResultpolicyBalanceChangereversaltransaction_finality_on_l1stuckTxtradeOrderunspentExpirytwoStepTransfertwoStepDeposittwoStepWithdrawalpendingDecryptionwhitelistApprovedwhitelistRejected -
walletstring -
safeIdstringSafe ID — populated only on safe-scoped webhook subscriptions. -
urlstring -
hashstring -
coinstringA cryptocurrency or token ticker symbol. -
coinChainstring -
transferstring -
statestring enumIf "failed", webhook notification failed to connect with the target URL. If "new", webhook notification was newly generated, in response to an event. If "pending", webhook notification is awaiting processing by the webhook worker. If "processed", webhook notification successfully sent to target URL. If "unconfirmed", webhook notification is awaiting confirmation on the blockchain.unconfirmednewpendingprocessedfailed -
simulationboolean -
retriesnumber -
webhookstring -
updatedAtstring date-time -
nextAttemptstring date-time -
versionnumber -
allowBlockedHostsboolean -
heightToConfirmnumber -
payloadstring -
responseobjectresponse object
-
codenumber or string -
typestring -
bodystring -
errorstring
-
-
400
Bad Request
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
401
Unauthorized
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
403
Forbidden
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id