GET
List wallet webhook notifications
List webhook notifications for a wallet. Returns notifications that were triggered by webhooks on the specified wallet.
Path Params
-
coinstring requiredA cryptocurrency or token ticker symbol -
walletIdstring requiredThe ID of the wallet
Query Params
-
prevIdstringThe ID returned asnextBatchPrevIdby a previous response, to fetch the next page of notifications -
limitstring numberMaximum number of notifications to return -
hashstringReturn only the notifications for this transaction hash. Must be a valid transaction hash for the coin
Responses
200
OK
Response Body
object
A page of webhook notifications, newest first.
-
webhookNotificationsarray of objects requiredwebhookNotifications object
-
idstring required -
idempotencyKeystringUnique ID that can be used to de-duplicate notifications. -
typestringThe type of event that created the notification. -
walletstringThe ID of the wallet the notification belongs to. -
enterprisestringThe ID of the enterprise the notification belongs to. -
organizationstringThe ID of the organization the notification belongs to. -
bankAccountstringThe ID of the bank account the notification belongs to. -
urlstring uri -
hashstringA transaction hash for transactions, or a block hash for block notifications. -
coinstringA cryptocurrency or token ticker symbol. -
transferstringThe ID of the transfer the notification belongs to. -
statestringDelivery state of the notification, for exampleneworprocessed. -
simulationbooleanWhether the notification was created by a simulation. -
retriesnumberThe number of retries that have been attempted for this notification. -
webhookstringThe ID of the webhook that created the notification. -
updatedAtstring date-time -
nextAttemptstring date-time -
versionnumber1 for v1 wallets and 2 for coins running on API v2. -
allowBlockedHostsbooleanWhether the notification may be sent to blocked hosts. Admin only. -
heightToConfirmnumberThe block height at which the notification is sent. Admin only. -
payloadstringThe payload that was sent to the URL. Admin only. -
responseobjectThe response that the URL returned. Admin only.response object
-
codenumber or string -
typestring -
bodystring -
errorstring
-
-
-
nextBatchPrevIdstringThe ID to pass asprevIdto fetch the next page. Present only when more notifications exist.
400
Bad Request
Response Body
ONE OF
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
-
namestring enum requiredInvalidWalletId -
contextobject requiredcontext object
-
idstring required
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
401
Unauthorized
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
404
Not Found
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id