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.

Authentication

Requires an API key in the X-API-Key header.

Path parameters

codestringrequired
GET/beltempo/referral/:code/stats
curl "https://api.trevi.cash/beltempo/referral/alice2026/stats" --header "X-API-Key: $BTPAY_API_KEY"