GET
/
api
/
v1
/
disputes
curl --request GET \
  --url https://api.tabby.ai/api/v1/disputes \
  --header 'Authorization: Bearer <token>'
{
  "disputes": [
    {
      "id": "dispute id, uuid format",
      "attachments": "Array of links to images which were uploaded by customer",
      "payment_id": "payment id, uuid format",
      "amount": "100.00",
      "currency": "AED",
      "created_at": "2018-10-17T00:00:00.000Z",
      "expired_at": "2018-10-17T00:00:00.000Z",
      "status": "new",
      "reason": "unreceived_refund",
      "days_left": 123,
      "items": [
        {
          "reference_id": "payment id",
          "title": "Order item title",
          "unit_price": "100.00"
        }
      ],
      "order_number": "#1234",
      "comment": "customer comments"
    }
  ],
  "next_page_token": "next_page_token"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <secret_key>, where <secret_key> is your secret_key.

Query Parameters

statuses
string[]

Dispute status. If not set, then all statuses will be in result.

DisputeStatus

Example:

"statuses=new&statuses=declined"

created_at_gte
string

Filter disputes created after or at the specified date and time.

Example:

"created_at_gte=2022-12-01T00:00:00Z"

created_at_lte
string

Filter disputes created before or at the specified date and time.

Example:

"created_at_lte=2022-12-01T00:00:00Z"

page_token
string

To load the next page of disputed items provide page token. This code can be obtained from the next_page_token variable in the response of dispute list. If next_page_token is empty in response, it means last page of disputes has been reached.

Response

200
application/json

Success. Returns a list of disputes.

The response is of type object.