Occasionally, something goes wrong with a customer's order. To dispute a charge, a customer can create a dispute with PayPal. PayPal merchants, partners, and external developers can use the PayPal Disputes API to manage customer disputes.
Note: In the live environment, merchants cannot create disputes but can only respond to customer-created disputes. However, merchants can create disputes in the sandbox environment. When you create an app, enable Disputes in the App feature options section.A customer can also ask his or her bank or credit card company to dispute and reverse a charge, which is known as a chargeback. For more information, see Disputes, claims, chargebacks, and bank reversals.
Important: The create, cancel, compute metrics, change reason, and validate eligibility methods are available as a limited-release solution at this time. For more information, reach out to your PayPal account manager.
Escalates the dispute, by ID, to a PayPal claim. To make this call, the stage in the dispute lifecycle must be INQUIRY
.
A successful request returns the HTTP 200 OK
status code and a JSON response body that includes a link to the dispute.
{- "note": "Escalating to PayPal claim for resolution."
}
{- "links": [
- {
- "rel": "self",
- "method": "GET",
}
]
}
Important: This method is for sandbox use only.Updates the status of a dispute, by ID, from
UNDER_REVIEW
to either:WAITING_FOR_BUYER_RESPONSE
WAITING_FOR_SELLER_RESPONSE
status
must be UNDER_REVIEW
and require-evidence
link should be available in the HATEOAS links of the show dispute details response. Specify an action
value in the JSON request body to indicate whether the status change enables the customer or merchant to submit evidence:If action is | The status updates to |
---|---|
BUYER_EVIDENCE | WAITING_FOR_BUYER_RESPONSE |
SELLER_EVIDENCE | WAITING_FOR_SELLER_RESPONSE |
A successful request returns the HTTP 200 OK
status code and a JSON response body that includes a link to the dispute.
{- "action": "BUYER_EVIDENCE"
}
{- "links": [
- {
- "rel": "self",
- "method": "GET",
}
]
}
Lists disputes with a summary set of details, which shows the dispute_id
, reason
, status
, dispute_state
, dispute_life_cycle_stage
, dispute_channel
, dispute_amount
, create_time
and update_time
fields.
To filter the disputes in the response, specify one or more optional query parameters. To limit the number of disputes in the response, specify the page_size
query parameter.
To list multiple disputes, set these query parameters in the request:
page_size=2
start_time
instead of disputed_transaction_id
start_time | string [ 20 .. 64 ] characters ^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|... Default: "Current date and time" Filters the disputes in the response by a creation date and time. The start time must be within the last 180 days. Value is in Internet date and time format. For example, |
disputed_transaction_id | string [ 1 .. 255 ] characters ^[0-9A-Z_]+$ Filters the disputes in the response by a transaction, by ID. |
page_size | integer [ 1 .. 50 ] Default: 10 Limits the number of disputes in the response to this value. |
next_page_token | string [ 1 .. 255 ] characters ^[A-Za-z0-9+\/=]+$ Default: "The first page of data" The token that describes the next page of results to fetch. The list disputes call returns this token in the HATEOAS links in the response. |
dispute_state | string [ 1 .. 2000 ] characters ^[0-9A-Z_]+$ Filters the disputes in the response by a state. Separate multiple values with a comma ( |
update_time_before | string <ppaas_date_time_v3> [ 20 .. 64 ] characters ^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|... The date and time when the dispute was last updated, in Internet date and time format. For example, |
update_time_after | string <ppaas_date_time_v3> [ 20 .. 64 ] characters ^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|... The date and time when the dispute was last updated, in Internet date and time format. For example, |
A successful request returns the HTTP 200 OK
status code and a JSON response body that lists disputes with a full or summary set of details. Default is a summary set of details, which shows the dispute_id
, reason
, status
, dispute_amount
, create_time
, and update_time
fields for each dispute.
curl -v -X GET https://api-m.sandbox.paypal.com/v1/customer/disputes?outcomes=WON,PAID_OUT \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer A101.OLQiCxMmoVwigKQQDu3CYlamZ1KTKQmhrbAZK85RIy4IiWh9d_up_Nliuq_lfZdU.P3gvkY3PO28akjKYaDorm12QdfK'
{- "items": [
- {
- "dispute_id": "PP-D-208454",
- "create_time": "2023-07-22T01:34:47.000Z",
- "update_time": "2023-07-22T02:14:29.000Z",
- "disputed_transactions": [
- {
- "buyer_transaction_id": "54M94084LL945391E",
- "buyer": {
- "payer_id": "APFXN3NMGTFEU"
}, - "seller": {
- "merchant_id": "6C6TADF69U7Q6"
}
}
], - "reason": "MERCHANDISE_OR_SERVICE_NOT_RECEIVED",
- "status": "RESOLVED",
- "dispute_state": "RESOLVED",
- "dispute_amount": {
- "currency_code": "USD",
- "value": "16.00"
}, - "outcome": "WON",
- "dispute_life_cycle_stage": "CHARGEBACK",
- "dispute_channel": "INTERNAL",
- "dispute_flow": "OTHER",
- "links": [
- {
- "rel": "self",
- "method": "GET"
}
]
}, - {
- "dispute_id": "PP-D-208420",
- "create_time": "2023-07-21T14:24:12.000Z",
- "update_time": "2023-07-21T14:29:53.000Z",
- "disputed_transactions": [
- {
- "buyer_transaction_id": "59055077FC437070A",
- "buyer": {
- "payer_id": "APFXN3NMGTFEU"
}, - "seller": {
- "merchant_id": "6C6TADF69U7Q6"
}
}
], - "reason": "MERCHANDISE_OR_SERVICE_NOT_RECEIVED",
- "status": "RESOLVED",
- "dispute_state": "RESOLVED",
- "dispute_amount": {
- "currency_code": "USD",
- "value": "12.00"
}, - "outcome": "WON",
- "dispute_life_cycle_stage": "CHARGEBACK",
- "dispute_channel": "INTERNAL",
- "dispute_flow": "OTHER",
- "links": [
- {
- "rel": "self",
- "method": "GET"
}
]
}
], - "links": [
- {
- "rel": "self",
- "method": "GET"
}, - {
- "rel": "first",
- "method": "GET"
}
]
}
Provides supporting information for a dispute, by ID. A merchant or buyer can make this request for disputes if they find the provide-supporting-info
link in the HATEOAS links in the list disputes response. The party can provide the supporting information to PayPal to defend themselves only when the dispute_life_cycle_stage
is CHARGEBACK
, PRE_ARBITRATION
, or ARBITRATION
. They can provide a note that describes their part with details or upload any supporting documents to support their side. For constraints and rules regarding documents, see documents.
To make this request, specify the dispute ID in the URI and specify the notes in the JSON request body. This method differs from the provide evidence method which supports only multipart request, where PayPal asks the concerned party for evidence.
A successful request returns the HTTP 200 OK
status code and a JSON response body that includes a link to the dispute.
curl -v -X POST https://api-m.sandbox.paypal.com/v1/customer/disputes/PP-D-27803/provide-supporting-info \ -H 'Authorization: Bearer A101.OLQiCxMmoVwigKQQDu3CYlamZ1KTKQmhrbAZK85RIy4IiWh9d_up_Nliuq_lfZdU.P3gvkY3PO28akjKYaDorm12QdfK' \ -H 'Content-Type: multipart/related; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \ -F 'input={"notes" : "Sample notes"};type=application/json'\ -F 'file1=@doc.pdf'
{- "links": [
- {
- "rel": "self",
- "method": "GET",
}
]
}
Accepts liability for a claim, by ID. When you accept liability for a claim, the dispute closes in the customer’s favor and PayPal automatically refunds money to the customer from the merchant's account. Allowed accept_claim_type values for the request is available in dispute details allowed response options object.
A successful request returns the HTTP 200 OK
status code and a JSON response body that includes a link to the dispute.
curl -v -X POST https://api-m.sandbox.paypal.com/v1/customer/disputes/PP-D-27803/accept-claim \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer A101.OLQiCxMmoVwigKQQDu3CYlamZ1KTKQmhrbAZK85RIy4IiWh9d_up_Nliuq_lfZdU.P3gvkY3PO28akjKYaDorm12QdfK' \ -d '{ "note": "full refund with item return.", "return_shipping_address": { "address_line_1": "14,Kimberly st", "address_line_2": "Open Road North", "country_code": "US", "admin_area_1": "Gotham City", "admin_area_2": "Gotham", "postal_code": "124566" }, "return_shipment_info": [ { "shipment_label": { "id": "10-006-01-001-96571189-0702-49ce-a866-faad20e29731", "name": "file1.pdf" }, "tracking_info": { "carrier_name": "FEDEX", "tracking_number": "122533485" } } ] }'
{- "links": [
- {
- "rel": "self",
- "method": "GET",
}
]
}
Sends a message about a dispute, by ID, to the other party in the dispute. Merchants and customers can only send messages if the dispute_life_cycle_stage
value is INQUIRY
. For constraints and rules regarding documents that can be attached as part of the message, see documents. To send a message, use the send-message
link in the HATEOAS links of the show dispute details response and specify the message in the JSON request body. In case the link is not present in the response you can't send a message on the dispute.
A successful request returns the HTTP 200 OK
status code and a JSON response body that includes a link to the dispute.
curl -v -X POST https://api-m.sandbox.paypal.com/v1/customer/disputes/PP-D-27803/send-message \ -H 'Authorization: Bearer A101.OLQiCxMmoVwigKQQDu3CYlamZ1KTKQmhrbAZK85RIy4IiWh9d_up_Nliuq_lfZdU.P3gvkY3PO28akjKYaDorm12QdfK' \ -H 'Content-Type: multipart/related; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \ -F 'input={"message" : "Sample message"};type=application/json'\ -F 'file1=@doc.pdf'
{- "links": [
- {
- "rel": "self",
- "method": "GET",
}
]
}
Denies an offer that the merchant proposes for a dispute, by ID.
A successful request returns the HTTP 200 OK
status code and a JSON response body that includes a link to the dispute.
{- "note": "refund offer is very low."
}
{- "links": [
- {
- "rel": "self",
- "method": "GET",
}
]
}
Shows details for a dispute, by ID.
Note: The fields that appear in the response depend on the access. For example, if the merchant requests shows dispute details, the customer's email ID does not appear.
A successful request returns the HTTP 200 OK
status code and a JSON response body that shows dispute details.
curl -v -X GET https://api-m.sandbox.paypal.com/v1/customer/disputes/PP-D-4012 \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer A101.OLQiCxMmoVwigKQQDu3CYlamZ1KTKQmhrbAZK85RIy4IiWh9d_up_Nliuq_lfZdU.P3gvkY3PO28akjKYaDorm12QdfK'
{- "dispute_id": "PP-D-4012",
- "create_time": "2019-04-11T04:18:00.000Z",
- "update_time": "2019-04-21T04:19:08.000Z",
- "disputed_transactions": [
- {
- "seller_transaction_id": "3BC38643YC807283D",
- "create_time": "2019-04-11T04:16:58.000Z",
- "transaction_status": "REVERSED",
- "gross_amount": {
- "currency_code": "USD",
- "value": "192.00"
}, - "buyer": {
- "name": "Lupe Justin"
}, - "seller": {
- "email": "merchant@example.com",
- "merchant_id": "5U29WL78XSAEL",
- "name": "Lesley Paul"
}
}
], - "reason": "MERCHANDISE_OR_SERVICE_NOT_AS_DESCRIBED",
- "status": "RESOLVED",
- "dispute_amount": {
- "currency_code": "USD",
- "value": "96.00"
}, - "dispute_outcome": {
- "outcome_code": "RESOLVED_BUYER_FAVOUR",
- "amount_refunded": {
- "currency_code": "USD",
- "value": "96.00"
}
}, - "dispute_life_cycle_stage": "CHARGEBACK",
- "dispute_channel": "INTERNAL",
- "messages": [
- {
- "posted_by": "BUYER",
- "time_posted": "2019-04-11T04:18:04.000Z",
- "content": "SNAD case created through automation",
- "documents": [
- {
- "name": "SNAD_Issue.pdf",
}
]
}
], - "extensions": {
- "merchandize_dispute_properties": {
- "issue_type": "SERVICE",
}
}, - "offer": {
- "buyer_requested_amount": {
- "currency_code": "USD",
- "value": "96.00"
}, - "offer_type": "REFUND",
- "history": [
- {
- "offer_time": "2019-04-29T07:04:54.000Z",
- "actor": "SELLER",
- "event_type": "PROPOSED",
- "offer_type": "REFUND",
- "offer_amount": {
- "currency_code": "USD",
- "value": "96.00"
}, - "notes": "Full refund offer.",
- "dispute_life_cycle_stage": "CHARGEBACK"
}
]
}, - "links": [
- {
- "rel": "self",
- "method": "GET"
}
]
}
Partially updates a dispute, by ID. Seller can update the communication_detail
value or The partner can add the partner action
information.
op required | string The operation.
| ||||||||||||||||||||||||||
path | string The JSON Pointer to the target document location at which to complete the operation. | ||||||||||||||||||||||||||
value | any (Patch Value) The value to apply. The | ||||||||||||||||||||||||||
from | string The JSON Pointer to the target document location from which to move the value. Required for the |
A successful request returns the HTTP 204 No Content
status code with no JSON response body.
[- {
- "op": "add",
- "path": "/partner_actions/-",
- "value": {
- "id": "AMX-22345",
- "name": "DENY_DISPUTE",
- "create_time": "2018-01-12T10:41:35.000Z",
- "reason": "TRANSACTION_MATCHES_BUYER_SPENDING_PATTERN",
- "status": "PENDING"
}
}
]
Provides evidence for a dispute, by ID. A merchant can provide evidence for disputes with the WAITING_FOR_SELLER_RESPONSE
status while customers can provide evidence for disputes with the WAITING_FOR_BUYER_RESPONSE
status. Evidence can be a proof of delivery or proof of refund document or notes, which can include logs. A proof of delivery document includes a tracking number while a proof of refund document includes a refund ID. For other evidence type, notes and documents can be given. Evidences requested from you can be found by checking the type of evidence for the corresponding source under the evidence section of the show dispute details response. The source will be REQUESTED_FROM_SELLER
for evidences requested from the merchant while it will be REQUESTED_FROM_BUYER
for evidences requested from the customer. For constraints and rules regarding documents, see documents.
To make this request, specify the evidence in the JSON request body and use the provide-evidence
link in the HATEOAS links of the show dispute details response. In case the link is not present in the response, you can't provide evidence for the dispute. For information about dispute reasons, see dispute reasons.
A successful request returns the HTTP 200 OK
status code and a JSON response body that includes a link to the dispute.
curl -v -X POST https://api-m.sandbox.paypal.com/v1/customers/disputes/PP-R-FJD-2239769/provide-evidence \ -H 'Authorization: Bearer A101.OLQiCxMmoVwigKQQDu3CYlamZ1KTKQmhrbAZK85RIy4IiWh9d_up_Nliuq_lfZdU.P3gvkY3PO28akjKYaDorm12QdfK' \ -H 'Content-Type: multipart/related' \ -F 'input={"evidences":[{"item_id":"Item1000","evidence_type":"PROOF_OF_FULFILLMENT","evidence_info":{"tracking_info":[{"carrier_name":"FEDEX","tracking_number":"678765432", "tracking_url": "https://www.trackerexample.com/track/YDH0004TEST538AZ", "tracking_status": "DELIVERED"},{"carrier_name":"UPS","tracking_number":"98765432", "tracking_url": "https://www.trackerexample.com/track/TEST538AZ", "tracking_status": "IN_TRANSIT"}]},"notes":"Test"},{"item_id":"Item2000","evidence_type":"PROOF_OF_REFUND","evidence_info":{"refund_ids":["5WG70110TE909641H"]},"notes":"Test"},{"item_id":"Item3000","evidence_type":"OTHER","notes":"Test OTHER"},{"item_id":"Item4000","evidence_type":"POLICE_REPORT","notes":"Test POLICE_REPORT"}]};type=application/json'
{- "links": [
- {
- "rel": "self",
- "method": "GET",
}
]
}
Important: This method is for sandbox use only.Settles a dispute in either the customer's or merchant's favor. Merchants can make this call in the sandbox to complete end-to-end dispute resolution testing, which mimics the dispute resolution that PayPal agents normally complete. To make this call, the dispute
status
must be UNDER_REVIEW
and adjudicate
link should be available in the HATEOAS links of the show dispute details response.adjudication_outcome required | string [ 1 .. 255 ] characters ^[0-9A-Z_]+$ The outcome of the adjudication.
|
A successful request returns the HTTP 200 OK
status code and a JSON response body that includes a link to the dispute.
{- "adjudication_outcome": "BUYER_FAVOR"
}
{- "links": [
- {
- "rel": "self",
- "method": "GET",
}
]
}
Makes an offer to the other party to resolve a dispute, by ID. To make this call, the stage in the dispute lifecycle must be INQUIRY
. If the customer accepts the offer, PayPal automatically makes a refund. Allowed offer_type values for the request is available in dispute details allowed response options object.
note required | string [ 1 .. 2000 ] characters ^(.|\r?\n)*$ The merchant's notes about the offer. | ||||||||||
invoice_id | string [ 1 .. 127 ] characters ^.*$ The merchant-provided ID of the invoice for the refund. This optional value maps the refund to an invoice ID in the merchant's system. | ||||||||||
object (Money) The amount proposed to resolve the dispute. | |||||||||||
object (Portable Postal Address (Medium-Grained)) The return address for the item. Required when the customer must return an item to the merchant for the | |||||||||||
offer_type required | string (offer_type) [ 1 .. 255 ] characters ^[0-9A-Z_]+$ The merchant-proposed offer type for the dispute.
|
A successful request returns the HTTP 200 OK
status code and a JSON response body that includes a link to the dispute.
{- "note": "Offer refund with replacement item.",
- "offer_type": "REFUND_WITH_REPLACEMENT",
- "offer_amount": {
- "currency_code": "USD",
- "value": "23"
}
}
{- "links": [
- {
- "rel": "self",
- "method": "GET",
}
]
}
Appeals a dispute, by ID. To appeal a dispute, use the appeal
link in the HATEOAS links from the show dispute details response. If this link does not appear, you cannot appeal the dispute. Submit new evidence as a document or notes in the JSON request body. For constraints and rules regarding documents, see documents.
To make this request, specify the dispute ID in the URI and specify the evidence in the JSON request body. For information about dispute reasons, see dispute reasons.
A successful request returns the HTTP 200 OK
status code and a JSON response body that includes a link to the dispute.
curl -v -X POST https://api-m.sandbox.paypal.com/v1/customer/disputes/PP-D-27803/appeal \ -H 'Content-Type: multipart/related' \ -H 'Authorization: Bearer A101.OLQiCxMmoVwigKQQDu3CYlamZ1KTKQmhrbAZK85RIy4IiWh9d_up_Nliuq_lfZdU.P3gvkY3PO28akjKYaDorm12QdfK' \ -F 'input={"evidences":[{"evidence_type":"PROOF_OF_FULFILLMENT","evidence_info":{"tracking_info":[{"carrier_name":"FEDEX","tracking_number":"122533485"}]},"notes":"Test"}]};type=application/json'\ -F 'file1=@NewDoc.pdf'
{- "links": [
- {
- "rel": "self",
- "method": "GET",
}
]
}
Acknowledges that the customer returned an item for a dispute, by ID. A merchant can make this request for disputes with the MERCHANDISE_OR_SERVICE_NOT_AS_DESCRIBED
reason. Allowed acknowledgement_type values for the request is available in dispute details allowed response options object. For constraints and rules regarding documents, see documents.
A successful request returns the HTTP 200 OK
status code and a JSON response body that includes a link to the dispute.
curl -v -X POST https://api-m.sandbox.paypal.com/v1/customer/disputes/PP-000-000-651-454/acknowledge-return-item \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer A101.OLQiCxMmoVwigKQQDu3CYlamZ1KTKQmhrbAZK85RIy4IiWh9d_up_Nliuq_lfZdU.P3gvkY3PO28akjKYaDorm12QdfK' \ -d '{ "note": "I have received the item back.", "acknowledgement_type": "ITEM_RECEIVED" }'
{- "links": [
- {
- "rel": "self",
- "method": "GET",
}
]
}
The customer accepts the offer from merchant to resolve a dispute, by ID. PayPal automatically refunds the amount proposed by merchant to the customer.
A successfully accepted request returns the HTTP 202 Accepted
status code and a JSON response body that includes a HATEOAS link to the ID of the request. The request returns 202 Accepted
status in case money movement for the offer is delayed due to some internal reasons.
{- "note": "I am ok with the refund offered."
}
{- "links": [
- {
- "rel": "self",
- "method": "GET"
}
]
}
Message:
This action is not allowed for this dispute ID. For the allowed actions, see the HATEOAS link in show dispute details.
Description: You cannot complete this action for this dispute ID.
Message:
For MERCHANDISE_OR_SERVICE_NOT_RECEIVED
disputes, refund amount cannot be specified in accept claim as this feature is not yet supported in PayPal Dispute system.
Description: You cannot specify the refund amount in an accept claim call.
Message:
Authorization error occurred.
Description: An authorization error occurred. Check your credentials.
Message:
The start_time
is incorrect. The start_time
must be earlier than the current date and time stamp.
Description: The specified start time is in the future.
Message:
This dispute reason is not allowed for this transaction. To review the allowed reasons for this transaction, call validate transaction eligibility. Then, retry with one of the allowed reasons.
Description: The specified dispute reason is not valid.
Message:
This action is not allowed for this dispute ID.
Description: You cannot specify the refund funding instrument preference, As this option not present in allowed_action_options.
Message:
You have insufficient funds in your account to accept a claim for this dispute. Add the appropriate balance to your PayPal account before you accept a claim for this case.
Description: Your account has insufficient funds for this claim.
Message:
Return shipping address cannot be specified in accept claim for intangible item related disputes as this applies only for tangible item related transactions.
Description: You cannot specify the shipping address in an accept claim call for intangible item-related disputes.
Message:
An internal service error has occurred.
Description: Resend the request at another time.
Message:
The evidence file is not valid. The user can upload up to 50 MB of files for a case. Individual files must be smaller than 10 MB. The supported file formats are JPG, GIF, PNG, and PDF. Correct and retry the request.
Description: The evidence file is not valid.
Message:
The PROOF_OF_FULFILLMENT
evidence type is not a valid evidence type for this dispute reason and status. Retry the request with a different evidence type.
Description: This evidence type is not valid for this dispute reason and status.
Message:
The page_size
is outside the allowed range. A valid page_size
is from 1 to 50. Retry the request.
Description: The page size is outside the allowed range.
Message:
The format specified for the return shipping address is not valid. Correct the format and retry. See accept claim.
Description: The shipping address format is not valid.
Message:
The start_time
is not in the correct date and time format. The start_time
must be in Internet date and time format. For example, yyyy
-MM
-dd
T
HH
:mm
:ss
.SSS
Z
. Retry the request with the correct date and time format.
Description: The start time is not in the correct date and time format.
Message:
The start_time
is outside the allowed range. The start_time
must be within the last 180 days. Retry the request with a valid start_time
.
Description: The start time is outside the allowed range.
Message:
An item ID is required for this dispute. Provide an item ID for each evidence document. For details, see provide evidence.
Description: An item ID is required.
Message:
When you create a dispute, a buyer_transaction_id
is required but it is missing. Retry with a valid buyer_transaction_id
.
Description: The customer transaction ID, or buyer_transaction_id
, is missing.
Message:
The evidence information is required but it is missing for this dispute. Retry the request with valid evidence information. For details, see provide evidence.
Description: The evidence information is missing.
Message:
The evidence type is required but it is missing for this dispute. Retry the request with a valid evidence type. For details, see provide evidence.
Description: The evidence type is missing.
Message:
To add or update a reason code, you must provide a reason code but it is missing. Retry the request with a valid reason code.
Description: A reason code is missing.
Message:
For PROOF_OF_REFUND
, at least one refund ID is required but it is missing. Retry the request with a valid refund ID. For information, For details, see provide evidence.
Description: A refund ID is missing. You specify PROOF_OF_REFUND
in the evidence_type
parameter of a provide evidence call.
Message:
For MERCHANDISE_OR_SERVICE_NOT_RECEIVED
cases, return shipping address cannot be specified in accept claim as this applies only for MERCHANDISE_OR_SERVICE_NOT_AS_DESCRIBED
disputes.
Description: You cannot specify the return shipping address in an accept claim call because the shipping address applies to only MERCHANDISE_OR_SERVICE_NOT_AS_DESCRIBED
disputes.
Message:
For PROOF_OF_FULFILLMENT
, the tracking number and carrier name are required but they are missing. Retry the request. For information, see response_tracking_info
.
Description: The tracking number and carrier name are missing. You specify PROOF_OF_FULFILLMENT
in the evidence_type
parameter of a provide evidence call.
Message:
You do not have the correct permission for the requested operation.
Description: You do not have the correct permissions to make this request.
Message:
This action is not allowed for this dispute ID.
Description: You cannot specify the provisional credit preference, As this option not present in allowed_action_options.
Message:
The refund has been declined by compliance scanning.
Description: Refund declined by Compliance Scanning.
Message:
Invalid request - see details.
Description: You should not provide preference for funding instrument and provisional credit in same request. Any one preference should be passed per request based on allowed_action_options.
Message:
Resource not found.
Description: The requested resource is not found in the system.
Message:
If seller proposed offer is less than buyer requested refund amount, shipping address must be specified for MERCHANDISE_OR_SERVICE_NOT_AS_DESCRIBED
disputes. PayPal may use this in case buyer denies the offer and requests buyer to return the item to resolve the dispute.
Description: You must specify the shipping address for MERCHANDISE_OR_SERVICE_NOT_AS_DESCRIBED
disputes.
Message:
Invalid request - see details.
Description: One or more validation errors occurred. See the details for specific validation errors.
The refund type proposed by the merchant for the dispute.
The refund type proposed by the merchant for the dispute.
Enum: | Description |
---|---|
REFUND | The merchant must refund the customer without any item replacement or return. This type is applicable when a merchant is willing to refund the entire dispute amount without any further action from customer. Omit the |
REFUND_WITH_RETURN | The customer must return the item to the merchant and then merchant will refund the money. This type is applicable when a merchant is willing to refund the dispute amount and requires the customer to return the item. Include the |
PARTIAL_REFUND | The merchant proposes a partial refund for the dispute.This type is applicable when a merchant is willing to refund an amount lesser than dispute amount. Include the |
REFUND_WITH_RETURN_SHIPMENT_LABEL | The customer must return the item to the merchant and then merchant will refund the money. This type is applicable when a merchant is willing to refund the dispute amount and requires the customer to return the item using the shipment label provided by the merchant. Include the |
"REFUND"
A request by a merchant to accept a customer's merchandise claim.
note required | string [ 1 .. 2000 ] characters ^(.|\r?\n)*$ The merchant's notes about the claim. PayPal can, but the customer cannot, view these notes. | ||||||||||||||
accept_claim_reason | string (accept_claim_reason) [ 1 .. 255 ] characters ^[0-9A-Z_]+$ The merchant's reason for acceptance of the customer's claim.
| ||||||||||||||
invoice_id | string [ 1 .. 127 ] characters ^.*$ The merchant-provided ID of the invoice for the refund. This optional value is used to map the refund to an invoice ID in the merchant's system. | ||||||||||||||
Array of objects (response_shipment_info) [ 1 .. 100 ] items An array of relevant shipment information for the items. | |||||||||||||||
object (Portable Postal Address (Medium-Grained)) The return address for the item. | |||||||||||||||
object (Money) To accept a customer's claim, the amount that the merchant agrees to refund the customer. The subsequent action depends on the amount:
| |||||||||||||||
accept_claim_type | string (Accept Claim Type) [ 1 .. 255 ] characters ^[0-9A-Z_]+$ The refund type proposed by the merchant for the dispute.
|
{- "note": "string",
- "accept_claim_reason": "DID_NOT_SHIP_ITEM",
- "invoice_id": "string",
- "return_shipment_info": [
- {
- "tracking_info": {
- "carrier_name": "UPS",
- "carrier_name_other": "string",
- "tracking_number": "string"
}
}
], - "return_shipping_address": {
- "address_line_1": "string",
- "address_line_2": "string",
- "address_line_3": "string",
- "admin_area_4": "string",
- "admin_area_3": "string",
- "admin_area_2": "string",
- "admin_area_1": "string",
- "postal_code": "string",
- "country_code": "st",
- "address_details": {
- "street_number": "string",
- "street_name": "string",
- "street_type": "string",
- "delivery_service": "string",
- "building_name": "string",
- "sub_building": "string"
}
}, - "refund_amount": {
- "currency_code": "str",
- "value": "string"
}, - "accept_claim_type": "REFUND"
}
The allowed response options when the merchant is accepting the claim.
accept_claim_types | Array of strings (Accept Claim Type) [ 1 .. 10 ] items The types of refund the merchant can provide the customer.
|
{- "accept_claim_types": [
- "REFUND"
]
}
The merchant's reason for acceptance of the customer's claim.
The merchant's reason for acceptance of the customer's claim.
Enum: | Description |
---|---|
DID_NOT_SHIP_ITEM | Merchant is accepting customer's claim as they could not ship the item back to the customer |
TOO_TIME_CONSUMING | Merchant is accepting customer's claim as it is taking too long for merchant to fulfil the order |
LOST_IN_MAIL | Merchant is accepting customer's claim as the item is lost in mail or transit |
NOT_ABLE_TO_WIN | Merchant is accepting customer's claim as the merchant is not able to find sufficient evidence to win this dispute |
COMPANY_POLICY | Merchant is accepting customer’s claims to follow their internal company policy |
REASON_NOT_SET | This is the default value merchant can use if none of the above reasons apply |
"DID_NOT_SHIP_ITEM"
A customer request to accept the offer made by the merchant.
note | string [ 1 .. 2000 ] characters ^(.|\r?\n)*$ The customer notes about accepting of offer. PayPal can but the merchant cannot view these notes. |
{- "note": "string"
}
A merchant request to acknowledge receipt of the disputed item that the customer returned.
note | string [ 1 .. 2000 ] characters ^(.|\r?\n)*$ The merchant provided notes. PayPal can but the consumer cannot view these notes. | ||||||||||||
Array of objects (acknowledge_return_item_evidence) [ 1 .. 100 ] items An array of evidence documents. | |||||||||||||
acknowledgement_type | string (acknowledgement_type) [ 1 .. 255 ] characters ^[0-9A-Z_]+$ The type of acknowledgement given by the merchant.
|
{- "note": "string",
- "evidences": [
], - "acknowledgement_type": "ITEM_RECEIVED"
}
The allowed response options when the seller acknowledges that the buyer has returned an item for the dispute.
acknowledgement_types | Array of strings (acknowledgement_type) [ 1 .. 10 ] items The types of response when the merchant acknowledges a returned item.
|
{- "acknowledgement_types": [
- "ITEM_RECEIVED"
]
}
An evidence submitted by the merchant when acknowledging a returned item.
evidence_type | string [ 1 .. 255 ] characters ^[0-9A-Z_]+$ The evidence type.
| ||||||||||||||
required | Array of objects (document) [ 1 .. 100 ] items An array of evidence documents. |
{- "evidence_type": "PROOF_OF_DAMAGE",
}
The type of acknowledgement allowed for the merchant after the customer has returned the item. The merchant can update whether the item was received and is as expected or if the item was not received.
The type of acknowledgement allowed for the merchant after the customer has returned the item. The merchant can update whether the item was received and is as expected or if the item was not received.
Enum: | Description |
---|---|
ITEM_RECEIVED | The merchant has received the item returned by the customer. |
ITEM_NOT_RECEIVED | The merchant has not received the item. |
DAMAGED | The items returned by the customer were damaged. |
EMPTY_PACKAGE_OR_DIFFERENT | The package was empty or the goods were different from what was expected. |
MISSING_ITEMS | The package did not have all the items that were expected. |
"ITEM_RECEIVED"
The extended properties for a evidence. Includes additional information such as the action for which the evidence was requested/submitted, and whether the evidence is mandatory.
action | string [ 1 .. 255 ] characters ^[A-Z_]+$ The action for which the evidence was requested or submitted.
| ||||||||||||||||
response_option | string [ 1 .. 255 ] characters ^[A-Z_]+$ The response option for the corresponding action. Possible values: . | ||||||||||||||||
mandatory | boolean Indicates whether the evidence is mandatory for the corresponding action and response option. |
{- "action": "ACKNOWLEDGE_RETURN_ITEM",
- "response_option": "string",
- "mandatory": true
}
A request to settle a dispute in either the customer's or merchant's favor.
adjudication_outcome required | string [ 1 .. 255 ] characters ^[0-9A-Z_]+$ The outcome of the adjudication.
|
{- "adjudication_outcome": "BUYER_FAVOR"
}
The Adjudication details for the dispute.
type required | string (adjudication_type) [ 1 .. 255 ] characters ^[0-9A-Z_]+$ The type of adjudication.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
adjudication_time required | string <ppaas_date_time_v3> (date_time) [ 20 .. 64 ] characters ^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|... The date and time when the adjudication was done, in Internet date and time format. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reason | string (adjudication_reason) [ 1 .. 255 ] characters ^[0-9A-Z_]+$ The reason for the adjudication type.
|