# /admin/gen-ref

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

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

secretKey: sk-wwh284h2ksjfshshshsjh

walletAddress: 0x2jskEWGJkjd1384haah04716jx000

percent: 3

uid: XP27shj24190ws
{% endtab %}

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

Data: New referral code generated: ${refCode}\`
{% endtab %}
{% endtabs %}
