Dashboard
Legacy payment logs
GET
/api/merchants/payments/logsPaginated payment-request records with their event logs, from the pre-v2 payment system.
- This reads the legacy payment-request store. Sales created through
POST /api/v2/paymentsare NOT recorded there and will not appear here — useGET /api/merchants/paymentsfor those. - Kept for merchants who still need to look back at historical records. New integrations should not build against it.
Authentication
Accepts either an API key (X-API-Key) or a dashboard JWT (Authorization: Bearer …).
Query parameters
pagenumberoptionaldefault 1
limitnumberoptionaldefault 20, capped at 100
statusstringoptionalGET
/api/merchants/payments/logscurl "https://api.trevi.cash/api/merchants/payments/logs" --header "X-API-Key: $TREVI_API_KEY"Was this page helpful?
