N8N Tools - PayPal Enhanced icon

N8N Tools - PayPal Enhanced

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

Payments → Show Payment 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. Specifically, for the Payments resource and the Show Payment Details operation, this node retrieves detailed information about a specific payment capture by its ID.

This node is beneficial in scenarios where you need to programmatically access detailed payment information from PayPal within an n8n workflow. For example, after capturing a payment, you might want to fetch its details to verify status, amount, payer info, or transaction metadata for further processing or record-keeping.

Properties

Name Meaning
ID The unique identifier of the payment capture whose details 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 items per page for list operations (not applicable for showPaymentDetails).
- Start Time Filter start date/time in ISO 8601 format (not applicable for showPaymentDetails).
- End Time Filter end date/time in ISO 8601 format (not applicable for showPaymentDetails).

Output

The output JSON contains the following structure:

  • resource: The resource type, here always "payments".
  • operation: The operation performed, here "showPaymentDetails".
  • success: Boolean indicating if the operation succeeded.
  • All fields returned by the PayPal API for the payment capture details, including but not limited to:
    • Payment status
    • Amount and currency
    • Payer information
    • Transaction timestamps
    • Related links and metadata
  • creditsUsed: Number of API credits consumed by the request (usually 1).
  • creditsRemaining: Remaining API credits available.
  • timestamp: ISO string timestamp when the response was generated.

No binary data is output by this operation.

Dependencies

  • Requires valid credentials for:
    • An API key credential for the external "N8N Tools API" service used for validation.
    • A PayPal OAuth2 API credential providing an access token and environment setting.
  • The node uses the PayPal REST API endpoints, switching URLs based on the selected environment (sandbox or live).
  • Proper configuration of these credentials in n8n is necessary for successful execution.

Troubleshooting

  • Invalid JSON in Request Body: If a request body is provided and contains invalid JSON, the node throws an error. Ensure JSON syntax correctness.
  • Validation Failure: The node first validates the requested resource and operation via the external N8N Tools API. If validation fails, it throws an error indicating validation failure.
  • Unknown Operation or Resource: If an unsupported operation or resource is specified, the node throws an error specifying the unknown operation or resource.
  • API Authentication Errors: If PayPal OAuth2 credentials are missing or invalid, requests will fail. Verify that the access token is current and credentials are correctly configured.
  • Rate Limits or Quotas: The node tracks API credits used and remaining. Exceeding quotas may cause failures; monitor usage accordingly.
  • Network or Endpoint Issues: Connectivity problems or incorrect environment selection (sandbox vs live) can cause errors. Confirm network access and environment settings.

Links and References

Discussion