Vexar API

Referrals

The referral (partner) program: read your referral data, apply to become a partner, and request payouts. Authentication required.

GET /api/v1/referrals/me Auth

Your referral status, balance, code and stats.

Response
{ "success": true, "is_partner": true, "code": "jane", "balance": 4200, "referrals": 8 }
GET /api/v1/referrals/settings Auth

Program settings (commission %, minimum payout).

Response
{ "success": true, "commission": 20, "min_withdrawal": 50 }
POST /api/v1/referrals/apply Auth

Apply to join the partner program.

Response
{ "success": true }
POST /api/v1/referrals/withdraw Auth

Request a payout to a card. Subject to the minimum payout and your balance.

Request body
{ "amount": 100, "card_number": "4242…" }
Response
{ "success": true }