API ReferenceWooCommerceSDKssoonWebhookssoon

Dashboard

Merchant profile

GET/api/merchants/me

Identity + tier of the merchant the calling credential belongs to. Useful for showing "Logged in as …" in custom integrations.

Authentication

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

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