> For the complete documentation index, see [llms.txt](https://docs.12cbbd8f58-hosting.gitbook.io.cryptocadet.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.12cbbd8f58-hosting.gitbook.io.cryptocadet.app/admin-api/admin-update-ref.md).

# /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 %}
