/api/v2/{coin}/wallet/{walletId}/webhooks/{webhookId}/simulate
Simulates and tests a webhook so you can view its response. A 'transferId', 'pendingApprovalId' or 'txRequestId' is required.
coin
stringRequiredbtc
walletId
stringRequired59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
webhookId
stringRequired59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
transferId
string required 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
1 2 3 4 5 6 7 8
wallet .simulateWebhook({ webhookId: '590cd…35835', transferId: '59b70…dbd44', }) .then(function (result) { console.dir(result); });
webhookNotifications
array[object] wallet
string 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
transfer
string 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
hash
string b8a828b98dbf32d9fd1875cbace9640ceb8c82626716b4a64203fdc79bb46d26
id
string 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
coin
string btc
type
string txRequest
txRequestTransaction
transfer
transaction
transactionRemoved
transactionExpire
pendingapproval
address_confirmation
lowFee
block
admin
circuitBreaker
transaction_finality_on_l1
transfer
walletType
string cold
transferType
string receive
value
integer 1055354
valueString
string 1055354
baseValue
integer 1055354
baseValueString
string 1055354
feeString
string 71854
initiator
array[string] external
receiver
string tb1q3tzuxef7qc0sl8jq6vh3hpeq0w7swmq9a7eh4p
version
integer 2
state
string failed
new
pending
processed
unconfirmed
new
error
string required requestId
string required context
object name
string required