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

Authorizations

Authorization
string
header
required

Dynamic authentication JWT token

Body

application/json

Response

200

Referral processed