Actions55
- Webhooks Actions
- Payments Actions
- Products Actions
- Plans Actions
- Partner Referrals Actions
- Reporting Actions
- Orders Actions
- Subscriptions Actions
- Invoicing Actions
- Disputes Actions
Subscriptions → Get Subscription Transactions
AI-generatedOverview
This node provides enhanced integration with PayPal, supporting over 70 operations across multiple PayPal resources such as Orders, Subscriptions, Invoicing, Disputes, Webhooks, and more. Specifically, the Get Subscription Transactions operation under the Subscriptions resource retrieves transaction details related to a specific subscription.
Use cases include:
- Fetching detailed transaction history for a recurring subscription to reconcile payments.
- Auditing subscription activity within a given time frame.
- Integrating PayPal subscription transactions into your CRM or accounting system for reporting.
For example, you can retrieve all transactions for a subscription ID between two dates to analyze customer payment behavior or troubleshoot billing issues.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the subscription whose transactions you want to retrieve. |
| Additional Options | Optional parameters to customize the request: |
| - Environment | Choose between "Sandbox" (testing) or "Live" (production) PayPal environment. |
| - Page Size | Number of transaction items to return per page (pagination size). |
| - Start Time | ISO 8601 formatted start date/time to filter transactions from this point onward. |
| - End Time | ISO 8601 formatted end date/time to filter transactions up to this point. |
Output
The node outputs JSON data containing:
resource: The resource type, here always"subscriptions".operation: The operation performed, here"getSubscriptionTransactions".- The full response body from PayPal's API for the subscription transactions endpoint, which includes transaction details such as transaction IDs, statuses, amounts, timestamps, and types.
success: Boolean indicating if the operation succeeded.creditsUsedandcreditsRemaining: Numeric values indicating API credit usage returned by the validation service.timestamp: The ISO timestamp when the data was retrieved.
No binary data is output by this operation.
Dependencies
- Requires an API key credential for the external "N8N Tools API" service used for validating requests and tracking credits.
- Requires OAuth2 credentials for PayPal API access, including an access token and environment setting (sandbox or live).
- The node makes HTTP requests to both the N8N Tools API and PayPal's REST API endpoints.
Troubleshooting
- Invalid JSON in request body: If a JSON input property is malformed, the node throws an error. Ensure JSON syntax is correct.
- Validation failed: If the external validation API rejects the request, check that the API key and client ID are correct and that the requested operation/resource is supported.
- Unknown operation or resource: Errors occur if an unsupported operation or resource name is provided. Verify the operation and resource names match those listed in the node properties.
- API rate limits or authentication errors: If PayPal returns errors due to invalid tokens or rate limiting, refresh OAuth2 credentials and ensure proper permissions.
- To continue processing other items on failure, enable "Continue On Fail" in the node settings.
Links and References
- PayPal Subscriptions API Documentation
- ISO 8601 Date Format
- n8n HTTP Request Node Documentation (for understanding underlying HTTP calls)