curl --request POST \
--url http://localhost:4000/api/user/referral \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"referralCode": "<string>"
}'
Process a referral action
curl --request POST \
--url http://localhost:4000/api/user/referral \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"referralCode": "<string>"
}'
Dynamic authentication JWT token
Referral processed