Pinch icon

Pinch

Node for interacting with the Pinch Payments API

Actions3

Overview

This node integrates with the Pinch Payments API to retrieve payment information. Specifically, the "Get Payment" operation fetches details of a single payment by its unique identifier. This is useful in scenarios where you need to verify payment status, audit transactions, or display payment details within an automation workflow.

For example, after receiving a payment ID from a previous step (such as a webhook or database query), you can use this node to pull detailed payment data like amount, status, and payer information for further processing or reporting.

Properties

Name Meaning
Payment ID The unique identifier of the payment to retrieve. It must be a string starting with pmt_.

Output

The node outputs JSON data representing the payment object retrieved from the Pinch Payments API. This typically includes fields such as payment amount, currency, status, payer details, timestamps, and other metadata related to the payment.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Pinch Payments API.
  • An API authentication token credential must be configured in n8n to authorize requests.
  • Internet access to reach the Pinch Payments service endpoint.

Troubleshooting

  • Common issues:

    • Invalid or missing Payment ID: Ensure the payment ID provided is correct and starts with pmt_.
    • Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
    • Network connectivity problems: Confirm that your environment can reach the Pinch Payments API endpoint.
  • Error messages:

    • "Payment not found": The specified payment ID does not exist or is incorrect.
    • "Unauthorized" or "Authentication failed": Check API credentials and permissions.
    • Timeout or network errors: Retry or check network/firewall settings.

Links and References

Discussion