renewDomain
renewDomain: Stage renewal of a domain for a specified number of years. Deducts from account balance. Returns an actionId: present the summary to the user, then call executeConfirmedAction with the actionId if they approve.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Renewal period in years, 1-10. | |
| domain | Yes | Fully qualified domain name to renew, like "example.com", without scheme. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. |