Skip to main content

Get Dispute

Endpoint for getting a Dispute.

info

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

GET /api/v1/groups/{group_id}/revere_pay/{linked_account_id}/disputes/{id}

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: 'GET',
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}`,
requestOptions
)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.log('error', error));

Example Success Response

{
"id": "58a9771d-8ba1-4092-b47b-3cea979ef9c8",
"name": "John Doe",
"transaction_id": "83cc5905-4f1a-4667-97f2-a280c2ebf218",
"amount": 2785,
"phase": "chargeback",
"status": "expired",
"respond_by": "2024-08-12T12:30:01Z",
"created_at": "2024-08-12T11:30:01Z",
"updated_at": "2024-08-12T17:00:31.326991Z"
}