Disputes
ListDisputes
Returns a list of disputes associated with a particular account.
get/v2/disputes
Query parameters
cursorstring
A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for the original query. For more information, see Pagination.
statesstring
The dispute states to filter the result. If not specified, the endpoint returns all open disputes (the dispute status is not INQUIRY_CLOSED, WON, or LOST).
location_idstring
The ID of the location for which to return a list of disputes. If not specified, the endpoint returns all open disputes (the dispute status is not INQUIRY_CLOSED, WON, or LOST) associated with all locations.
Response
Success
Example response
{
"cursor": "G1aSTRm48CLjJsg6Sg3hQN1b1OMaoVuG",
"disputes": [
{
"amount_money": {
"amount": 1000,
"currency": "USD"
},
"brand_dispute_id": "100000809947",
"card_brand": "VISA",
"created_at": "2018-10-12T02:20:25.577Z",
"disputed_payments": [
{
"payment_id": "APgIq6RX2jM6DKDhMHiC6QEkuaB"
}
],
"due_at": "2018-10-11T00:00:00.000Z",
"id": "OnY1AZwhSi775rbNIK4gv",
"reason": "NO_KNOWLEDGE",
"state": "EVIDENCE_REQUIRED",
"updated_at": "2018-10-12T02:20:25.577Z"
}
]
}