Actions55
- Webhooks Actions
- Payments Actions
- Products Actions
- Plans Actions
- Partner Referrals Actions
- Reporting Actions
- Orders Actions
- Subscriptions Actions
- Invoicing Actions
- Disputes Actions
Webhooks → List Webhooks
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 for the Webhooks resource, the List Webhooks operation allows users to retrieve a list of all configured webhooks in their PayPal account.
Common scenarios where this node is beneficial include:
- Automating management of PayPal webhooks for event-driven workflows.
- Monitoring webhook configurations to ensure correct event subscriptions.
- Integrating PayPal webhook data into broader automation pipelines without manual API calls.
For example, a user can list all webhooks to audit which events are currently subscribed or to programmatically update webhook configurations based on business logic.
Properties
| Name | Meaning |
|---|---|
| Additional Options | Collection of optional parameters: - Environment: Choose between "Sandbox" or "Live" PayPal environment. - Page Size: Number of items per page when listing (default 20). - Start Time: Filter results starting from this ISO 8601 date/time. - End Time: Filter results up to this ISO 8601 date/time. |
Output
The output JSON object includes:
resource: The resource name, here always"webhooks".operation: The operation performed, here"listWebhooks".success: Boolean indicating if the operation succeeded.- The response body from PayPal's API containing the list of webhooks and their details.
creditsUsed: Number of API credits consumed by the request (from validation API).creditsRemaining: Remaining API credits available (from validation API).timestamp: ISO 8601 timestamp of when the response was generated.
No binary data is output by this operation.
Dependencies
- Requires an API key credential for the external "N8N Tools API" service used for validating operations and tracking usage.
- Requires OAuth2 credentials for PayPal API access, including an access token and environment selection (sandbox or live).
- The node makes HTTP requests to both the N8N Tools API and PayPal REST API endpoints.
- Proper configuration of these credentials within n8n is necessary for successful execution.
Troubleshooting
- Invalid JSON in Request Body: If a JSON input property is malformed, the node throws an error specifying invalid JSON. Ensure JSON syntax correctness.
- Validation Failure: If the N8N Tools API validation fails, the node reports a validation error. Check API key validity and network connectivity.
- Unknown Operation or Resource: Selecting an unsupported operation or resource triggers an error. Verify that the chosen operation matches the supported options.
- API Rate Limits or Quotas: The node tracks API credits used and remaining; hitting limits may cause failures. Monitor usage and adjust accordingly.
- Authorization Errors: Invalid or expired PayPal OAuth tokens will cause authorization failures. Refresh tokens or reauthenticate as needed.