Webhook Notifications

When an event occurs, 8Pay sends it to your specified webhook. You can use the following endpoint to ensure notification's authenticity. To learn more about webhook notifications and all the possible events you can refer to Webhook Notifications.

get
Get a notification

https://api.8pay.network/v1/bsc/webhook-notifications/:notificationId
Request
Response
Request
Path Parameters
required
string
id of the notification
Response
200: OK
{
"id": "5ccf8bdc7707a8effa371d01452644d3a388b975290b968874d0a44ec0219226",
"type": "one-time",
"event": "Payment",
"timestamp": 1585220116,
"transactionHash": "0xb0f21bf5d722d981330d45d8625568cd0b356e8c7c464857131a6ebf99eadf80",
"transactionStatus": "confirmed",
"data": {
"sender": "0xe42fD8a58A82fDF624A8a94dA03a0e44F9934Dff",
"description": "Ebook",
"token": "8PAY",
"category": "Shop",
"tag": "ebook_859294",
"receivers": [
{
"user": "0xB2e9F6F9414ea12A33302923A55b9B4Cf99CCD90",
"amount": "5",
"fee": "0.05"
}
]
},
"extra": {
"banner": "BR69",
"traffic": "facebook"
}
}