latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
Webhook
Simulate block webhook
Simulates and tests a block webhook so you can view its response.
post/api/v2/{coin}/webhooks/{webhookId}/simulate
Path parameters
coinstring required
A cryptocurrency or token ticker symbol.
Example:btc
webhookIdstring required
Example:59cd72485007a239fb00282ed480da1f
Request body
Example request
{
"blockId": "0000000000000296ed56abee6cb78e40b00c47a03d92e71dd92c4862ca636b95"
}Response
OK
Example response
{
"webhookNotifications": [
{
"id": "59cd72485007a239fb00282ed480da1f",
"type": "transfer",
"wallet": "59cd72485007a239fb00282ed480da1f",
"enterprise": "59cd72485007a239fb00282ed480da1f",
"organization": "59cd72485007a239fb00282ed480da1f",
"bankAccount": "59cd72485007a239fb00282ed480da1f",
"url": "https://your.server.com/webhook",
"coin": "btc",
"transfer": "59cd72485007a239fb00282ed480da1f",
"state": "new",
"webhook": "59cd72485007a239fb00282ed480da1f",
"version": 2
}
]
}