curl --request GET \
--url https://sandbox.api.prava.space/v1/events/{eventId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.api.prava.space/v1/events/{eventId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.api.prava.space/v1/events/{eventId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"type": "payment.credentials_ready",
"schema_version": "2026-10-08",
"occurred_at": "2023-11-07T05:31:56Z",
"environment": "sandbox",
"account_id": "<string>",
"resource": {
"type": "payment",
"id": "txn_example",
"version": 123
},
"data": {},
"test": true
}Retrieve an Event
Get one retained event by ID.
curl --request GET \
--url https://sandbox.api.prava.space/v1/events/{eventId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.api.prava.space/v1/events/{eventId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.api.prava.space/v1/events/{eventId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"type": "payment.credentials_ready",
"schema_version": "2026-10-08",
"occurred_at": "2023-11-07T05:31:56Z",
"environment": "sandbox",
"account_id": "<string>",
"resource": {
"type": "payment",
"id": "txn_example",
"version": 123
},
"data": {},
"test": true
}404. See Event types for each event’s data.Authorizations
Response
Successful operation; endpoints never include stored signing secrets.
The event envelope, exactly as delivered to your endpoints.
A webhook event type.
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 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.