N8N Tools - Cash App icon

N8N Tools - Cash App

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

Overview

This node integrates with the Cash App API to manage subscriptions and other related resources. Specifically, the "Cancel Subscription" operation allows users to cancel an existing subscription by providing its unique subscription ID. This is useful in scenarios where a customer wants to stop recurring payments or services associated with their subscription.

Practical examples include:

  • Automatically cancelling a customer's subscription when they request account closure.
  • Integrating subscription cancellation into a workflow that manages user lifecycle events.
  • Pausing marketing or billing automation once a subscription is cancelled.

Properties

Name Meaning
Subscription ID The unique identifier of the subscription to cancel.

Output

The node outputs a JSON object containing details about the cancelled subscription under the subscription field. Additionally, it includes metadata fields such as:

  • resource: The resource type, here always "subscription".
  • operation: The operation performed, here "cancelSubscription".
  • success: A boolean indicating if the cancellation was successful.
  • creditsUsed: Number of API credits consumed by the operation.
  • creditsRemaining: Remaining API credits after the operation.

Example output structure (simplified):

{
  "resource": "subscription",
  "operation": "cancelSubscription",
  "success": true,
  "creditsUsed": 1,
  "creditsRemaining": 99,
  "subscription": {
    // Details of the cancelled subscription object returned by the API
  }
}

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the external Cash App API service.
  • Needs configuration of the API base URL and API key within the node credentials.
  • Uses HTTP POST requests to communicate with the Cash App API endpoints.
  • The node validates each operation via a dedicated validation endpoint before execution.

Troubleshooting

  • Common issues:

    • Invalid or missing subscription ID will cause the operation to fail.
    • API authentication errors if the API key credential is incorrect or expired.
    • Network connectivity problems can prevent communication with the Cash App API.
    • Exceeding API rate limits or credit usage may result in operation rejection.
  • Error messages:

    • "N8N Tools API validation failed" indicates the operation parameters did not pass validation; check input values.
    • "Cash App operation failed: <message>" indicates an error returned from the API; review the message for specifics.
  • Resolutions:

    • Ensure the subscription ID is correct and exists.
    • Verify API credentials and permissions.
    • Check network access and proxy settings.
    • Monitor API usage and adjust workflows to stay within limits.

Links and References

Discussion