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.
Authentication
Requires an API key in the X-API-Key header.
Path parameters
codestringrequiredGET
/beltempo/referral/validate/:codecurl "https://api.trevi.cash/beltempo/referral/validate/alice2026" --header "X-API-Key: $BTPAY_API_KEY"Was this page helpful?
