Handle Webhook
This guide shows how to receive, validate, and process webhook events using your prefered language
Requirements
Secure & Handle Webhook
Example payload (short)
{
"mode": "live",
"event": "payment.success",
"created_at": "2025-09-04T13:45:44-04:00",
"request_id": "51b97ba5891ec220e8b64385a00c3826",
"webhook_id": "458",
"store_id": "7541",
"data": {
"id": 71134,
"transaction_id": "68B9D0471D02A",
"gateway": "paypal",
"amount": { "total_paid": 12, "currency": "EUR" },
"user": { "email": "[email protected]", "discord_id": "123", "username": "Player" },
"basket": [{ "id": 183, "name": "VIP Rank", "price": 10, "quantity": 1 }],
"actions": { "...": "..." }
}
}Create an endpoint
Tips & best practices
Last updated