Dispute
Dispute: Accept
Availability
Managing disputes via the API is only available to merchants who can access disputes in the
Braintree Control Panel.
- Promise
const result = gateway.dispute.accept("a_dispute_id");
- Promise
result.then((response) => {
if (response.success) {
// dispute successfully accepted
} else {
console.log(response.errors);
}
});