Referrals
Validate a referral code
GET
/beltempo/referral/validate/:codeLightweight existence check. Returns { valid: true } only if the code exists, is active, and belongs to your merchant.
- 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
codestringrequiredGET
/beltempo/referral/validate/:codecurl "https://api.trevi.cash/beltempo/referral/validate/alice2026" --header "X-API-Key: $TREVI_API_KEY"Was this page helpful?
