Webhook Event Log
View the history of events we received from the provider and attempted to forward to your endpoint. Useful for debugging delivery failures.
GET /api/v2/webhooks/events?limit=50&offset=0
| Parameter | Default | Max |
|---|---|---|
limit | 50 | 200 |
offset | 0 | — |
curl -s "https://api.4pay.cc/api/v2/webhooks/events?limit=20" \
-H "X-API-Token: YOUR_API_TOKEN"
Response​
Array of event objects:
[
{
"id": "evt-abc123",
"event_type": "card_transaction",
"delivery_status": "delivered",
"delivery_attempts": 1,
"delivery_response_code": 200,
"delivery_error": null,
"payload": { "...": "full provider payload" },
"created_at": "2026-03-25T10:31:00+00:00"
}
]
| Field | Description |
|---|---|
event_type | One of card_transaction, account_transaction, account_topup, card_state |
delivery_status | delivered, failed, pending |
delivery_attempts | Number of POST attempts made to your URL |
delivery_response_code | HTTP status your server returned (null if no response) |
delivery_error | Error description if delivery failed |
payload | Full JSON payload that was sent to your endpoint |