N8N Tools - Cash App icon

N8N Tools - Cash App

Accept payments and manage transactions through Cash App Pay with extensible Square API integration

Overview

The node integrates with the Cash App API via an external service to manage subscriptions and other related resources. Specifically, for the Subscription - Get Subscription operation, it retrieves detailed information about a specific subscription by its ID.

This node is useful in scenarios where you need to programmatically access subscription details within an automation workflow, such as verifying subscription status, fetching billing info, or syncing subscription data with other systems.

Example use case:

  • Automatically fetch subscription details when a new event occurs (e.g., a webhook triggers) to update your CRM or notify your support team.

Properties

Name Meaning
Subscription ID The unique identifier of the subscription to retrieve

Output

The output JSON contains a subscription field holding the detailed subscription object returned from the external Cash App API. Additionally, metadata fields include:

  • resource: The resource type, here "subscription".
  • operation: The operation performed, here "getSubscription".
  • success: Boolean indicating if the operation succeeded.
  • creditsUsed: Number of API credits consumed by the request.
  • creditsRemaining: Remaining API credits after the request.

Example output structure:

{
  "resource": "subscription",
  "operation": "getSubscription",
  "success": true,
  "creditsUsed": 1,
  "creditsRemaining": 99,
  "subscription": {
    /* subscription details object */
  }
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authentication with the external Cash App API service.
  • The node uses an HTTP POST request to validate the requested resource and operation before executing.
  • The external API URL and API key must be configured in the node credentials.
  • No additional environment variables are required beyond the API credentials.

Troubleshooting

  • Common issues:

    • Invalid or missing Subscription ID will cause the API call to fail.
    • API key misconfiguration or expired credentials will result in authentication errors.
    • Network connectivity issues can prevent successful API calls.
  • Error messages:

    • "N8N Tools API validation failed": Indicates the resource-operation combination is not valid or the API key is invalid.
    • "Cash App operation failed: <message>": General failure message with details from the API response.
    • "Unknown subscription operation: getSubscription": Should not occur if using the correct operation name; indicates possible internal mismatch.
  • Resolutions:

    • Verify that the Subscription ID is correctly provided and exists.
    • Check and update the API key credential in n8n.
    • Ensure network access to the external API endpoint.
    • Enable "Continue On Fail" in the node settings to handle errors gracefully in workflows.

Links and References

Discussion