Skip to main content

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
ParameterDefaultMax
limit50200
offset0—
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"
}
]
FieldDescription
event_typeOne of card_transaction, account_transaction, account_topup, card_state
delivery_statusdelivered, failed, pending
delivery_attemptsNumber of POST attempts made to your URL
delivery_response_codeHTTP status your server returned (null if no response)
delivery_errorError description if delivery failed
payloadFull JSON payload that was sent to your endpoint