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 Payment node's Get Stats operation retrieves statistical data related to a specific MindzPay account. This node is useful for users who want to monitor or analyze payment-related metrics such as transaction counts, revenue summaries, or other aggregated payment statistics associated with their MindzPay account.
Practical examples include:
- Fetching monthly payment statistics to generate financial reports.
- Monitoring payment trends for business insights.
- Integrating payment stats into dashboards or automated workflows for real-time updates.
Properties
| Name | Meaning |
|---|---|
| Account ID | The ID of the MindzPay account to retrieve statistics for. |
Output
The output JSON contains the statistical data retrieved from the MindzPay API for the specified account. This typically includes aggregated payment information such as totals, counts, or other relevant metrics depending on the API response.
If the node supports binary data output (not indicated in the provided code), it would represent any files or attachments related to the payment stats, but this is not evident here.
Dependencies
- Requires an active connection to the Mindz API via an OAuth2-based API key credential configured in n8n.
- The node depends on the MindzPay API service being available and accessible.
- Proper permissions on the MindzPay account are necessary to fetch statistics.
Troubleshooting
Common issues:
- Invalid or missing Account ID: Ensure the Account ID is correctly provided and corresponds to an existing MindzPay account.
- Authentication errors: Verify that the API credentials are valid and have not expired.
- Network or API downtime: Check connectivity and Mindz API status if requests fail.
Error messages:
- Authorization failures usually indicate invalid or insufficient credentials; reauthenticate or update credentials.
- "Account not found" errors suggest the Account ID does not exist or is incorrect.
- Rate limiting or quota exceeded errors require waiting or adjusting usage patterns.
Links and References
- Mindz API Documentation (hypothetical link as no direct URL was provided)
- n8n OAuth2 Credential Setup Guide: https://docs.n8n.io/credentials/oauth2/
- General n8n Node Development: https://docs.n8n.io/integrations/creating-nodes/