Referral summary
New/referral/summaryReplaces older v2 methods
This API v3 method replaces these API v2 methods (they still work):
Referral summary
Totals of the referral programme: visits, sign-ups, earnings and what is ready to withdraw.
This method requires authorization!
You can use your own API key, which can be obtained at control panel.
This method - requires permissions -referral.read
When creating an API token in your control panel, you can choose certain permissions (for example: prevent the token from placing orders).
You can also find a list of permissions in our documentation.
You can also find a list of permissions in our documentation.
Query method
GEThttps://api.stableproxy.com/v3/referral/summary
Code examples
1const baseUrl = "https://api.stableproxy.com/v3";2const response = await fetch(baseUrl + "/referral/summary", {3 method: "GET",4 headers: {5 "Authorization": "Bearer [YOUR TOKEN]",6 "Content-Type": "application/json"7 }8});9const data = await response.json();