---
title: "List invoice payment disputes"
method: GET
path: "/ext/v2/invoices/{invoice_id}/payment-disputes/"
tags: ["Invoices"]
---

# List invoice payment disputes

`GET /ext/v2/invoices/{invoice_id}/payment-disputes/`

## Request

- Base URL: `https://connect.vetcove.com`
- URL: `https://connect.vetcove.com/ext/v2/invoices/{invoice_id}/payment-disputes/`
- Auth: HTTP bearer

Returns a list of payment disputes (chargebacks) associated with a specific invoice. The disputes are sorted by creation date, with the most recent entries appearing first.

## Path parameters

- `invoice_id` integer, required: The ID of the invoice to fetch disputes for

## Query parameters

- `ids` integer[], nullable: When provided, filters to objects with these IDs.
- `ending_before` integer, nullable: A cursor used for pagination. Fetches the page of results ending immediately before the object with the given ID. Cannot be used at the same time as `starting_after`.
- `starting_after` integer, nullable: A cursor used for pagination. Fetches the page of results starting immediately after the given ID. Cannot be used at the same time as `ending_before`.
- `limit` integer: The maximum number of items to return per page.

## Response `200`

OK

- InvoicePaymentDisputesList
  - `data` ExternalInvoicePaymentDisputeSchema[], required: A single page of data contained within this list.
    - `created` string, date-time, required: The time at which this dispute was created
    - `created_by_id` integer, required: The ID of the user who created this dispute
    - `id` integer, required: The unique identifier for the payment dispute
    - `payment_id` integer, required: The payment ID associated with this dispute
    - `resolved_at` string, date-time, nullable, required: The time at which this dispute was resolved, if resolved
    - `resolved_by_id` integer, nullable, required: The ID of the user who marked this dispute as resolved, if resolved
    - `status` 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'UNKNOWN', required: Internal payment dispute status
  - `has_more` boolean: Whether there are more pages or data in this list.
  - `next_page` string, required: A URL linking to the next page of this list.
  - `type` string: Type of this object. Always `list`.

---

[API](https://skmtc.dev/vetcove/apis/ninjaapi.md) - [All operations](https://skmtc.dev/vetcove/apis/ninjaapi/llms.txt) - [OpenAPI document](https://skmtc.dev/vetcove/apis/ninjaapi/revisions/4ceaed956e15?raw)
