N8N Tools - PayPal Enhanced icon

N8N Tools - PayPal Enhanced

Complete PayPal integration with 70+ operations including Orders, Subscriptions, Invoicing, Disputes, Webhooks, and Partner management

Webhooks → Show Webhook Details

AI-generated

Overview

The node "N8N Tools - PayPal Enhanced" provides a comprehensive integration with PayPal's API, supporting over 70 operations across multiple resources such as Orders, Subscriptions, Invoicing, Disputes, Webhooks, Payments, Products, Plans, Partner Referrals, and Reporting.

For the Webhooks resource, specifically the Show Webhook Details operation, the node retrieves detailed information about a specific webhook by its ID. This is useful for monitoring, auditing, or managing webhook configurations in your PayPal account.

Common scenarios:

  • Fetching details of a webhook to verify its configuration.
  • Auditing webhook URLs and event subscriptions.
  • Debugging webhook issues by inspecting webhook metadata.

Practical example:
You want to confirm the URL and event types subscribed to a particular webhook in your PayPal sandbox environment. Using this node, you provide the webhook ID and select the "Show Webhook Details" operation under the "Webhooks" resource. The node returns the webhook's full details, enabling you to verify or log the configuration.


Properties

Name Meaning
ID The unique identifier of the webhook to retrieve details for.
Additional Options Collection of optional parameters:
- Environment Choose between "Sandbox" or "Live" PayPal environments to specify which API endpoint to use.
- Page Size Number of items per page for list operations (not applicable for Show Webhook Details).
- Start Time Filter start date/time in ISO 8601 format (not applicable for Show Webhook Details).
- End Time Filter end date/time in ISO 8601 format (not applicable for Show Webhook Details).

Output

The node outputs JSON data containing:

  • resource: The resource name ("webhooks").
  • operation: The operation performed ("showWebhookDetails").
  • success: Boolean indicating if the operation succeeded.
  • All fields returned by the PayPal API for the webhook details, including webhook ID, URL, event types subscribed, status, creation time, and other metadata.
  • creditsUsed and creditsRemaining: Information about API usage credits from the external validation service.
  • timestamp: The ISO timestamp when the response was received.

No binary data output is produced by this operation.


Dependencies

  • Requires an API key credential for the external "N8N Tools API" used for validating operations.
  • Requires a PayPal OAuth2 API credential providing:
    • Access token for authenticating PayPal API requests.
    • Environment setting (sandbox or live).
    • Client ID (used for validation).
  • The node makes HTTP requests to PayPal's REST API endpoints depending on the environment.
  • No additional environment variables are required beyond these credentials.

Troubleshooting

  • Invalid or missing webhook ID: The node requires a valid webhook ID string. If omitted or incorrect, the PayPal API will return an error.
  • API validation failure: If the external validation API rejects the request, the node throws an error indicating validation failure.
  • Invalid JSON in request body: Although not applicable for this operation, other operations requiring JSON input may fail if the JSON is malformed.
  • Authentication errors: Ensure that the PayPal OAuth2 access token is valid and has not expired.
  • Network or connectivity issues: Failures in HTTP requests to PayPal or the validation API will cause the node to throw errors.
  • Handling errors: If "Continue On Fail" is enabled, the node will output error details in the JSON instead of stopping execution.

Links and References


This summary covers the static analysis of the node's execute method for the Webhooks resource and Show Webhook Details operation, based solely on the provided source code and property definitions.

Discussion