Skip to main content

Accept Dispute

Endpoint for accepting a dispute.

info

Please be aware that this endpoint requires a View Transactions API Key.

PUT /api/v1/groups/{group_id}/revere_pay/{linked_account_id}/disputes/{id}/accept

Response

CodeDescription
200Success
400Bad Request / Validation error
500Internal Error

Example Usage

plans.js
var headers = new Headers();
headers.append('Authorization', 'API_KEY');

var requestOptions = {
method: 'PUT',
headers: headers,
redirect: 'follow'
};
const group_id = '';
const linked_account_id = '';
const id = '';
fetch(
`https://api.reverepayments.dev/api/v1/groups/${group_id}/revere_pay/${linked_account_id}/disputes/${id}/accept`,
requestOptions
)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.log('error', error));

Example Success Response

If the accept request was successful the response body will be null and the status code will be 200.