Skip to main content
GET
/
v1
/
disputes
ListDisputes
curl --request GET \
  --url https://api.toffeepay.com/v1/disputes \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "reason": "<string>",
    "amount": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "payment_id": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Query Parameters

payment_id
string
limit
integer<int32>

default: 100

Required range: x <= 250
offset
integer<int32>
Required range: x >= 0
from
string<date-time>
to
string<date-time>

Response

200 - application/json

Success

id
string
required
reason
string
required
amount
integer<int32>
required
currency
enum<string>
required
Available options:
USD,
GBP,
EUR
created_at
string<date-time>
required
payment_id
string | null