API reference: Objects
The Event object
An event records something that happened to a payment or a refund.
The same object is sent, signed, to your webhook endpoints and can be read with the events API for 30 days.
Event object
{
"id": "evt_Qm9dMhJ0k8s2Wv7Yc3XnLpAb",
"object": "event",
"api_version": "2026-10-26",
"created": 1793000300,
"livemode": false,
"type": "payment.succeeded",
"data": {
"object": {
"id": "5b1c2f4e-9d3a-4c61-8a7e-0f2d6b9e1a33",
"object": "payment",
"status": "paid",
"amount": 500000,
"currency": "DZD"
}
}
}Attributes
idstringThe unique identifier of the event.
objectstringThe type of the object.
Always event.
api_versionstringThe API version the payload was rendered with.
createdintegerWhen the event happened (Unix time, seconds).
livemodebooleanfalse for a sandbox event.
typestringWhat happened.
One of payment.succeeded, payment.failed, payment.cancelled, payment.reversed, refund.succeeded, refund.failed.
dataobjectThe object the event is about.