N8N Tools - Cash App
Accept payments and manage transactions through Cash App Pay with extensible Square API integration
Actions38
- Payment Actions
- Customer Actions
- Product Actions
- Inventory Actions
- Subscription Actions
- Invoice Actions
- Loyalty Actions
- Gift Card Actions
- Report Actions
Overview
The node integrates with the Cash App API to manage subscriptions and other related resources. Specifically, the "Resume Subscription" operation allows users to resume a previously paused subscription by providing its subscription ID. This is useful in scenarios where a subscription was temporarily halted (paused) and needs to be reactivated without creating a new subscription.
Practical examples:
- A SaaS business that pauses customer subscriptions during a billing dispute can use this operation to resume the subscription once resolved.
- Subscription box services can pause shipments for customers on vacation and resume them later using this operation.
Properties
| Name | Meaning |
|---|---|
| Subscription ID | The unique identifier of the subscription to resume |
Output
The output JSON contains information about the resumed subscription under the subscription field. Additionally, it includes metadata about the operation such as:
resource: The resource type, here always"subscription".operation: The operation performed, here"resumeSubscription".success: Boolean indicating if the operation succeeded.creditsUsed: Number of credits consumed by the API call.creditsRemaining: Remaining credits after the call.
Example output structure:
{
"resource": "subscription",
"operation": "resumeSubscription",
"success": true,
"creditsUsed": 1,
"creditsRemaining": 99,
"subscription": {
/* subscription details object returned from API */
}
}
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the external Cash App API service.
- The node uses an internal helper class to interact with the Cash App API endpoints.
- The API URL and API key must be configured in the node credentials.
- The node sends a validation request before performing the main operation to ensure the API key and parameters are valid.
Troubleshooting
Common issues:
- Invalid or missing subscription ID will cause the operation to fail.
- Expired or invalid API key will result in authentication errors.
- Network connectivity issues may prevent reaching the Cash App API endpoint.
Error messages:
"N8N Tools API validation failed": Indicates the initial validation request failed; check API key and parameters."Cash App operation failed: <message>": General failure message with specific error details from the API."Unknown subscription operation: resumeSubscription": Should not occur unless the code is modified; indicates unsupported operation.
Resolutions:
- Verify the subscription ID is correct and exists.
- Ensure the API key credential is properly set up and has necessary permissions.
- Check network access and proxy settings if applicable.
- Enable "Continue On Fail" in the node settings to handle errors gracefully in workflows.
Links and References
- Cash App API Documentation (general reference for Cash App Pay APIs)
- n8n documentation on creating custom nodes