# /admin/update-ref

```javascript
await axios.post(`https://api.cryptocadet.app/api/admin/update-ref`, {
apiKey, 
secretKey, 
walletAddress, 
refCode,
percent, 
uid
})
```

{% tabs %}
{% tab title="Parameters" %}
apiKey: Vxusewjwhjwrhkwwj181ksl

secretKey: sk-wwh284h2ksjfshshshsjh

walletAddress: 0x2jskEWGJkjd1384haah04716jx000

refCode: ah1j387

percent: 3

uid: XP27shj24190ws
{% endtab %}

{% tab title="Response" %}
Status: 200

Data: `New wallet address registered for referral code: ${refCode}`
{% endtab %}
{% endtabs %}
