API referenceEvents
Retrieve an event
Returns the original snapshot for an event from the last 30 days.
GET
Returns the original snapshot for an event from the last 30 days.
bearerAuthheader
AuthorizationBearer <token>A secret key, sk_test_… or sk_live_….
id*stringThe object id.
Success.
application/json- response
id*stringobject*stringtype*stringValue in
"checkout.session.completed""checkout.session.expired""payment.succeeded""payment.failed""payment.refunded""refund.created""refund.succeeded""refund.failed""dispute.created""dispute.updated""dispute.closed""payout.created""payout.paid""payout.failed""payment_link.created""payment_link.updated"api_version*stringlivemode*booleancreated*integerUnix timestamp in seconds.
data*request*|The originating API request, or null for processor webhooks, cron and dashboard actions.
curl -X GET 'https://runepay.co/api/v1/events/string' \ -H 'Authorization: Bearer sk_test_...'Example Response
{ "id": "evt_01KA8E5F7G9H1J3K5M7N9P1Q3R", "object": "event", "type": "payment.succeeded", "api_version": "2026-12-15", "livemode": false, "created": 1767225600, "data": { "object": { "id": "pay_01KA4Y0Z9V3T6N8Q2W5E7R1T3Y", "object": "payment", "livemode": false, "status": "succeeded", "amount": 1999, "amount_refunded": 0, "amount_tax": 0, "customer": null, "currency": "USD", "fee": 88, "description": "Pro plan, 1 month", "customer_email": "buyer@example.com", "metadata": { "order_id": "1042" }, "checkout_session": "cs_01KA4XZY8T2R5M7P1Q4W6E8R0T", "card": { "brand": "visa", "last4": "4242" }, "decline_code": null, "decline_message": null, "outcome": { "risk_level": "normal", "risk_score": 12 }, "available_on": 1767830400, "created": 1767225600 } }, "request": null}List events GET
Newest first. Only events from the last 30 days are listable. Filter by exact type or a prefix such as payment.*.
Create a webhook endpoint POST
Returns the signing `secret` once. A retry with the same Idempotency-Key gets `409 secret_not_replayable` with the endpoint id instead of the secret.