openapi: 3.0.0 info: title: eBay Account Advertising_eligibility Payment_dispute API description: The Account API gives sellers the ability to configure their eBay seller accounts, including the seller's policies (eBay business policies and seller-defined custom policies), opt in and out of eBay seller programs, configure sales tax tables, and get account information.

For details on the availability of the methods in this API, see Account API requirements and restrictions. contact: name: eBay Inc, license: name: eBay API License Agreement url: https://go.developer.ebay.com/api-license-agreement version: v1.9.2 servers: - url: https://api.ebay.com{basePath} description: Production variables: basePath: default: /sell/account/v1 tags: - name: Payment_dispute paths: /payment_dispute/{payment_dispute_id}: servers: - url: https://apiz.ebay.com{basePath} description: Production variables: basePath: default: /sell/fulfillment/v1 get: tags: - Payment_dispute summary: eBay Get Payment Dispute Details description: This method retrieves detailed information on a specific payment dispute. The payment dispute identifier is passed in as path parameter at the end of the call URI.

Below is a summary of the information that is retrieved: operationId: getPaymentDispute parameters: - name: payment_dispute_id in: path description: This parameter is used to specify the unique identifier of the payment dispute being retrieved.

Use the getPaymentDisputeSummaries method to retrieve payment dispute IDs. required: true schema: type: string responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/PaymentDispute' '400': description: Bad Request '404': description: Invalid Payment Dispute Id x-response-codes: errors: '33001': domain: API_FULFILLMENT category: REQUEST description: Invalid Payment Dispute Id '500': description: Internal Server Error x-response-codes: errors: '33000': domain: API_FULFILLMENT category: APPLICATION description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.payment.dispute /payment_dispute/{payment_dispute_id}/fetch_evidence_content: servers: - url: https://apiz.ebay.com{basePath} description: Production variables: basePath: default: /sell/fulfillment/v1 get: tags: - Payment_dispute summary: eBay Get Payment Dispute Evidence File description: 'This call retrieves a specific evidence file for a payment dispute. The following three identifying parameters are needed in the call URI:

An actual binary file is returned if the call is successful. An error will occur if any of three identifiers are invalid.

' operationId: fetchEvidenceContent parameters: - name: payment_dispute_id in: path description: This path parameter is used to specify the unique identifier of the payment dispute associated with the evidence file being retrieved.

Use the getPaymentDisputeSummaries method to retrieve payment dispute IDs. required: true schema: type: string - name: evidence_id in: query description: This query parameter is used to specify the unique identifier of the evidential file set.

The identifier of an evidential file set for a payment dispute is returned under the evidence array in the getPaymentDispute response. required: true schema: type: string - name: file_id in: query description: This query parameter is used to specify the unique identifier of an evidential file. This file must belong to the evidential file set identified through the evidence_id query parameter.

The identifier of each evidential file is returned under the evidence.files array in the getPaymentDispute response. required: true schema: type: string responses: '200': description: Success content: application/octet-stream: schema: type: array items: type: string '400': description: Bad Request x-response-codes: errors: '33002': domain: API_FULFILLMENT category: REQUEST description: Invalid Evidence Id '33003': domain: API_FULFILLMENT category: REQUEST description: Invalid Evidence File Id '404': description: Invalid Payment Dispute Id x-response-codes: errors: '33001': domain: API_FULFILLMENT category: REQUEST description: Invalid Payment Dispute Id '500': description: Internal Server Error x-response-codes: errors: '33000': domain: API_FULFILLMENT category: APPLICATION description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.payment.dispute /payment_dispute/{payment_dispute_id}/activity: servers: - url: https://apiz.ebay.com{basePath} description: Production variables: basePath: default: /sell/fulfillment/v1 get: tags: - Payment_dispute summary: eBay Get Payment Dispute Activity description: This method retrieve a log of activity for a payment dispute. The identifier of the payment dispute is passed in as a path parameter. The output includes a timestamp for each action of the payment dispute, from creation to resolution, and all steps in between. operationId: getActivities parameters: - name: payment_dispute_id in: path description: This parameter is used to specify the unique identifier of the payment dispute associated with the activity log being retrieved.

Use the getPaymentDisputeSummaries method to retrieve payment dispute IDs. required: true schema: type: string responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/PaymentDisputeActivityHistory' '400': description: Bad Request '404': description: Invalid Payment Dispute Id x-response-codes: errors: '33001': domain: API_FULFILLMENT category: REQUEST description: Invalid Payment Dispute Id '500': description: Internal Server Error x-response-codes: errors: '33000': domain: API_FULFILLMENT category: APPLICATION description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.payment.dispute /payment_dispute_summary: servers: - url: https://apiz.ebay.com{basePath} description: Production variables: basePath: default: /sell/fulfillment/v1 get: tags: - Payment_dispute summary: eBay Search Payment Dispute by Filters description: This method is used retrieve one or more payment disputes filed against the seller. These payment disputes can be open or recently closed. The following filter types are available in the request payload to control the payment disputes that are returned:More than one of these filter types can be used together. See the request payload request fields for more information about how each filter is used.

If none of the filters are used, all open and recently closed payment disputes are returned.

Pagination is also available. See the limit and offset fields for more information on how pagination is used for this method. operationId: getPaymentDisputeSummaries parameters: - name: order_id in: query description: This filter is used if the seller wishes to retrieve one or more payment disputes filed against a specific order. It is possible that there can be more than one dispute filed against an order if the order has multiple line items. If this filter is used, any other filters are ignored.

Use the getOrders method to retrieve order IDs. Order ID values are also shown in My eBay/Seller Hub. required: false schema: type: string - name: buyer_username in: query description: This filter is used if the seller wishes to retrieve one or more payment disputes opened by a specific buyer. The string that is passed in to this query parameter is the eBay user ID of the buyer. required: false schema: type: string - name: open_date_from in: query description: 'The open_date_from and/or open_date_to date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range. A maximum date range that may be set with the open_date_from and/or open_date_to filters is 90 days. These date filters use the ISO-8601 24-hour date and time format, and time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu.

The open_date_from field sets the beginning date of the date range, and can be set as far back as 18 months from the present time. If a open_date_from field is used, but a open_date_to field is not used, the open_date_to value will default to 90 days after the date specified in the open_date_from field, or to the present time if less than 90 days in the past.

The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' required: false schema: type: string - name: open_date_to in: query description: 'The open_date_from and/or open_date_to date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range. A maximum date range that may be set with the open_date_from and/or open_date_to filters is 90 days. These date filters use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu.

The open_date_to field sets the ending date of the date range, and can be set up to 90 days from the date set in the open_date_from field.

The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' required: false schema: type: string - name: payment_dispute_status in: query description: This filter is used if the seller wishes to only retrieve payment disputes in one or more specific states. To filter by more than one status value, a separate payment_dispute_status filter must be used for each value, as shown below:

https://apiz.ebay.com/sell/fulfillment/v1/payment_dispute_summary?payment_dispute_status=OPEN&payment_dispute_status=ACTION_NEEDED

If no payment_dispute_status filter is used, payment disputes in all states are returned in the response.

See DisputeStatusEnum type for supported values. required: false schema: type: string - name: limit in: query description: 'The value passed in this query parameter sets the maximum number of payment disputes to return per page of data. The value passed in this field should be an integer from 1 to 200. If this query parameter is not set, up to 200 records will be returned on each page of results.

Min: 1

Max: 200

Default: 200' required: false schema: type: string - name: offset in: query description: 'This field is used to specify the number of records to skip in the result set before returning the first payment dispute in the paginated response. A zero-based index is used, so if you set the offset value to 0 (default value), the first payment dispute in the result set appears at the top of the response.

Combine offset with the limit parameter to control the payment disputes returned in the response. For example, if you supply an offset value of 0 and a limit value of 10, the response will contain the first 10 payment disputes from the result set that matches the input criteria. If you supply an offset value of 10 and a limit value of 20, the response will contain payment disputes 11-30 from the result set that matches the input criteria.

Min: 0

Default: 0' required: false schema: type: string responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DisputeSummaryResponse' '400': description: Bad Request x-response-codes: errors: '33001': domain: API_FULFILLMENT category: REQUEST description: Invalid input request '500': description: Internal Server Error x-response-codes: errors: '33000': domain: API_FULFILLMENT category: APPLICATION description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.payment.dispute /payment_dispute/{payment_dispute_id}/contest: servers: - url: https://apiz.ebay.com{basePath} description: Production variables: basePath: default: /sell/fulfillment/v1 post: tags: - Payment_dispute summary: eBay Contest Payment Dispute description: This method is used if the seller wishes to contest a payment dispute initiated by the buyer. 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.

Note: Before contesting a payment dispute, the seller must upload all supporting files using the addEvidence and updateEvidence methods. Once the seller has officially contested the dispute (using contestPaymentDispute), the addEvidence and updateEvidence methods can no longer be used. In the evidenceRequests array of the getPaymentDispute response, eBay prompts the seller with the type of supporting file(s) that will be needed to contest the payment dispute.

If a seller decides to contest a payment dispute, that seller should be prepared to provide supporting documents such as proof of delivery, proof of authentication, or other documents. The type of supporting documents that the seller will provide will depend on why the buyer filed the payment dispute.

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 these fields. operationId: contestPaymentDispute parameters: - name: payment_dispute_id in: path description: This parameter is used to specify the unique identifier of the payment dispute being contested.

Use the getPaymentDisputeSummaries method to retrieve payment dispute IDs. required: true schema: type: string - name: Content-Type in: header description: This header indicates the format of the request body provided by the client. Its value should be set to application/json.

For more information, refer to HTTP request headers. required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/ContestPaymentDisputeRequest' required: false responses: '204': description: Success '400': description: Bad Request x-response-codes: errors: '33100': domain: API_FULFILLMENT category: REQUEST description: Invalid input request '404': description: Not Found '409': description: Conflict x-response-codes: errors: '33011': domain: API_FULFILLMENT category: REQUEST description: There was a change in payment dispute attributes. Please use get payment dispute api to get latest details. '33101': domain: API_FULFILLMENT category: REQUEST description: Invalid payment dispute state '33102': domain: API_FULFILLMENT category: REQUEST description: No evidence available for contest '500': description: Internal Server Error x-response-codes: errors: '33000': domain: API_FULFILLMENT category: APPLICATION description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.payment.dispute /payment_dispute/{payment_dispute_id}/accept: servers: - url: https://apiz.ebay.com{basePath} description: Production variables: basePath: default: /sell/fulfillment/v1 post: tags: - Payment_dispute summary: eBay Accept Payment Dispute description: 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. operationId: acceptPaymentDispute parameters: - name: payment_dispute_id in: path description: This parameter is used to specify the unique identifier of the payment dispute being accepted.

Use the getPaymentDisputeSummaries method to retrieve payment dispute IDs. required: true schema: type: string - name: Content-Type in: header description: This header indicates the format of the request body provided by the client. Its value should be set to application/json.

For more information, refer to HTTP request headers. required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/AcceptPaymentDisputeRequest' required: false responses: '204': description: Success '400': description: Bad Request x-response-codes: errors: '33100': domain: API_FULFILLMENT category: REQUEST description: Invalid input request '404': description: Not Found '409': description: Conflict x-response-codes: errors: '33011': domain: API_FULFILLMENT category: REQUEST description: There was a change in payment dispute attributes. Please use get payment dispute api to get latest details. '500': description: Internal Server Error x-response-codes: errors: '33000': domain: API_FULFILLMENT category: APPLICATION description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.payment.dispute /payment_dispute/{payment_dispute_id}/upload_evidence_file: servers: - url: https://apiz.ebay.com{basePath} description: Production variables: basePath: default: /sell/fulfillment/v1 post: tags: - Payment_dispute summary: eBay Upload an Evidence File description: This method is used to upload an evidence file for a contested 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.

Note: The uploadEvidenceFile only uploads an encrypted, binary image file (using multipart/form-data HTTP request header), and does not have a JSON-based request payload.

Use 'file' as the name of the key that you use to upload the image file. The upload will not be successful if a different key name is used.

The three image formats supported at this time are .JPEG, .JPG, and .PNG.


After the file is successfully uploaded, the seller will need to grab the fileId value in the response payload to add this file to a new evidence set using the addEvidence method, or to add this file to an existing evidence set using the updateEvidence method. operationId: uploadEvidenceFile parameters: - name: payment_dispute_id in: path description: This parameter is used to specify the unique identifier of the contested payment dispute for which the user intends to upload an evidence file.

Use the getPaymentDisputeSummaries method to retrieve payment dispute IDs. required: true schema: type: string - name: Content-Type in: header description: This header indicates the format of the request body provided by the client. Its value should be set to multipart/form-data.

For more information, refer to HTTP request headers. required: true schema: type: string responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/FileEvidence' '400': description: Bad Request x-response-codes: errors: '33005': domain: API_FULFILLMENT category: REQUEST description: File type is invalid. '33006': domain: API_FULFILLMENT category: REQUEST description: File size should be 1.5 MB or less. '33106': domain: API_FULFILLMENT category: REQUEST description: The file name should not be empty and should not exceed 255 characters. '33107': domain: API_FULFILLMENT category: REQUEST description: Only one file can be uploaded per request. '404': description: Not Found x-response-codes: errors: '33001': domain: API_FULFILLMENT category: REQUEST description: Invalid Payment Dispute Id '409': description: Conflict x-response-codes: errors: '33004': domain: API_FULFILLMENT category: REQUEST description: Upload file for evidence is not permitted for given payment dispute state. '33105': domain: API_FULFILLMENT category: REQUEST description: You reached the maximum number of files you can upload. '500': description: Internal Server Error x-response-codes: errors: '33000': domain: API_FULFILLMENT category: APPLICATION description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.payment.dispute /payment_dispute/{payment_dispute_id}/add_evidence: servers: - url: https://apiz.ebay.com{basePath} description: Production variables: basePath: default: /sell/fulfillment/v1 post: tags: - Payment_dispute summary: eBay Add an Evidence File description: This method is used by the seller to add one or more evidence files to address a payment dispute initiated by the buyer. 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.

Note: All evidence files should be uploaded using addEvidence and updateEvidence before the seller decides to contest the payment dispute. Once the seller has officially contested the dispute (using contestPaymentDispute or through My eBay), the addEvidence and updateEvidence methods can no longer be used. In the evidenceRequests array of the getPaymentDispute response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute.

The file(s) to add are identified through the files array in the request payload. Adding one or more new evidence files for a payment dispute triggers the creation of an evidence file, and the unique identifier for the new evidence file is automatically generated and returned in the evidenceId field of the addEvidence response payload upon a successful call.

The type of evidence being added should be specified in the evidenceType field. All files being added (if more than one) should correspond to this evidence type.

Upon a successful call, an evidenceId value is returned in the response. This indicates that a new evidence set has been created for the payment dispute, and this evidence set includes the evidence file(s) that were passed in to the fileId array. The evidenceId value will be needed if the seller wishes to add to the evidence set by using the updateEvidence method, or if they want to retrieve a specific evidence file within the evidence set by using the fetchEvidenceContent method. operationId: addEvidence parameters: - name: payment_dispute_id in: path description: This parameter is used to specify the unique identifier of the contested payment dispute for which the seller wishes to add evidence files.

Use the getPaymentDisputeSummaries method to retrieve payment dispute IDs. required: true schema: type: string - name: Content-Type in: header description: This header indicates the format of the request body provided by the client. Its value should be set to application/json.

For more information, refer to HTTP request headers. required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/AddEvidencePaymentDisputeRequest' required: false responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/AddEvidencePaymentDisputeResponse' '400': description: Bad Request x-response-codes: errors: '33003': domain: API_FULFILLMENT category: REQUEST description: Invalid Evidence File Id '33007': domain: API_FULFILLMENT category: REQUEST description: Invalid line items. '33008': domain: API_FULFILLMENT category: REQUEST description: Invalid evidence type. '33009': domain: API_FULFILLMENT category: REQUEST description: User did not echo back the evidence metadata correctly. '33100': domain: API_FULFILLMENT category: REQUEST description: Invalid input request '33103': domain: API_FULFILLMENT category: REQUEST description: Exceed allowed file count '33104': domain: API_FULFILLMENT category: REQUEST description: The combined size of attached files should be 1.5MB or less. '404': description: Not Found x-response-codes: errors: '33001': domain: API_FULFILLMENT category: REQUEST description: Invalid Payment Dispute Id '409': description: Conflict x-response-codes: errors: '33004': domain: API_FULFILLMENT category: REQUEST description: Upload file for evidence is not permitted for given payment dispute state. '500': description: Internal Server Error x-response-codes: errors: '33000': domain: API_FULFILLMENT category: APPLICATION description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.payment.dispute /payment_dispute/{payment_dispute_id}/update_evidence: servers: - url: https://apiz.ebay.com{basePath} description: Production variables: basePath: default: /sell/fulfillment/v1 post: tags: - Payment_dispute summary: eBay Update evidence description: This method is used by the seller to update an existing evidence set for a payment dispute with one or more evidence files. 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.

Note: All evidence files should be uploaded using addEvidence and updateEvidence before the seller decides to contest the payment dispute. Once the seller has officially contested the dispute (using contestPaymentDispute or through My eBay), the addEvidence and updateEvidence methods can no longer be used. In the evidenceRequests array of the getPaymentDispute response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute.

The unique identifier of the evidence set to update is specified through the evidenceId field, and the file(s) to add are identified through the files array in the request payload. The unique identifier for an evidence file is automatically generated and returned in the fileId field of the uploadEvidence response payload upon a successful call. Sellers must make sure to capture the fileId value for each evidence file that is uploaded with the uploadEvidence method.

The type of evidence being added should be specified in the evidenceType field. All files being added (if more than one) should correspond to this evidence type.

Upon a successful call, an http status code of 204 Success is returned. There is no response payload unless an error occurs. To verify that a new file is a part of the evidence set, the seller can use the fetchEvidenceContent method, passing in the proper evidenceId and fileId values. operationId: updateEvidence parameters: - name: payment_dispute_id in: path description: This parameter is used to specify the unique identifier of the contested payment dispute for which the user plans to update the evidence set.

Use the getPaymentDisputeSummaries method to retrieve payment dispute IDs. required: true schema: type: string - name: Content-Type in: header description: This header indicates the format of the request body provided by the client. Its value should be set to application/json.

For more information, refer to HTTP request headers. required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/UpdateEvidencePaymentDisputeRequest' required: false responses: '204': description: Success '400': description: Bad Request x-response-codes: errors: '33003': domain: API_FULFILLMENT category: REQUEST description: Invalid Evidence File Id '33007': domain: API_FULFILLMENT category: REQUEST description: Invalid line items. '33008': domain: API_FULFILLMENT category: REQUEST description: Invalid evidence type. '33009': domain: API_FULFILLMENT category: REQUEST description: User did not echo back the evidence metadata correctly. '33010': domain: API_FULFILLMENT category: REQUEST description: Evidence Id is invalid '33100': domain: API_FULFILLMENT category: REQUEST description: Invalid input request '33103': domain: API_FULFILLMENT category: REQUEST description: Exceed allowed file count '33104': domain: API_FULFILLMENT category: REQUEST description: The combined size of attached files should be 1.5MB or less. '404': description: Not Found x-response-codes: errors: '33001': domain: API_FULFILLMENT category: REQUEST description: Invalid Payment Dispute Id '409': description: Conflict x-response-codes: errors: '33004': domain: API_FULFILLMENT category: REQUEST description: Upload file for evidence is not permitted for given payment dispute state. '500': description: Internal Server Error x-response-codes: errors: '33000': domain: API_FULFILLMENT category: APPLICATION description: There was a problem with an eBay internal system or process. Contact eBay developer support for assistance. security: - api_auth: - https://api.ebay.com/oauth/api_scope/sell.payment.dispute components: schemas: PaymentDisputeActivity: type: object properties: activityDate: type: string description: 'The timestamp in this field shows the date/time of the payment dispute activity.

The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' activityType: type: string description: This enumeration value indicates the type of activity that occured on the payment dispute. For example, a value of DISPUTE_OPENED is returned when a payment disute is first created, a value indicating the seller's decision on the dispute, such as SELLER_CONTEST, is returned when seller makes a decision to accept or contest dispute, and a value of DISPUTE_CLOSED is returned when a payment disute is resolved. See ActivityEnum for an explanation of each of the values that may be returned here. For implementation help, refer to eBay API documentation actor: type: string description: This enumeration value indicates the actor that performed the action. Possible values include the BUYER, SELLER, CS_AGENT (eBay customer service), or SYSTEM. For implementation help, refer to eBay API documentation description: This type is used by each recorded activity on a payment dispute, from creation to resolution. AddEvidencePaymentDisputeRequest: type: object properties: evidenceType: type: string description: This field is used to indicate the type of evidence being provided through one or more evidence files. All evidence files (if more than one) should be associated with the evidence type passed in this field.

See the EvidenceTypeEnum type for the supported evidence types. For implementation help, refer to eBay API documentation files: type: array description: This array is used to specify one or more evidence files that will become part of a new evidence set associated with a payment dispute. At least one evidence file must be specified in the files array. items: $ref: '#/components/schemas/FileEvidence' lineItems: type: array description: This array identifies the order line item(s) for which the evidence file(s) will be applicable.

These values are returned under the evidenceRequests.lineItems array in the getPaymentDispute response. items: $ref: '#/components/schemas/OrderLineItems' description: This type is used by the request payload of the addEvidence method. The addEvidence method is used to create a new evidence set against a payment dispute with one or more evidence files. ContestPaymentDisputeRequest: type: object properties: note: type: string description: This field shows information that the seller provides about the dispute, such as the basis for the dispute, any relevant evidence, tracking numbers, and so forth.

Max Length: 1000 characters. returnAddress: description: This container is needed if the seller is requesting that the buyer return the item. If this container is used, all relevant fields must be included, including fullName and primaryPhone. $ref: '#/components/schemas/ReturnAddress' revision: type: integer description: 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. format: int32 description: This type is used by the request payload of the contestPaymentDispute method. PaymentDisputeActivityHistory: type: object properties: activity: type: array description: This array holds all activities of a payment dispute, from creation to resolution. For each activity, the activity type, the actor, and a timestamp is shown. The getActivities response is dynamic, and grows with each recorded activity. items: $ref: '#/components/schemas/PaymentDisputeActivity' description: This type is used by the base response of the getActivities method, and includes a log of all activities of a payment dispute, from creation to resolution. DisputeAmount: type: object properties: convertedFromCurrency: type: string description: The three-letter ISO 4217 code representing the currency of the amount in the convertedFromValue field. This value is the pre-conversion currency.

This field is only returned if/when currency conversion was applied by eBay. For implementation help, refer to eBay API documentation convertedFromValue: type: string description: The monetary amount before any conversion is performed, in the currency specified by the convertedFromCurrency field. This value is the pre-conversion amount. The value field contains the converted amount of this value, in the currency specified by the currency field.

This field is only returned if/when currency conversion was applied by eBay. currency: type: string description: 'A three-letter ISO 4217 code that indicates the currency of the amount in the value field. This field is always returned with any container using Amount type.

Default: The currency of the authenticated user''s country. For implementation help, refer to eBay API documentation' exchangeRate: type: string description: The exchange rate used for the monetary conversion. This field shows the exchange rate used to convert the dollar value in the value field from the dollar value in the convertedFromValue field.

This field is only returned if/when currency conversion was applied by eBay. value: type: string description: The monetary amount, in the currency specified by the currency field. This field is always returned with any container using Amount type. description: This type defines the monetary value of an amount. It can provide the amount in both the currency used on the eBay site where an item is being offered and the conversion of that value into another currency, if applicable. MonetaryTransaction: type: object properties: date: type: string description: 'This timestamp indicates when the monetary transaction occurred. A date is returned for all monetary transactions.

The following format is used: YYYY-MM-DDTHH:MM:SS.SSSZ. For example, 2015-08-04T19:09:02.768Z.' type: type: string description: This enumeration value indicates whether the monetary transaction is a charge or a credit to the seller. For implementation help, refer to eBay API documentation reason: type: string description: This enumeration value indicates the reason for the monetary transaction. For implementation help, refer to eBay API documentation amount: description: The amount involved in the monetary transaction. For active cross-border trade orders, the currency conversion and exchangeRate fields will be displayed as well. $ref: '#/components/schemas/DisputeAmount' description: This type is used to provide details about one or more monetary transactions that occur as part of a payment dispute. UpdateEvidencePaymentDisputeRequest: type: object properties: evidenceId: type: string description: The unique identifier of the evidence set that is being updated with new evidence files.

This ID is returned under the evidence array in the getPaymentDispute response. evidenceType: type: string description: This field is used to indicate the type of evidence being provided through one or more evidence files. All evidence files (if more than one) should be associated with the evidence type passed in this field.

See the EvidenceTypeEnum type for the supported evidence types. For implementation help, refer to eBay API documentation files: type: array description: This array is used to specify one or more evidence files that will be added to the evidence set associated with a payment dispute. At least one evidence file must be specified in the files array.

The unique identifier of an evidence file is returned in the response payload of the uploadEvidence method. items: $ref: '#/components/schemas/FileEvidence' lineItems: type: array description: This required array identifies the order line item(s) for which the evidence file(s) will be applicable.

These values are returned under the evidenceRequests.lineItems array in the getPaymentDispute response.

Note: Both the itemId and lineItemID fields are needed to identify each order line item. items: $ref: '#/components/schemas/OrderLineItems' description: This type is used by the request payload of the updateEvidence method. The updateEvidence method is used to update an existing evidence set against a payment dispute with one or more evidence files. DisputeSummaryResponse: type: object properties: href: type: string description: The URI of the getPaymentDisputeSummaries call request that produced the current page of the result set. limit: type: integer description: 'This value shows the maximum number of payment disputes that will appear on one page of the result set. The limit value can be passed in as a query parameter in the request, or if it is not used, it defaults to 200. If the value in the total field exceeds this limit value, there are multiple pages in the current result set.

Min: 1; Max: 200; Default: 200' format: int32 next: type: string description: The getPaymentDisputeSummaries call URI to use if you wish to view the next page of the result set. For example, the following URI returns records 11 thru 20 from the collection of payment disputes:

path/payment_dispute_summary?limit=10&offset=10

This field is only returned if there is a next page of results to view based on the current input criteria. offset: type: integer description: This integer value indicates the number of payment disputes skipped before listing the first payment dispute from the result set. The offset value can be passed in as a query parameter in the request, or if it is not used, it defaults to 0 and the first payment dispute of the result set is shown at the top of the response. format: int32 paymentDisputeSummaries: type: array description: Each payment dispute that matches the input criteria is returned under this array. If no payment disputes are found, an empty array is returned. items: $ref: '#/components/schemas/PaymentDisputeSummary' prev: type: string description: The getPaymentDisputeSummaries call URI to use if you wish to view the previous page of the result set. For example, the following URI returns records 1 thru 10 from the collection of payment disputes:

path/payment_dispute_summary?limit=10&offset=0

This field is only returned if there is a previous page of results to view based on the current input criteria. total: type: integer description: This integer value is the total number of payment disputes that matched the input criteria. If the total number of entries exceeds the value that was set for limit in the request payload, you will have to make multiple API calls to see all pages of the results set. This field is returned even if it is 0. format: int32 description: This type defines the base response payload of the getPaymentDisputeSummaries method. Each payment dispute that matches the input criteria is returned under the paymentDisputeSummaries array. PaymentDispute: type: object properties: amount: description: This container shows the dollar value associated with the payment dispute in the currency used by the seller's marketplace. $ref: '#/components/schemas/SimpleAmount' availableChoices: type: array description: The value(s) returned in this array indicate the choices that the seller has when responding to the payment dispute. Once the seller has responded to the payment dispute, this field will no longer be shown, and instead, the sellerResponse field will show the decision that the seller made. items: type: string description: ' For implementation help, refer to eBay API documentation' buyerProvided: description: This container is returned if the buyer is returning one or more line items in an order that is associated with the payment dispute, and that buyer has provided return shipping tracking information and/or a note about the return. $ref: '#/components/schemas/InfoFromBuyer' buyerUsername: type: string description: This is the eBay user ID of the buyer that initiated the payment dispute. closedDate: type: string description: 'The timestamp in this field shows the date/time when the payment dispute was closed, so this field is only returned for payment disputes in the CLOSED state.

The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' evidence: type: array description: This container shows any evidence that has been provided by the seller to contest the payment dispute. Evidence may include shipment tracking information, proof of authentication documentation, image(s) to proof that an item is as described, or financial documentation/invoice.

This container is only returned if the seller has provided at least one document used as evidence against the payment dispute. items: $ref: '#/components/schemas/DisputeEvidence' evidenceRequests: type: array description: This container is returned if one or more evidence documents are being requested from the seller. items: $ref: '#/components/schemas/EvidenceRequest' lineItems: type: array description: This array is used to identify one or more order line items associated with the payment dispute. There will always be at least one itemId/lineItemId pair returned in this array. items: $ref: '#/components/schemas/OrderLineItems' monetaryTransactions: type: array description: This array provide details about one or more monetary transactions that occur as part of a payment dispute. This array is only returned once one or more monetary transacations occur with a payment dispute. items: $ref: '#/components/schemas/MonetaryTransaction' note: type: string description: This field shows information that the seller provides about the dispute, such as the basis for the dispute, any relevant evidence, tracking numbers, and so forth.

This field is limited to 1000 characters. openDate: type: string description: 'The timestamp in this field shows the date/time when the payment dispute was opened. This field is returned for payment disputes in all states.

The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' orderId: type: string description: This is the unique identifier of the order involved in the payment dispute. paymentDisputeId: type: string description: This is the unique identifier of the payment dispute. This is the same identifier that is passed in to the call URI. This identifier is automatically created by eBay once the payment dispute comes into the eBay system. paymentDisputeStatus: type: string description: The enumeration value in this field gives the current status of the payment dispute. The status of a payment dispute partially determines other fields that are returned in the response. For implementation help, refer to eBay API documentation reason: type: string description: The enumeration value in this field gives the reason why the buyer initiated the payment dispute. See DisputeReasonEnum type for a description of the supported reasons that buyers can give for initiating a payment dispute. For implementation help, refer to eBay API documentation resolution: description: This container gives details about a payment dispute that has been resolved. This container is only returned for resolved/closed payment disputes. $ref: '#/components/schemas/PaymentDisputeOutcomeDetail' respondByDate: type: string description: 'The timestamp in this field shows the date/time when the seller must response to a payment dispute, so this field is only returned for payment disputes in the ACTION_NEEDED state. For payment disputes that currently require action by the seller, that same seller should look at the availableChoices array to see the available actions.

The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' returnAddress: description: This container gives the address where the order will be returned to. This container is returned if the seller is accepting the payment dispute and will issue a refund to the buyer once the item is returned to this address. $ref: '#/components/schemas/ReturnAddress' revision: type: integer description: This integer value indicates the revision number of the payment dispute. Each time an action is taken against a payment dispute, this integer value increases by 1. format: int32 sellerResponse: type: string description: The enumeration value returned in this field indicates how the seller has responded to the payment dispute. The seller has the option of accepting the payment dispute and agreeing to issue a refund, accepting the payment dispute and agreeing to issue a refund as long as the buyer returns the item, or contesting the payment dispute. This field is returned as soon as the seller makes an initial decision on the payment dispute. For implementation help, refer to eBay API documentation description: This type is used by the base response of the getPaymentDispute method. The getPaymentDispute method retrieves detailed information on a specific payment dispute. EvidenceRequest: type: object properties: evidenceId: type: string description: Unique identifier of the evidential file set. Potentially, each evidential file set can have more than one file, that is why there is this file set identifier, and then an identifier for each file within this file set. evidenceType: type: string description: This enumeration value shows the type of evidential document provided. For implementation help, refer to eBay API documentation lineItems: type: array description: This array shows one or more order line items associated with the evidential document that has been provided. items: $ref: '#/components/schemas/OrderLineItems' requestDate: type: string description: 'The timestamp in this field shows the date/time when eBay requested the evidential document from the seller in response to a payment dispute.

The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' respondByDate: type: string description: 'The timestamp in this field shows the date/time when the seller is expected to provide a requested evidential document to eBay.

The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' description: This type is used by the evidenceRequests array that is returned in the getPaymentDispute response if one or more evidential documents are being requested to help resolve the payment dispute. AddEvidencePaymentDisputeResponse: type: object properties: evidenceId: type: string description: The value returned in this field is the unique identifier of the newly-created evidence set. Upon a successful call, this value is automatically genererated. This new evidence set for the payment dispute includes the evidence file(s) that were passed in to the fileId array in the request payload. The evidenceId value will be needed if the seller wishes to add to the evidence set by using the updateEvidence method, or if they want to retrieve a specific evidence file within the evidence set by using the fetchEvidenceContent method. description: This type is used by the response payload of the addEvidence method. Its only field is an unique identifier of an evidence set. TrackingInfo: type: object properties: shipmentTrackingNumber: type: string description: This string value represents the shipment tracking number of the package. shippingCarrierCode: type: string description: This string value represents the shipping carrier used to ship the package. description: This type is used for seller provided shipment tracking information. ReturnAddress: type: object properties: addressLine1: type: string description: The first line of the street address. addressLine2: type: string description: 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: type: string description: The city of the return address. country: type: string description: The country's two-digit, ISO 3166-1 country code. See the enumeration type for a country's value. For implementation help, refer to eBay API documentation county: type: string description: The county of the return address. Counties are not applicable to all countries. fullName: type: string description: The full name of return address owner. postalCode: type: string description: The postal code of the return address. primaryPhone: description: This container shows the seller's primary phone number associated with the return address. $ref: '#/components/schemas/Phone' stateOrProvince: type: string description: The state or province of the return address. description: This type is used by the payment dispute methods, and is relevant if the buyer will be returning the item to the seller. FileInfo: type: object properties: fileId: type: string description: The unique identifier of the evidence file. fileType: type: string description: The type of file uploaded. Supported file extensions are .JPEG, .JPG, and .PNG., and maximum file size allowed is 1.5 MB. name: type: string description: The seller-provided name of the evidence file. uploadedDate: type: string description: 'The timestamp in this field shows the date/time when the seller uploaded the evidential document to eBay.

The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' description: This type is used by the files array, which shows the name, ID, file type, and upload date for each provided evidential file. FileEvidence: type: object properties: fileId: type: string description: This field is used to identify the evidence file to be uploaded to the evidence set.

This file is created with the uploadEvidenceFile method and can be retrieved using the getPaymentDisputes method. description: This type is used to store the unique identifier of an evidence file. Evidence files are used by seller to contest a payment dispute. OrderLineItems: type: object properties: itemId: type: string description: The unique identifier of the eBay listing associated with the order. lineItemId: type: string description: The unique identifier of the line item within the order. description: This type is used by the lineItems array that is used to identify one or more line items in the order with the payment dispute. PaymentDisputeOutcomeDetail: type: object properties: fees: description: This container will show the dollar value of any fees associated with the payment dispute. This container is only returned if there are fees associated with the payment dispute. $ref: '#/components/schemas/SimpleAmount' protectedAmount: description: This container shows the amount of money that the seller is protected against in a payment dispute under eBay's seller protection policy. $ref: '#/components/schemas/SimpleAmount' protectionStatus: type: string description: This enumeration value indicates if the seller is fully protected, partially protected, or not protected by eBay for the payment dispute. This field is always returned once the payment dispute is resolved. For implementation help, refer to eBay API documentation reasonForClosure: type: string description: The enumeration value returned in this field indicates the outcome of the payment dispute for the seller. This field is always returned once the payment dispute is resolved. For implementation help, refer to eBay API documentation recoupAmount: description: This container shows the dollar amount being recouped from the seller. This container is empty if the seller wins the payment dispute or if the seller is fully protected by eBay's seller protection policy. $ref: '#/components/schemas/SimpleAmount' totalFeeCredit: description: This container shows the amount of money in selling fee credits due back to the seller after a payment dispute is settled. $ref: '#/components/schemas/SimpleAmount' description: This type is used by the resolution container that is returned for payment disputes that have been resolved. InfoFromBuyer: type: object properties: contentOnHold: type: boolean description: When the value of this field is true it indicates that the buyer's note regarding the payment dispute (i.e., the buyerProvided.note field,) is on hold. When this is the case, the buyerProvided.note field will not be returned.

When the value of this field is false, it is not returned. note: type: string description: This field shows any note that was left by the buyer in regard to the dispute. returnShipmentTracking: type: array description: This array shows shipment tracking information for one or more shipping packages being returned to the buyer after a payment dispute. items: $ref: '#/components/schemas/TrackingInfo' description: This container is returned if the buyer is returning one or more line items in an order that is associated with the payment dispute, and that buyer has provided return shipping tracking information and/or a note about the return. Phone: type: object properties: countryCode: type: string description: The seller's country calling code. This field is needed if the buyer is located in a different country than the seller. It is also OK to provide if the buyer and seller are both located in the same country. For a full list of calling codes for all countries, see the countrycode.org site. number: type: string description: 'The seller''s primary phone number associated with the return address. When this number is provided in a contestPaymentDispute or contestPaymentDispute method, it is provided as one continuous numeric string, including the area code. So, if the phone number''s area code was ''408'', a number in this field may look something like this:

"number" : "4088084356"

If the buyer is located in a different country than the seller, the seller''s country calling code will need to be specified in the countryCode field.' description: This type is used by the returnAddresseBay API documentation files: type: array description: This array shows the name, ID, file type, and upload date for each provided file. items: $ref: '#/components/schemas/FileInfo' lineItems: type: array description: This array shows one or more order line items associated with the evidential document that has been provided. items: $ref: '#/components/schemas/OrderLineItems' providedDate: type: string description: 'The timestamp in this field shows the date/time when the seller provided a requested evidential document to eBay.

The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' requestDate: type: string description: 'The timestamp in this field shows the date/time when eBay requested the evidential document from the seller in response to a payment dispute.

The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' respondByDate: type: string description: 'The timestamp in this field shows the date/time when the seller was expected to provide a requested evidential document to eBay.

The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' shipmentTracking: type: array description: This array shows the shipping carrier and shipment tracking number associated with each shipment package of the order. This array is returned under the evidence container if the seller has provided shipment tracking information as evidence to support PROOF_OF_DELIVERY for an INR-related payment dispute. items: $ref: '#/components/schemas/TrackingInfo' description: 'This type is used by the evidence array that is returned in the getPaymentDispute response if one or more evidential documents are associated with the payment dispute. ' AcceptPaymentDisputeRequest: type: object properties: returnAddress: description: 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. $ref: '#/components/schemas/ReturnAddress' revision: type: integer description: 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. format: int32 description: This type is used by base request of the acceptPaymentDispute method. PaymentDisputeSummary: type: object properties: amount: description: This container shows the dollar value associated with the payment dispute in the currency used by the seller's marketplace. This container is returned for all payment disputes returned in the response. $ref: '#/components/schemas/SimpleAmount' buyerUsername: type: string description: This is the buyer's eBay user ID. This field is returned for all payment disputes returned in the response. closedDate: type: string description: 'The timestamp in this field shows the date/time when the payment dispute was closed, so this field is only returned for payment disputes in the CLOSED state.

The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' openDate: type: string description: 'The timestamp in this field shows the date/time when the payment dispute was opened. This field is returned for payment disputes in all states.

The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' orderId: type: string description: This is the unique identifier of the order involved in the payment dispute. paymentDisputeId: type: string description: This is the unique identifier of the payment dispute. This identifier is automatically created by eBay once the payment dispute comes into the eBay system. This identifier is passed in at the end of the getPaymentDispute call URI to retrieve a specific payment dispute. The getPaymentDispute method returns more details about a payment dispute than the getPaymentDisputeSummaries method. paymentDisputeStatus: type: string description: The enumeration value in this field gives the current status of the payment dispute. For implementation help, refer to eBay API documentation reason: type: string description: The enumeration value in this field gives the reason why the buyer initiated the payment dispute. See DisputeReasonEnum type for a description of the supported reasons that buyers can give for initiating a payment dispute. For implementation help, refer to eBay API documentation respondByDate: type: string description: 'The timestamp in this field shows the date/time when the seller must response to a payment dispute, so this field is only returned for payment disputes in the ACTION_NEEDED state. For payment disputes that require action by the seller, that same seller must call getPaymentDispute to see the next action(s) that they can take against the payment dispute.

The timestamps returned here use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.' description: This type is used by each payment dispute that is returned with the getPaymentDisputeSummaries method. SimpleAmount: type: object properties: currency: type: string description: A three-letter ISO 4217 code (such as USD for US site) that indicates the currency of the amount in the value field. Both the value and currency fields are always returned with the amount container. For implementation help, refer to eBay API documentation value: type: string description: The monetary amount of the payment dispute. Both the value and currency fields are always returned with the amount container. description: This type defines the monetary value of the payment dispute, and the currency used. securitySchemes: api_auth: type: oauth2 description: The security definitions for this API. Please check individual operations for applicable scopes. flows: authorizationCode: authorizationUrl: https://auth.ebay.com/oauth2/authorize tokenUrl: https://api.ebay.com/identity/v1/oauth2/token scopes: https://api.ebay.com/oauth/api_scope/sell.account.readonly: View your account settings https://api.ebay.com/oauth/api_scope/sell.account: View and manage your account settings