API ReferenceWooCommerceSDKssoonWebhookssoon

Dashboard

Compact stats

GET/api/merchants/stats

Same numbers as /dashboard, in a compact shape. Use for webhooks or quick polling.

Authentication

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

GET/api/merchants/stats
curl "https://api.trevi.cash/api/merchants/stats" --header "X-API-Key: $BTPAY_API_KEY"