Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

Billing → Delete Payment Method

AI-generated

Overview

This node interacts with the Hostinger API to delete a payment method from the billing resource. It is useful in scenarios where a user wants to remove an existing payment method from their Hostinger account, such as when a credit card expires or is no longer valid.

Use Case Examples

  1. Deleting an old credit card payment method from the billing system.
  2. Removing a payment method that is no longer in use to keep the billing information up to date.

Properties

Name Meaning
Payment Method ID The unique identifier of the payment method to be deleted.

Output

JSON

  • response - The response from the Hostinger API after attempting to delete the payment method.

Dependencies

  • Hostinger API authentication credential

Troubleshooting

  • Ensure the Payment Method ID is correct and exists in the Hostinger account.
  • Check that the API authentication credentials are valid and have the necessary permissions.
  • Common error messages may include 'Unsupported operation' if the operation name is incorrect, or HTTP errors if the payment method ID is invalid or the API request fails.

Discussion