latestOpenAPI 3.0.32026-08-224982,0272.8 MB

e445c15e5bee

Webhook

List wallet webhook notifications

List webhook notifications for a wallet. Returns notifications that were triggered by webhooks on the specified wallet.

get/api/v2/{coin}/wallet/{walletId}/webhooks/notifications

Path parameters

coinstring required

A cryptocurrency or token ticker symbol.

Example:btc

A cryptocurrency or token ticker symbol.

walletIdstring required
Example:59cd72485007a239fb00282ed480da1f

The wallet ID.

Query parameters

prevIdstring
Example:59cd72485007a239fb00282ed480da1f

Return the next batch of results, based on the nextBatchPrevId value from the previous batch.

limitinteger
Example:25

Maximum number of results to return.

hashstring

Filter notifications by transaction hash.

Response

OK

nextBatchPrevIdstring

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
    }
  ],
  "nextBatchPrevId": "59cd72485007a239fb00282ed480da1f"
}