/api/v2/{coin}/webhooks/{webhookId}/simulate
Simulates and tests a block webhook so you can view its response.
coin
stringRequired"btc"
webhookId
stringRequired"59cd72485007a239fb00282ed480da1f"
^[0-9a-f]{32}$
blockId
string 0000000000000296ed56abee6cb78e40b00c47a03d92e71dd92c4862ca636b95
1 2 3 4 5 6 7 8 9 10 11
var baseCoin = bitgo.coin('tbtc'); var webhooks = baseCoin.webhooks(); webhooks .simulate({ webhookId: '590cd…35835', blockId: '00000…507d6', }) .then(function (result) { console.dir(result); });
webhookNotifications
array[object] hash
string 0000000000000296ed56abee6cb78e40b00c47a03d92e71dd92c4862ca636b95
id
string 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
webhook
string 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
updateAt
string <date-time>
{}
coin
string btc
type
string transfer
transaction
pendingapproval
address_confirmation
lowFee
transfer
url
string <uri>
required https://your.server.com/webhook
version
integer 2
state
string failed
new
pending
processed
unconfirmed
new