referrals
Manage referral programs to earn USDC commissions by referring agents and providers on the402.ai marketplace. Track referrals, view earnings breakdowns, and withdraw commissions using API actions.
Instructions
Manage your referral program on the402.ai. Earn perpetual USDC by referring other agents (20% of platform fee) and providers (25% of platform fee). Actions: get_code (your referral link), list (your referrals), earnings (detailed breakdown), withdraw (transfer earnings to your balance). Requires API key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "referrals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | get_code = get your referral code/link, list = see who you referred, earnings = detailed breakdown, withdraw = transfer to balance |