Referral Program

GET https://leads.qreq.com/api/referral
curl --request GET \
--url 'https://leads.qreq.com/api/referral' \
--header 'Authorization: Bearer {api_key}'
{ "success": true, "userType": "company", "settings": { "id": 1, "is_enabled": true, "commission_percentage": "10.00", "threshold_amount": "50.00", "guidelines": null, "created_at": "2025-10-24T07:04:48.000000Z", "updated_at": "2025-10-24T07:04:48.000000Z" }, "stats": { "totalReferrals": 0, "totalEarned": 0, "totalPayoutRequests": 0, "availableBalance": 0, "referredUsersCount": 0, "pendingAmount": 0 }, "payoutRequests": { "current_page": 1, "data": [], "first_page_url": "https://leads.qreq.com/api/referral?page=1", "from": null, "last_page": 1, "last_page_url": "https://leads.qreq.com/api/referral?page=1", "links": [ {"url": null, "label": "« Previous", "page": null, "active": false}, {"url": "https://leads.qreq.com/api/referral?page=1", "label": "1", "page": 1, "active": true}, {"url": null, "label": "Next »", "page": null, "active": false} ], "next_page_url": null, "path": "https://leads.qreq.com/api/referral", "per_page": 10, "prev_page_url": null, "to": null, "total": 0 }, "referralLink": "https://leads.qreq.com/register?ref=634410", "recentReferredUsers": [], "currency": "USD", "currencySymbol": "$" }