Legacy withdrawal (requires an active payout destination)
withdrawWithdraw earnings to the account's payout destination. Pass idempotency_key so a retry returns the original withdrawal instead of paying twice.
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": "withdraw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | US dollars with two decimal places, e.g. 12.34 | |
| currency | No | ||
| idempotency_key | No | Unique per account; a retry with the same key returns the original withdrawal. |