API ReferenceWooCommerceSDKssoonWebhookssoon

Dashboard

Merchant profile

GET/api/merchants/me

Identity and tier of the merchant the calling credential belongs to. Useful for showing "Logged in as …" in custom integrations, and for confirming an API key is live.

  • Responds { success, merchant: { merchant_id, email, company_name, tier, status, email_verified, dashboard_mode, created_at, last_login } }.

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: $TREVI_API_KEY"
Was this page helpful?