Set a referral code if not already set
Request
Add parameter in header x-api-key
Example:x-api-key: ********************
or
Add the parameter Authorization
to Headers Example:Authorization: ********************
or
Body Params application/jsonRequired
{
"data": {
"referralCode": "strin"
}
}
Request Code Samples
curl --location --request POST 'https://api-testnet.predict.fun/v1/account/referral' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"referralCode": "strin"
}
}'
Modified at 2025-12-11 01:33:41