Sometimes, disputes may arise in a transaction so we have made provision for businesses who integrate our escrow API to monitor disputes that arises in their customers transactions.
{"status": "ok","code": 200,"message": "Transaction Disputed","data": null}
For example, you can a make a post request to the endpoint above and pass in the json data below to create a dispute for a transaction.
{"transaction_id":"QvC8epu9UT8OtTCCjmQI","reason":"I am no longer interested.","dispute_status":"open"}
Similarly, you can update the status of a dispute using the endpoint below
{"status": "ok","code": 200,"message": "Transaction Disputed","data": null}
For example, you can a make a post request to the endpoint above and pass in the json data below to create a dispute for a transaction.
{"transaction_id":"QvC8epu9UT8OtTCCjmQI","decision":"The buyer has been refunded","dispute_status":"resolved"}
Finally, you can list all the disputes that your customers have created using the endpoint below:
{"status": "ok","code": 200,"message": "Data Retrieved","data": [{"dispute_id": "IntV313tYRf8jLnf","transaction_id": "QvC8epu9UT8OtTCCjmQI","reason": "I don't like the item","dispute_status": "open","decision": null,"mediator_id": null,"created_at": "2020-07-10T13:05:49.000000Z"},{"dispute_id": "s1Edcb5arIbukYJw","transaction_id": "QvC8epu9UT8OtTCCjmQI","reason": "The buyer has been refunded","dispute_status": "closed","decision": "completed","mediator_id": null,"created_at": "2020-05-01T14:57:40.000000Z"},{"dispute_id": "ZcpW5dsupIIJ8uK9","transaction_id": "QvC8epu9UT8OtTCCjmQI","reason": null,"dispute_status": "closed","decision": "completed","mediator_id": null,"created_at": "2020-05-01T14:58:02.000000Z"}]}