Top up the balance
rent_topupmethod "card": answers a pay link for a person (valid 24 hours; Stripe Checkout, no API key needed). On clients that take URL elicitation the link is shown to the person first, then the tool answers it. method "x402": charges USDC over MCP with x402. The first call answers isError with the PaymentRequired object (amount = credits + 5.5%; sign within its maxTimeoutSeconds, 120 s); retry the same call with the PaymentPayload in _meta["x402/payment"]. The paid call settles, credits, and answers the SettleResponse in _meta["x402/payment-response"]. The balance shows card payments once Stripe confirms them; check with rent_get_balance.
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": {
"method": "<method>",
"amount_usd": "<amount_usd>"
},
"name": "rent_topup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| amount_usd | Yes | Credits in USD, e.g. "5.00". Card links round up to the cent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| result | No | ||
| status | Yes | pay_link: a person pays at checkout_url. settled: credited. pending: poll operation_id with rent_get_operation. | |
| x402_url | No | The same top-up over HTTP x402. | |
| operation | No | ||
| amount_usd | Yes | Credits bought, in USD (fees come on top). | |
| expires_at | No | When checkout_url stops working (24 hours). | |
| elicitation | No | The person's answer to the pay-link prompt, on clients that showed it. | |
| checkout_url | No | Card pay link, no API key needed. | |
| operation_id | No |