Get all dispute

Returns a list of your disputes.

ARGUMENTS Page - the starting page for fetching disputes. Starting at 1 Size - the size of rows returned Per page - Shows in the response body. It is the same value as size as it shows the number of rows shown per page. Current page - the current page being shown. RowCount - The total number of records available

RETURNS Returns all disputes.

REQUEST:
GET
https://staging.seerbitapigateway.com/merchants/api/v1/user/{user_id}/disputes?page=1&size=10

get

Request
Response
Request
Body Parameters
date_of_resolution
required
string
The date the dispute was resolved
date_of_dispute
required
string
The date customer makes dispute
due_when
required
string
The date the dispute must be resolved by the merchant else it will be auto-accepted
category
required
string
Category is the category for dispute
merchant_id
required
string
Unique Id representing a merchant. It is visible on your dashboard
resolution
required
string
Description/note of how the dispute was resolved
customer_email
required
string
Email of the customer
evidence
required
string
Supporting evidence for dispute
Response
200: OK
RESPONSE
{
"perpage": "10",
"payload": [
{
"status": "ACCEPTED",
"category": "DISPUTE",
"resolution": "Refund approved",
"resolution_image": null,
"amount": 100,
"date_of_dispute": "2019-07-15T16:44:37",
"due_when": "2019-08-04T16:44:37",
"date_of_resolution": "2019-07-15T16:44:57",
"dispute_ref": "c10ff50a93484d1fabe20d728e730839",
"customer_email": "dev1.paul@gmail.com",
"merchant_id": "000003",
"transaction_ref": "TT002",
"evidence": [
{
"id": 2,
"message": "Buyer didn't receive value again",
"images": [
{
"image": "image.png"
}
]
}
]
},
],
"currentpage": "0",
"rowCount": 3,
"message": "Found Content",
"status": "success",
"responseCode": "00"
}