Request payout
request_payoutAsk for a payout of the developer's payable balance (Cap income only — topped-up money cannot be withdrawn). Call it once without confirmed to get the estimate (amount, channel fee, withholding tax, what actually lands), show that to the user, and only then call again with confirmed: true. Needs the developer's Qumge 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": {
"amount_usd": "<amount_usd>"
},
"name": "request_payout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmed | No | Set true only after the user has seen the estimate and agreed. | |
| qumge_key | No | Optional: your Qumge API key, for clients that cannot set an Authorization header. Takes precedence over the header. Never echoed back. | |
| amount_usd | Yes | How much to withdraw, in US dollars. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| payout_id | No | ||
| requested | Yes | ||
| fee_micro_usd | No | ||
| net_micro_usd | No | ||
| amount_micro_usd | Yes | ||
| withholding_tax_micro_usd | No |