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