Webhook Data Structure
When your webhook receives a payment or subscription event, a JSON payload is sent.
Example Payload
{
"event": "payment.success",
"created_at": "2025-09-04T13:45:44-04:00",
"request_id": "51b97ba5891ec220e8b64385a00c3826",
"webhook_id": "458",
"store_id": "7541",
"mode": "live", // live or test
"data": {
"id": 71134,
"type": 1, // 1 = payment | 2 = subscription
"transaction_id": "68B9D0471D02A",
"gateway": "paypal", // stripe, paypal or free
"amount": {
"total_paid": 12,
"currency": "EUR"
},
"user": {
"email": "[email protected]",
"username": "Murga",
"steam_id": "76561198030562915",
"steam_username": "Murgator",
"discord_id": "376442921087995901",
"discord_username": "murgator"
},
"basket": [
{
"id": 183,
"sub_key": "762szqztj",
"name": "Gold Sword",
"price": 10,
"quantity": 1,
"custom_fields": {
"1": {
"field_id": 1,
"name": "Level",
"value": {
"option_id": 2,
"name": "Maximum",
"value": "800", // value selected by the customer
"price": 2.00
},
"total_price": 2,
"type": "selection"
}
}
}
],
"actions": [
{
"server_id": "20861",
"commands": [
{
"str": "give apple {minecraft_uuid} 1",
"event": "0",
"item_key": 0,
"product_id": "183"
},
{
"str": "give hook{minecraft_uuid} 1",
"event": "0",
"item_key": 0,
"product_id": "185"
}
]
},
{
"server_id": "20859",
"commands": [
{
"str": "give apple {minecraft_uuid} 1",
"event": "0",
"item_key": 0,
"product_id": "183"
},
{
"str": "give hook{minecraft_uuid} 1",
"event": "0",
"item_key": 0,
"product_id": "185"
}
]
}
],
}
}🧾Main Fields
Field
Type
Example
Description
💳 Data Object
Data ObjectField
Type
Example
Description
👤 user Object
user Object🛒 basket Object
basket ObjectField
Example
Description
⚙️ commands Object
commands ObjectField
Example
Description
Last updated