Mindz icon

Mindz

Interact with Mindz API

Actions115

Overview

The MindzPay Subscription Cancel operation allows users to cancel an active subscription within the Mindz platform. This node is useful in scenarios where a user or administrator needs to terminate a subscription service, for example, when a customer decides to stop a recurring payment or discontinue access to a service tied to the subscription.

Practical examples include:

  • Automatically cancelling a subscription when a user requests account closure.
  • Integrating with billing systems to halt future charges upon cancellation.
  • Managing subscription lifecycle events in customer support workflows.

Properties

Name Meaning
Account ID The unique identifier of the MindzPay account associated with the subscription.
Subscription ID The unique identifier of the subscription that is to be cancelled.

Output

The output JSON typically contains the result of the cancellation request. This may include confirmation details such as subscription status after cancellation, timestamps, or any messages returned by the Mindz API indicating success or failure of the cancellation.

If the node supports binary data output (not indicated here), it would generally represent related documents or receipts generated during cancellation, but this is not evident from the provided code.

Dependencies

  • Requires an API authentication token credential configured in n8n to authenticate requests against the Mindz API.
  • Depends on the Mindz API being accessible and the account having permissions to manage subscriptions.
  • No additional external libraries are explicitly required beyond those bundled in the node.

Troubleshooting

  • Common issues:

    • Invalid or missing Account ID or Subscription ID will cause the cancellation to fail.
    • Network connectivity problems or incorrect API credentials can prevent successful communication with the Mindz API.
    • Attempting to cancel a subscription that is already cancelled or does not exist may return errors.
  • Error messages and resolutions:

    • "Subscription not found": Verify that the Subscription ID is correct and exists under the specified Account ID.
    • "Unauthorized" or "Authentication failed": Check that the API authentication token is valid and has not expired.
    • "Network error" or timeout: Ensure stable internet connection and that the Mindz API endpoint is reachable.

Links and References

Discussion