Actions55
- Webhooks Actions
- Payments Actions
- Products Actions
- Plans Actions
- Partner Referrals Actions
- Reporting Actions
- Orders Actions
- Subscriptions Actions
- Invoicing Actions
- Disputes Actions
Disputes → Accept Claim
AI-generatedOverview
The "Accept Claim" operation under the "Disputes" resource in this node allows users to accept liability for a PayPal dispute claim. This is part of a comprehensive PayPal integration that supports over 70 operations across various PayPal services such as orders, subscriptions, invoicing, disputes, and more.
This operation is useful in scenarios where a merchant or service provider wants to acknowledge responsibility for a dispute raised by a customer and proceed accordingly within PayPal's dispute resolution process. For example, if a buyer files a claim for an unauthorized transaction or item not received, the merchant can use this operation to accept the claim and potentially expedite resolution.
Practical examples:
- Automatically accepting claims when certain criteria are met (e.g., verified fraud).
- Integrating dispute management into a larger workflow to handle chargebacks efficiently.
- Streamlining customer service processes by programmatically managing dispute statuses.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the dispute claim to accept liability for. |
| Additional Options | Optional parameters including: |
| - Environment: Choose between "Sandbox" (testing) or "Live" (production) PayPal environment. | |
| - Page Size: Number of items per page for list operations (not directly relevant here). | |
| - Start Time: Filter start date in ISO 8601 format (not directly relevant here). | |
| - End Time: Filter end date in ISO 8601 format (not directly relevant here). |
Output
The output JSON object includes:
resource: The resource name, here always"disputes".operation: The operation performed, here"acceptClaim".success: Boolean indicating whether the operation succeeded.- Other fields returned by the PayPal API response related to the accepted claim, which may include details about the dispute status and confirmation.
creditsUsed: Number of API credits consumed by the operation (usually 1).creditsRemaining: Remaining API credits after the operation.timestamp: ISO string timestamp of when the operation was executed.
No binary data output is involved in this operation.
Dependencies
- Requires valid credentials for:
- An API key credential for the external "N8N Tools API" used for validation.
- A PayPal OAuth2 API credential providing an access token and environment info.
- The node makes HTTP requests to both the N8N Tools API and the PayPal REST API endpoints.
- The PayPal environment (sandbox or live) must be correctly configured.
- Proper API permissions on the PayPal account to manage disputes and accept claims.
Troubleshooting
- Invalid JSON in Request Body: If a request body is provided but contains invalid JSON, the node will throw an error. Ensure JSON syntax correctness.
- Unknown Operation or Resource: Selecting an unsupported operation or resource will cause an error. Verify the operation and resource names.
- API Validation Failure: If the external validation API rejects the request, check API keys, client ID, and environment settings.
- Authorization Errors: If the PayPal OAuth2 token is invalid or expired, the request will fail. Refresh or reauthenticate credentials.
- Network Issues: Connectivity problems with PayPal or the validation API will cause failures; verify network access.
- Insufficient Permissions: The PayPal account must have appropriate permissions to accept claims; otherwise, the API will reject the request.