Actions115
- 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
- Enroll Actions
- Email Campaign Excluded Plan Actions
- Email Campaign List Actions
- Email Campaign Plan Actions
- Email List Actions
- MindzPay Account Actions
- MindzPay Invoice Actions
- MindzPay Payment Actions
- MindzPay Subscription Actions
- Subscription Actions
- Team Actions
- User Actions
Overview
The MindzPay Invoice Cancel operation allows users to cancel an existing invoice within the Mindz platform. This is useful in scenarios where an invoice was issued incorrectly, needs to be voided due to changes in order or subscription status, or when a payment process must be halted.
Practical examples include:
- Canceling an invoice that was created by mistake before payment.
- Voiding an invoice for a subscription that has been terminated.
- Stopping billing for a customer who no longer requires the service.
This operation helps maintain accurate financial records and prevents unwanted charges.
Properties
| Name | Meaning |
|---|---|
| Account Key | The key of the MindzPay account. Used to identify which account's invoices are managed. |
| Invoice ID | The unique identifier of the invoice to be canceled. |
Output
The node outputs JSON data representing the result of the cancellation request. Typically, this includes confirmation details such as the invoice ID, status indicating it has been canceled, timestamps, and possibly error messages if the cancellation failed.
If the node supports binary data output (not indicated here), it would typically relate to downloadable invoice documents or receipts, but this operation primarily deals with JSON responses confirming cancellation.
Dependencies
- Requires an API authentication token credential configured in n8n to access the Mindz API.
- Depends on the Mindz platform's API endpoints for invoice management.
- No additional external services are explicitly required beyond the Mindz API.
Troubleshooting
Common Issues:
- Invalid or missing Account Key or Invoice ID parameters will cause the operation to fail.
- Attempting to cancel an invoice that does not exist or is already canceled may return errors.
- Network or authentication issues can prevent successful API calls.
Error Messages:
- "Invoice not found": Verify the Invoice ID is correct and exists in the specified account.
- "Unauthorized" or "Authentication failed": Check that the API credentials are valid and have necessary permissions.
- "Invoice cannot be canceled": Some invoices might be locked or already processed; confirm invoice status before canceling.
Resolving these usually involves verifying input parameters, ensuring proper API credentials, and checking invoice status in the Mindz system.
Links and References
- Mindz API Documentation (hypothetical link)
- MindzPay Invoice Management Guide (refer to official Mindz resources for detailed usage)