- 👋 Hello
- API Introduction
- API Reference
- User
- Balance
- Affiliate
- Invoices
- Support
- SSH Keys
- Servers
- Scale
- Addons
- Rescue
- List plans
- List servers
- Server status
- Get a server
- Server metrics
- Bandwidth
- Deploy new server
- Start a server
- Restart a server
- Stop a server
- Power off
- Cancel server
- Undo cancel request
- Change password
- Update hostname
- Update SSH Keys
- Modify ISOs
- Restore
- Renew server
- Reinstall Server
- Change Primary IP
- Calculate renew amount
- Plans
- Snapshots
- Backups
- Server Images
- Floating IPs
- IP Addresses
- Network Protection
- Orders
- ISOs
Get affiliate information
GET
https://api.vpsbg.eu/v1/affiliate
Affiliate
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
Accept
stringÂ
required
Default:
application/json
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.vpsbg.eu/v1/affiliate' \
--header 'Accept;'
Responses
🟢200Affiliate information
application/json
Body
referral_code
stringÂ
required
referral_url
stringÂ
required
referrals_turnover
integerÂ
required
commission
integerÂ
required
estimated_earnings
numberÂ
required
all_time_earnings
numberÂ
required
next_payout_in_days
integerÂ
required
Example
{
"referral_code": "myawesomewebsite2",
"referral_url": "https://www.vpsbg.eu/aff/myawesomewebsite2",
"referrals_turnover": 30,
"commission": 5,
"estimated_earnings": 1.5,
"all_time_earnings": 1.5,
"next_payout_in_days": 15
}
🔴500Server Error
Modified at 2024-09-16 11:52:32