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).Query Parameters
Filter deliveries by their outcome. Accepted values:
SUCCESS, FAILED, PENDING. Omit this parameter to return deliveries of all statuses.Filter deliveries by the event type that triggered them (e.g.
transaction.paid, transaction.failed, transaction.refunded). Omit this parameter to return deliveries for all event types.Example Requests
Retrieve all failed deliveries:transaction.paid events:
transaction.paid deliveries:
Response
Returns an array of webhook delivery objects ordered by most recent attempt first.200 — Success
Response Fields
Unique identifier (UUID) for this delivery attempt. Use this value with POST /api/webhooks/deliveries//retry to manually retry a failed delivery.
The event type that triggered this delivery (e.g.
transaction.paid, transaction.failed).Outcome of the delivery attempt. Possible values:
SUCCESS, FAILED, PENDING.The HTTP status code returned by your endpoint when CertoPay attempted delivery (e.g.
200, 500, 404). This field may be null if the request never reached your server (e.g. due to a DNS or connection error).ISO 8601 timestamp for when this delivery was attempted.
Use this endpoint together with POST /api/webhooks/deliveries//retry to recover missed events. Retrieve the
deliveryId of any failed delivery from this list, then pass it to the retry endpoint to re-trigger the notification.