Fetch Disputes
To make this request, send an authenticated request to the disputes endpoint.
Fetch disputes
GET
https://api.oneappgo.com/v1/business/disputes
Take a look at how you might do this:
curl --location --request GET 'https://api.oneappgo.com/v1/business/disputes' \
--header 'Authorization: Bearer YOUR_SECRET_KEY
Sample response
{
"status": true,
"message": "Dispute retrieved",
"disputecount": 3,
"data": [
{
"disputeid": "5",
"busid": "7",
"transref": "83810B1637657021448",
"amount": "100.00",
"customer": "[email protected]",
"gateway": "transfer",
"type": "chargeback",
"logged_date": "1639999861",
"duedate": "25 Dec 2021 12:00 am",
"statuscode": "0",
"statustext": "Declined"
},
{
"disputeid": "4",
"busid": "7",
"transref": "83810B1637750693902",
"amount": "100.00",
"customer": "[email protected]",
"gateway": "transfer",
"type": "fraud",
"logged_date": "1639999843",
"duedate": "22 Dec 2021 12:00 am",
"statuscode": "1",
"statustext": "Awaiting Response"
},
{
"disputeid": "3",
"busid": "7",
"transref": "83810B1637749504184",
"amount": "900.00",
"customer": "[email protected]",
"gateway": "transfer",
"type": "chargeback",
"logged_date": "1639999825",
"duedate": "23 Dec 2021 12:00 am",
"statuscode": "0",
"statustext": "Declined"
}
]
}
Last updated
Was this helpful?