curl --request POST \
--url https://api.machines.cash/user/v1/referrals/validate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"ok": true,
"data": {},
"summary": "success"
}Validate referral code
When to use this: Check referral code validity before applying.
Required scope: referrals.write.
curl --request POST \
--url https://api.machines.cash/user/v1/referrals/validate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"ok": true,
"data": {},
"summary": "success"
}