Last updated 3 months ago
Get referral program config data
OK
List of referral config
Get latest referree data for requester's account
List of referral details
const response = await fetch('https://api.testnet.paradex.trade/v1/referrals/config', { method: 'GET', headers: {}, }); const data = await response.json();
{ "results": [ { "commission_rate": "0.1", "commission_volume_cap": "1000000000", "discount_rate": "0.1", "discount_volume_cap": "30000000", "minimum_volume": "0.123", "points_bonus_rate": "0.1", "points_bonus_volume_cap": "30000000", "referral_type": "Referral" } ] }
const response = await fetch('https://api.testnet.paradex.trade/v1/referrals/summary', { method: 'GET', headers: {}, }); const data = await response.json();
{ "results": [ { "address": "text", "created_at": 1715592690488, "referral_code": "maxdegen01", "referral_rewards": "0.123", "volume_traded": "0.123" } ] }