eBay · Capability

eBay Fulfillment API — Payment_dispute

eBay Fulfillment API — Payment_dispute. 9 operations. Lead operation: eBay Get Payment Dispute Details. Self-contained Naftiko capability covering one Ebay business surface.

Run with Naftiko EbayPayment_dispute

What You Can Do

GET
Getpaymentdispute — eBay Get Payment Dispute Details
/v1/payment-dispute/{payment-dispute-id}
POST
Acceptpaymentdispute — eBay Accept Payment Dispute
/v1/payment-dispute/{payment-dispute-id}/accept
GET
Getactivities — eBay Get Payment Dispute Activity
/v1/payment-dispute/{payment-dispute-id}/activity
POST
Addevidence — eBay Add an Evidence File
/v1/payment-dispute/{payment-dispute-id}/add-evidence
POST
Contestpaymentdispute — eBay Contest Payment Dispute
/v1/payment-dispute/{payment-dispute-id}/contest
GET
Fetchevidencecontent — eBay Get Payment Dispute Evidence File
/v1/payment-dispute/{payment-dispute-id}/fetch-evidence-content
POST
Updateevidence — eBay Update evidence
/v1/payment-dispute/{payment-dispute-id}/update-evidence
POST
Uploadevidencefile — eBay Upload an Evidence File
/v1/payment-dispute/{payment-dispute-id}/upload-evidence-file
GET
Getpaymentdisputesummaries — eBay Search Payment Dispute by Filters
/v1/payment-dispute-summary

MCP Tools

ebay-get-payment-dispute-details

eBay Get Payment Dispute Details

read-only idempotent
ebay-accept-payment-dispute

eBay Accept Payment Dispute

ebay-get-payment-dispute-activity

eBay Get Payment Dispute Activity

read-only idempotent
ebay-add-evidence-file

eBay Add an Evidence File

ebay-contest-payment-dispute

eBay Contest Payment Dispute

read-only
ebay-get-payment-dispute-evidence

eBay Get Payment Dispute Evidence File

read-only idempotent
ebay-update-evidence

eBay Update evidence

ebay-upload-evidence-file

eBay Upload an Evidence File

ebay-search-payment-dispute-filters

eBay Search Payment Dispute by Filters

read-only idempotent

Capability Spec

fulfillment-payment-dispute.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: eBay Fulfillment API — Payment_dispute
  description: 'eBay Fulfillment API — Payment_dispute. 9 operations. Lead operation: eBay Get Payment Dispute Details. Self-contained
    Naftiko capability covering one Ebay business surface.'
  tags:
  - Ebay
  - Payment_dispute
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    EBAY_API_KEY: EBAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: fulfillment-payment-dispute
    baseUri: https://api.ebay.com{basePath}
    description: eBay Fulfillment API — Payment_dispute business capability. Self-contained, no shared references.
    resources:
    - name: payment_dispute-payment_dispute_id
      path: /payment_dispute/{payment_dispute_id}
      operations:
      - name: getpaymentdispute
        method: GET
        description: eBay Get Payment Dispute Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: payment_dispute_id
          in: path
          type: string
          description: This parameter is used to specify the unique identifier of the payment dispute being retrieved.<br><br>
            Use the <a href="/api-docs/sell/fulfillment/resources/pa
          required: true
    - name: payment_dispute-payment_dispute_id-accept
      path: /payment_dispute/{payment_dispute_id}/accept
      operations:
      - name: acceptpaymentdispute
        method: POST
        description: eBay Accept Payment Dispute
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: payment_dispute_id
          in: path
          type: string
          description: This parameter is used to specify the unique identifier of the payment dispute being accepted. <br><br>
            Use the <a href="/api-docs/sell/fulfillment/resources/pa
          required: true
        - name: Content-Type
          in: header
          type: string
          description: 'This header indicates the format of the request body provided by the client. Its value should be set
            to <b>application/json</b>. <br><br> For more information, '
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: payment_dispute-payment_dispute_id-activity
      path: /payment_dispute/{payment_dispute_id}/activity
      operations:
      - name: getactivities
        method: GET
        description: eBay Get Payment Dispute Activity
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: payment_dispute_id
          in: path
          type: string
          description: This parameter is used to specify the unique identifier of the payment dispute associated with the
            activity log being retrieved.<br><br> Use the <a href="/api-d
          required: true
    - name: payment_dispute-payment_dispute_id-add_evidence
      path: /payment_dispute/{payment_dispute_id}/add_evidence
      operations:
      - name: addevidence
        method: POST
        description: eBay Add an Evidence File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: payment_dispute_id
          in: path
          type: string
          description: 'This parameter is used to specify the unique identifier of the contested payment dispute for which
            the seller wishes to add evidence files. <br><br> Use the <a '
          required: true
        - name: Content-Type
          in: header
          type: string
          description: 'This header indicates the format of the request body provided by the client. Its value should be set
            to <b>application/json</b>. <br><br> For more information, '
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: payment_dispute-payment_dispute_id-contest
      path: /payment_dispute/{payment_dispute_id}/contest
      operations:
      - name: contestpaymentdispute
        method: POST
        description: eBay Contest Payment Dispute
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: payment_dispute_id
          in: path
          type: string
          description: This parameter is used to specify the unique identifier of the payment dispute being contested. <br><br>
            Use the <a href="/api-docs/sell/fulfillment/resources/p
          required: true
        - name: Content-Type
          in: header
          type: string
          description: 'This header indicates the format of the request body provided by the client. Its value should be set
            to <b>application/json</b>. <br><br> For more information, '
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: payment_dispute-payment_dispute_id-fetch_evidence_content
      path: /payment_dispute/{payment_dispute_id}/fetch_evidence_content
      operations:
      - name: fetchevidencecontent
        method: GET
        description: eBay Get Payment Dispute Evidence File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: payment_dispute_id
          in: path
          type: string
          description: This path parameter is used to specify the unique identifier of the payment dispute associated with
            the evidence file being retrieved.<br><br> Use the <a href="
          required: true
        - name: evidence_id
          in: query
          type: string
          description: 'This query parameter is used to specify the unique identifier of the evidential file set.<br><br>The
            identifier of an evidential file set for a payment dispute '
          required: true
        - name: file_id
          in: query
          type: string
          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 <st
          required: true
    - name: payment_dispute-payment_dispute_id-update_evidence
      path: /payment_dispute/{payment_dispute_id}/update_evidence
      operations:
      - name: updateevidence
        method: POST
        description: eBay Update evidence
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: payment_dispute_id
          in: path
          type: string
          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.<br><br> Use the <a
          required: true
        - name: Content-Type
          in: header
          type: string
          description: 'This header indicates the format of the request body provided by the client. Its value should be set
            to <b>application/json</b>. <br><br> For more information, '
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: payment_dispute-payment_dispute_id-upload_evidence_file
      path: /payment_dispute/{payment_dispute_id}/upload_evidence_file
      operations:
      - name: uploadevidencefile
        method: POST
        description: eBay Upload an Evidence File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: payment_dispute_id
          in: path
          type: string
          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.<br><br> Use the '
          required: true
        - name: Content-Type
          in: header
          type: string
          description: This header indicates the format of the request body provided by the client. Its value should be set
            to <b>multipart/form-data</b>. <br><br> For more informatio
          required: true
    - name: payment_dispute_summary
      path: /payment_dispute_summary
      operations:
      - name: getpaymentdisputesummaries
        method: GET
        description: eBay Search Payment Dispute by Filters
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: order_id
          in: query
          type: string
          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
        - name: buyer_username
          in: query
          type: string
          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 paramet
        - name: open_date_from
          in: query
          type: string
          description: The <b>open_date_from</b> and/or <b>open_date_to</b> date filters are used if the seller wishes to
            retrieve payment disputes opened within a specific date range
        - name: open_date_to
          in: query
          type: string
          description: The <b>open_date_from</b> and/or <b>open_date_to</b> date filters are used if the seller wishes to
            retrieve payment disputes opened within a specific date range
        - name: payment_dispute_status
          in: query
          type: string
          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 <
        - name: limit
          in: query
          type: string
          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 int
        - name: offset
          in: query
          type: string
          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
    authentication:
      type: bearer
      token: '{{env.EBAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: fulfillment-payment-dispute-rest
    port: 8080
    description: REST adapter for eBay Fulfillment API — Payment_dispute. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/payment-dispute/{payment-dispute-id}
      name: payment-dispute-payment-dispute-id
      description: REST surface for payment_dispute-payment_dispute_id.
      operations:
      - method: GET
        name: getpaymentdispute
        description: eBay Get Payment Dispute Details
        call: fulfillment-payment-dispute.getpaymentdispute
        with:
          payment_dispute_id: rest.payment_dispute_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/payment-dispute/{payment-dispute-id}/accept
      name: payment-dispute-payment-dispute-id-accept
      description: REST surface for payment_dispute-payment_dispute_id-accept.
      operations:
      - method: POST
        name: acceptpaymentdispute
        description: eBay Accept Payment Dispute
        call: fulfillment-payment-dispute.acceptpaymentdispute
        with:
          payment_dispute_id: rest.payment_dispute_id
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/payment-dispute/{payment-dispute-id}/activity
      name: payment-dispute-payment-dispute-id-activity
      description: REST surface for payment_dispute-payment_dispute_id-activity.
      operations:
      - method: GET
        name: getactivities
        description: eBay Get Payment Dispute Activity
        call: fulfillment-payment-dispute.getactivities
        with:
          payment_dispute_id: rest.payment_dispute_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/payment-dispute/{payment-dispute-id}/add-evidence
      name: payment-dispute-payment-dispute-id-add-evidence
      description: REST surface for payment_dispute-payment_dispute_id-add_evidence.
      operations:
      - method: POST
        name: addevidence
        description: eBay Add an Evidence File
        call: fulfillment-payment-dispute.addevidence
        with:
          payment_dispute_id: rest.payment_dispute_id
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/payment-dispute/{payment-dispute-id}/contest
      name: payment-dispute-payment-dispute-id-contest
      description: REST surface for payment_dispute-payment_dispute_id-contest.
      operations:
      - method: POST
        name: contestpaymentdispute
        description: eBay Contest Payment Dispute
        call: fulfillment-payment-dispute.contestpaymentdispute
        with:
          payment_dispute_id: rest.payment_dispute_id
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/payment-dispute/{payment-dispute-id}/fetch-evidence-content
      name: payment-dispute-payment-dispute-id-fetch-evidence-content
      description: REST surface for payment_dispute-payment_dispute_id-fetch_evidence_content.
      operations:
      - method: GET
        name: fetchevidencecontent
        description: eBay Get Payment Dispute Evidence File
        call: fulfillment-payment-dispute.fetchevidencecontent
        with:
          payment_dispute_id: rest.payment_dispute_id
          evidence_id: rest.evidence_id
          file_id: rest.file_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/payment-dispute/{payment-dispute-id}/update-evidence
      name: payment-dispute-payment-dispute-id-update-evidence
      description: REST surface for payment_dispute-payment_dispute_id-update_evidence.
      operations:
      - method: POST
        name: updateevidence
        description: eBay Update evidence
        call: fulfillment-payment-dispute.updateevidence
        with:
          payment_dispute_id: rest.payment_dispute_id
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/payment-dispute/{payment-dispute-id}/upload-evidence-file
      name: payment-dispute-payment-dispute-id-upload-evidence-file
      description: REST surface for payment_dispute-payment_dispute_id-upload_evidence_file.
      operations:
      - method: POST
        name: uploadevidencefile
        description: eBay Upload an Evidence File
        call: fulfillment-payment-dispute.uploadevidencefile
        with:
          payment_dispute_id: rest.payment_dispute_id
          Content-Type: rest.Content-Type
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/payment-dispute-summary
      name: payment-dispute-summary
      description: REST surface for payment_dispute_summary.
      operations:
      - method: GET
        name: getpaymentdisputesummaries
        description: eBay Search Payment Dispute by Filters
        call: fulfillment-payment-dispute.getpaymentdisputesummaries
        with:
          order_id: rest.order_id
          buyer_username: rest.buyer_username
          open_date_from: rest.open_date_from
          open_date_to: rest.open_date_to
          payment_dispute_status: rest.payment_dispute_status
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: fulfillment-payment-dispute-mcp
    port: 9090
    transport: http
    description: MCP adapter for eBay Fulfillment API — Payment_dispute. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: ebay-get-payment-dispute-details
      description: eBay Get Payment Dispute Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fulfillment-payment-dispute.getpaymentdispute
      with:
        payment_dispute_id: tools.payment_dispute_id
      outputParameters:
      - type: object
        mapping: $.
    - name: ebay-accept-payment-dispute
      description: eBay Accept Payment Dispute
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: fulfillment-payment-dispute.acceptpaymentdispute
      with:
        payment_dispute_id: tools.payment_dispute_id
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: ebay-get-payment-dispute-activity
      description: eBay Get Payment Dispute Activity
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fulfillment-payment-dispute.getactivities
      with:
        payment_dispute_id: tools.payment_dispute_id
      outputParameters:
      - type: object
        mapping: $.
    - name: ebay-add-evidence-file
      description: eBay Add an Evidence File
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: fulfillment-payment-dispute.addevidence
      with:
        payment_dispute_id: tools.payment_dispute_id
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: ebay-contest-payment-dispute
      description: eBay Contest Payment Dispute
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: fulfillment-payment-dispute.contestpaymentdispute
      with:
        payment_dispute_id: tools.payment_dispute_id
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: ebay-get-payment-dispute-evidence
      description: eBay Get Payment Dispute Evidence File
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fulfillment-payment-dispute.fetchevidencecontent
      with:
        payment_dispute_id: tools.payment_dispute_id
        evidence_id: tools.evidence_id
        file_id: tools.file_id
      outputParameters:
      - type: object
        mapping: $.
    - name: ebay-update-evidence
      description: eBay Update evidence
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: fulfillment-payment-dispute.updateevidence
      with:
        payment_dispute_id: tools.payment_dispute_id
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: ebay-upload-evidence-file
      description: eBay Upload an Evidence File
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: fulfillment-payment-dispute.uploadevidencefile
      with:
        payment_dispute_id: tools.payment_dispute_id
        Content-Type: tools.Content-Type
      outputParameters:
      - type: object
        mapping: $.
    - name: ebay-search-payment-dispute-filters
      description: eBay Search Payment Dispute by Filters
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fulfillment-payment-dispute.getpaymentdisputesummaries
      with:
        order_id: tools.order_id
        buyer_username: tools.buyer_username
        open_date_from: tools.open_date_from
        open_date_to: tools.open_date_to
        payment_dispute_status: tools.payment_dispute_status
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.