Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

Billing → Cancel Subscription

AI-generated

Overview

This node interacts with the Hostinger API to manage billing-related operations, specifically allowing users to cancel a subscription. It is useful for automating subscription management tasks such as canceling active subscriptions programmatically within workflows.

Use Case Examples

  1. Cancel a subscription by providing the subscription ID to automate subscription termination processes.
  2. Integrate with billing systems to manage subscriptions without manual intervention.

Properties

Name Meaning
Subscription ID The unique identifier of the subscription to be canceled.

Output

JSON

  • response - The response from the Hostinger API after attempting to cancel the subscription, typically containing confirmation or error details.

Dependencies

  • Hostinger API authentication credential

Troubleshooting

  • Ensure the subscription ID provided is valid and exists; otherwise, the API will return an error.
  • Check that the Hostinger API credentials are correctly configured and have the necessary permissions to perform subscription cancellations.
  • If the API returns an unsupported operation error, verify that the resource and operation parameters are correctly set to 'billing' and 'deleteSubscription' respectively.

Links

Discussion