Feature request: API support to enable/disable auto-renew for domains #25
Closed
pecraveiro
started this conversation in
Feature requests
Replies: 1 comment
-
|
Hello, thanks for suggesting a feature. You can find auto-renewal enable/disable endpoints here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature request: API support to enable/disable auto-renew for domains
Context
We manage more than 500 domains and purchase 30+ new domains every month across different marketing teams. Since multiple people are involved in domain purchases, auto-renewal is often left enabled by default, and it becomes very time-consuming to manually disable it from the hPanel for each domain.
Problem
Currently, the Hostinger API exposes useful endpoints for domain management (lock, privacy protection, nameservers, portfolio), but it does not provide a way to manage the
is_auto_renewedproperty for domains. This forces us to rely on manual actions in the panel, which is error-prone and inefficient at scale.Proposed solution
Expose an endpoint in the Domains Portfolio or Billing Subscriptions API that allows us to enable or disable auto-renewal programmatically, e.g.:
PUT /api/billing/v1/subscriptions/{id}/auto-renewwith a payload like
{ "is_auto_renewed": false }This would allow us to periodically run a script to disable auto-renew for all domains, or selectively keep it enabled only for specific domains.
Benefits
Beta Was this translation helpful? Give feedback.
All reactions