Dashboard
Legacy single-payment log
GET
/api/merchants/payments/:requestId/logsThe detailed event log for one legacy payment request.
- Legacy, like the bulk endpoint above: v2 sales are not recorded here. To debug a v2 webhook, read the payment from
GET /api/merchants/payments—webhook_attempts,webhook_delivered_atandwebhook_last_errorare on the record itself.
Authentication
Accepts either an API key (X-API-Key) or a dashboard JWT (Authorization: Bearer …).
Path parameters
requestIdstringrequiredGET
/api/merchants/payments/:requestId/logscurl "https://api.trevi.cash/api/merchants/payments/REQUEST_ID/logs" --header "X-API-Key: $TREVI_API_KEY"Was this page helpful?
