Skip to main content
POST
Associate a referral code with the authenticated account

Authorizations

Authorization
string
header
required

Joyride Core session JWT obtained from the SIWS flow (public/get_nonce + public/auth on the Core trading WebSocket). Include as: Authorization: Bearer <jwt>

Body

application/json
code
string
required

Referral code to associate with the authenticated wallet.

Example:

"ALICE"

Response

Referral association recorded or already present

associated
boolean
required

True when the wallet is associated with a referral code.

Example:

true

code
string
required

Normalized referral code recorded for this wallet.

Example:

"ALICE"

already
boolean
required

True when the wallet already had an attribution before this request.

Example:

false