Skip to main content
GET
GET /v1/events/{eventId}
Returns one event with the same envelope Prava delivers to your endpoints. Events older than 30 days return 404. See Event types for each event’s data.

Authorizations

Authorization
string
header
required

Your secret key: sk_test_* (sandbox) or sk_live_* (production).

Path Parameters

eventId
string
required

Response

Successful operation; endpoints never include stored signing secrets.

The event envelope, exactly as delivered to your endpoints.

id
string
required

Event ID, starting with evt_.

type
enum<string>
required

A webhook event type.

Available options:
payment.credentials_ready,
payment.succeeded,
payment.failed,
card.saved,
card.deleted,
card_enrollment.completed,
card_enrollment.failed,
card_enrollment.cancelled,
card_enrollment.expired,
mandate.created,
mandate.creation_failed,
mandate.creation_cancelled,
mandate.creation_expired,
mandate.paused,
mandate.resumed,
mandate.cancelled,
mandate.expired,
quote.request_failed
schema_version
string
required
Example:

"2026-10-08"

occurred_at
string<date-time>
required
environment
enum<string>
required
Available options:
sandbox,
production
account_id
string
required

Your application's account ID, starting with ma_.

resource
object
required
data
object
required

Event-specific fields. card_enrollment.completed is emitted at full enrollment (stored card, VIC enrollment and confirmed passkey result) in standalone enrollment or a new-card checkout. Its resource.id is ses_... for standalone enrollment or sa_... for the checkout enrollment action; data.session_id remains the original Prava session. Existing saved-card reuse does not emit another enrollment. Other card_enrollment outcomes remain standalone-only. card.saved and card.deleted use resource.type card and carry card_id, internal Prava customer_id (cus_...), your original user_id (or null when unavailable), and nullable session_id. Use user_id to associate a card with your user even without a session. A saved card does not imply full enrollment or payment success; card.deleted records card deletion. New payment events include nullable card_id for the card used; older retained events may omit it. Mandate charges report the card the mandate was set up with, or null when it cannot be determined safely. Previously captured events and delivery retries remain unchanged. Correlate charges using mandate_id and resource.id. Explicit sandbox payment-success simulation uses outcome_source sandbox_simulated, while actual credentials-ready uses prava_issued. Schema version remains 2026-10-08; refresh pinned catalog/enum validators. See Event types.

test
boolean

true on test events. Absent otherwise.