updateDispute

Updates an existing dispute with the supplied evidence details.

Return

A Pair containing the updated Dispute on success, or a NetworkingError on failure.

Parameters

disputeId

The unique identifier of the dispute to update.

request

The evidence and supporting details to submit for the dispute.


fun updateDispute(disputeId: String, request: DisputeRequests.UpdateDisputeRequest, completionHandler: (Dispute?, NetworkingError?) -> Unit)

Updates an existing dispute with the supplied evidence details and delivers the result via a callback.

Parameters

disputeId

The unique identifier of the dispute to update.

request

The evidence and supporting details to submit for the dispute.

completionHandler

Callback invoked with the updated Dispute on success, or a NetworkingError on failure.