For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhook Notifications

When an event occurs, 8Pay sends the corresponding data to your designated webhook endpoint. To ensure the authenticity of the notification, you can utilize the provided endpoint. For a detailed understanding of webhook notifications and the complete list of events, please refer to the Webhook Notifications section.

Get a notification

GET https://api.8pay.network/v1/:chain/webhook-notifications/:notificationId

Path Parameters

Name
Type
Description

notificationId

string

id of the notification

chain

string

Headers

Name
Type
Description

Authorization

String

Bearer <api-key>

{
    "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"
    }
}

Last updated