Referral codes
Endpoint for getting a list of created referral codes for Partner
Returns a list of created referral codes
GET
https://papi.swapin.com/api/referral_codes
Send users to https://app.swapin.com/join/ + code
[
{
"id": 1,
"label": "Default code",
"code": "RANDOMXYZ",
"user_id": 1, // Partner ID
"created_at": "2022-01-01 11:11:11",
"updated_at": "2022-01-01 11:11:11",
"signups_count": 0, // Total signups with this code
"completed_count": 0 // Total count of signups that completed KYC
},
{...}
]
Last updated