/api/v2/{coin}/wallet/{walletId}/webhooks/{webhookId}/simulate
Simulates and tests a webhook so you can view its response. A "transferId" or "pendingApprovalId" is required.
coin
stringRequired"btc"
walletId
stringRequired"59cd72485007a239fb00282ed480da1f"
^[0-9a-f]{32}$
webhookId
stringRequired"59cd72485007a239fb00282ed480da1f"
^[0-9a-f]{32}$
transferId
string 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
pendingApprovalId
string 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}$
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
error
string required requestId
string required context
object name
string required