v1

latestOpenAPI 3.1.0Proprietary2026-07-2265155163.6 KB
Invite

Activate referral with user-funded transaction

Activates a trader with a valid referral code by validating a user-funded transaction, signing it with the referral activation onboarder, and submitting it. The trader authority or another non-Phoenix payer must pay fees and trader-account rent.

post/v1/referral/activate-tx

Request body

recent_blockhashstring required
referral_codestring required
trader_authoritystring required
trader_pda_indexinteger nullable
trader_subaccount_indexinteger nullable
transactionstring required

Response

referral_codestring required
signaturestring nullable
status'activated' | 'submitted' | 'already_activated' required
trader_pdastring required