API ReferenceWooCommerceSDKssoonWebhookssoon

Referrals

Referral code stats

GET/beltempo/referral/:code/stats

Visits, conversions, configured cashback splits, and owner email/name for a single referral code.

  • Authenticated: API key or merchant JWT. An unauthenticated call returns 401.

Authentication

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

Path parameters

codestringrequired
GET/beltempo/referral/:code/stats
curl "https://api.trevi.cash/beltempo/referral/alice2026/stats" --header "X-API-Key: $TREVI_API_KEY"
Was this page helpful?