Fulfillment API
  1. payment_dispute
Fulfillment API
  • order
    • /order
      GET
    • /order/{orderId}
      GET
    • Issue Refund
      POST
  • shipping_fulfillment
    • /order/{orderId}/shipping_fulfillment
      GET
    • /order/{orderId}/shipping_fulfillment
      POST
    • /order/{orderId}/shipping_fulfillment/{fulfillmentId}
      GET
  • payment_dispute
    • Get Payment Dispute Details
      GET
    • Accept Payment Dispute
      POST
    • Get Payment Dispute Activity
      GET
    • Add an Evidence File
      POST
    • Contest Payment Dispute
      POST
    • Get Payment Dispute Evidence File
      GET
    • Update evidence
      POST
    • Upload an Evidence File
      POST
    • Search Payment Dispute by Filters
      GET
  1. payment_dispute

Accept Payment Dispute

Production
https://api.ebay.com{basePath}
Production
https://api.ebay.com{basePath}
POST
/payment_dispute/{payment_dispute_id}/accept
This method is used if the seller wishes to accept a payment dispute. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the getPaymentDisputeSummaries method. The revision field in the request payload is required, and the returnAddress field should be supplied if the seller is expecting the buyer to return the item. See the Request Payload section for more information on theste fields.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.ebay.com{basePath}/payment_dispute//accept' \
--header 'Content-Type: application/json' \
--data-raw '{
    "returnAddress": {
        "addressLine1": "string",
        "addressLine2": "string",
        "city": "string",
        "country": "string",
        "county": "string",
        "fullName": "string",
        "postalCode": "string",
        "primaryPhone": {
            "countryCode": "string",
            "number": "string"
        },
        "stateOrProvince": "string"
    },
    "revision": 0
}'
Response Response Example
204 - Example 1
{}

Request

Path Params
payment_dispute_id
string 
required
This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to accept. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. This path parameter is required, and the actual identifier value is passed in right after the payment_dispute resource. See the Resource URI above.
Body Params application/json
This type is used by base request of the acceptPaymentDispute method.
returnAddress
object (ReturnAddress) 
optional
This container is used if the seller wishes to provide a return address to the buyer. This container should be used if the seller is requesting that the buyer return the item.
addressLine1
string 
optional
The first line of the street address.
addressLine2
string 
optional
The second line of the street address. This line is not always necessarily, but is often used for apartment number or suite number, or other relevant information that can not fit on the first line.
city
string 
optional
The city of the return address.
country
string 
optional
The country's two-digt, ISO 3166-1 country code. See the enumeration type for a country's value. For implementation help, refer to eBay API documentation
county
string 
optional
The county of the return address. Counties are not applicable to all countries.
fullName
string 
optional
The full name of return address owner.
postalCode
string 
optional
The postal code of the return address.
primaryPhone
object (Phone) 
optional
This container shows the seller's primary phone number associated with the return address.
stateOrProvince
string 
optional
The state or province of the return address.
revision
integer <int32>
optional
This integer value indicates the revision number of the payment dispute. This field is required. The current revision number for a payment dispute can be retrieved with the getPaymentDispute method. Each time an action is taken against a payment dispute, this integer value increases by 1.
Examples

Responses

🟢204Success
application/json
Body
object {0}
🟠400Bad Request
🟠404Not Found
🟠409Conflict
🔴500Internal Server Error
Modified at 2022-09-11 20:21:04
Previous
Get Payment Dispute Details
Next
Get Payment Dispute Activity
Built with