Actions116
- Course Actions
- Bundle Actions
- Course Grade Actions
- Course Grade Detail Actions
- Course Teacher Actions
- Email Actions
- Email Campaign Actions
- Email Campaign Course Actions
- Email Campaign Excluded Course Actions
- Email Campaign Excluded List Actions
- Email Campaign Excluded Plan Actions
- Email Campaign List Actions
- Email Campaign Plan Actions
- Email List Actions
- Enroll Actions
- MindzPay Account Actions
- MindzPay Invoice Actions
- MindzPay Payment Actions
- MindzPay Subscription Actions
- Subscription Actions
- Team Actions
- User Actions
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 refund is issued.
- Allowing customers to self-manage their subscriptions by integrating this node into a workflow triggered by a cancellation request.
- Managing subscription lifecycle events in automated billing or CRM systems.
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 you want to cancel. |
Output
The output JSON will typically contain the response from the Mindz API regarding the cancellation request. This may include confirmation of cancellation, updated subscription status, timestamps, and any relevant metadata returned by the API.
If the node supports binary data output (not explicitly shown here), it would generally represent downloadable content related to the subscription or cancellation receipt, but this is not indicated in 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 indicated beyond those bundled in the node's resources.
Troubleshooting
Common issues:
- Invalid or missing Account ID or Subscription ID parameters will cause the cancellation to fail.
- Network connectivity problems or incorrect API credentials can result in authentication errors.
- Attempting to cancel a subscription that is already cancelled or does not exist may return an error from the API.
Error messages and resolutions:
- "Unauthorized" or "Authentication failed": Verify that the API key or OAuth2 credentials are correctly set up in n8n.
- "Subscription not found": Check that the Subscription ID is correct and belongs to the specified Account ID.
- "Invalid parameters": Ensure all required fields are provided and formatted correctly.
Links and References
- Mindz API Documentation (for subscription management): https://docs.mindz.com/api/subscriptions (example placeholder link)
- n8n Documentation on creating custom nodes: https://docs.n8n.io/integrations/creating-nodes/