Mindz icon

Mindz

Interact with Mindz API

Actions115

Overview

The MindzPay Invoice "Get" operation node allows users to retrieve detailed information about a specific invoice from the MindzPay system. This is useful in scenarios where you need to fetch the current status, details, or metadata of an invoice for processing, auditing, or display purposes.

Practical examples include:

  • Fetching invoice details to display in a customer portal.
  • Retrieving invoice data before performing updates or cancellations.
  • Integrating invoice information into accounting or ERP systems.

Properties

Name Meaning
Account Key The key of the MindzPay account used to authenticate and identify the account context.
Invoice ID The unique identifier of the invoice to retrieve.

Output

The node outputs JSON data representing the full details of the requested invoice. This typically includes fields such as invoice status, amounts, dates, payer information, and other relevant metadata provided by the MindzPay API.

If the node supports binary data output (not indicated here), it would represent attachments or documents related to the invoice, but this is not evident from the provided code.

Dependencies

  • Requires an API authentication token credential configured in n8n to access the Mindz API.
  • Depends on the MindzPay API service being available and accessible.
  • The node uses internal resource-operation handlers to perform the API call; no additional external libraries are explicitly required beyond those bundled.

Troubleshooting

  • Common issues:

    • Invalid or missing Account Key: Ensure the Account Key is correctly set and valid.
    • Incorrect Invoice ID: Verify that the Invoice ID exists and is correct.
    • Authentication errors: Confirm that the API credentials are properly configured and have sufficient permissions.
    • Network or API downtime: Check connectivity and MindzPay service status.
  • Error messages:

    • "Invoice not found": The specified Invoice ID does not exist or is inaccessible.
    • "Unauthorized": Authentication failed due to invalid credentials.
    • "Bad Request": Input parameters may be malformed or missing required fields.

Resolving these usually involves verifying input parameters, checking credentials, and ensuring the MindzPay API is operational.

Links and References

Discussion