Extend a rental (spends balance)
extend_rentalSPENDS MONEY from the prepaid ipvolt balance of the credential's account. Extend one of the account's active rentals by 1 or 30 days. Two steps: (1) call without confirm: this only looks up the current price and answers the exact charge and a requestId; nothing is charged. (2) Only after the user approved that charge, call again with confirm: true and that requestId. If the price rose meanwhile the API refuses instead of charging more, and repeating a confirmed requestId returns the same order without charging again. Needs a read-write API key, an agent token that may buy, or the order's invoice ID.
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": {
"rentalId": "<rentalId>",
"days": "<days>"
},
"name": "extend_rental"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Extend by 1 or 30 days. | |
| confirm | No | Leave out to preview the charge. Set true, with the preview requestId, only after the user approved that charge. | |
| rentalId | Yes | Rental id from list_rentals. | |
| requestId | No | The requestId the preview returned, copied exactly. Use it only with confirm: true. |