API ReferenceWooCommerceSDKssoonWebhookssoon

Dashboard

Single-payment event log

GET/api/merchants/payments/:requestId/logs

Detailed event log for one payment — every webhook attempt, every status flip. The first thing to check when an integration mis-behaves.

Authentication

Accepts either an API key (X-API-Key) or a dashboard JWT (Authorization: Bearer …).

Path parameters

requestIdstringrequired
GET/api/merchants/payments/:requestId/logs
curl "https://api.trevi.cash/api/merchants/payments/REQUEST_ID/logs" --header "X-API-Key: $BTPAY_API_KEY"