PENDING to PROCESSING to PAID. This audit trail is invaluable for debugging payment flows, reconciling records, and investigating disputes or unexpected transaction outcomes.
Endpoint
Authentication
All requests must include your secret API key in theX-Api-Key header.
Your CertoPay secret API key (e.g.
sk_live_sua_chave_aqui).Path Parameters
The unique UUID of the transaction whose event history you want to retrieve. Obtain this from the List Transactions or Get Transaction endpoints.
Example Request
Response
Returns an array of event objects, ordered chronologically from oldest to newest. Each object describes a single status transition for the transaction.200 — Success
Response Fields
Unique identifier (UUID) for this individual event record.
UUID of the transaction this event belongs to.
The event type describing what occurred (e.g.
transaction.created, transaction.paid, transaction.failed).The transaction status at the time this event was recorded (e.g.
PENDING, PROCESSING, PAID, FAILED).ISO 8601 timestamp for when this event was recorded.
The event list is ordered chronologically — the first item represents the earliest recorded state and the last item represents the most recent. This makes it easy to trace the full lifecycle of a payment from creation to completion or failure. Use this endpoint alongside Webhook Delivery History for comprehensive payment flow auditing.