Skip to main content
POST
/
v1
/
invite
/
activate-with-referral
Activate referral
curl --request POST \
  --url https://perp-api.phoenix.trade/v1/invite/activate-with-referral \
  --header 'Content-Type: application/json' \
  --data '
{
  "authority": "string",
  "referral_code": "string"
}
'
{
  "trader_pda": "<string>"
}

Body

application/json

JSON request payload for v1.invite_referrals_waitlist.activate_invite_authority_with_referral.

authority
string
required
referral_code
string
required

Response

Trader created

trader_pda
string
required