Referral Code
Query the referral code of a provided subaccount.
Note: only valid Vertex subaccounts have referral codes.
Rate limits
1200 requests/min or 200 requests/10secs per IP address. (weight = 2)
See more details in API Rate limits
Request
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
subaccount | string | Yes | A |
Response
Note:
null
is returned for thereferral_code
if the subaccount doesn't exist i.e: has not deposited into Vertex.All subaccounts of the same wallet share the same referral code.
Response Fields
Field name | Description |
---|---|
referral_code | Unique referral code associated to the provided subaccount. |
Last updated