Widget embed code
widget_snippetThe code that opens Float's pop-up (Get CC or Withdraw CC) from a partner's page. No API key is needed, and the widget never asks for one. Pass ref to attribute the orders to a referral code from the partner dashboard at /partners.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "widget_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | The partner's referral code, from /partners. | |
| mode | No | deposit = Get CC (default). withdraw = Withdraw CC. |