voidRemainingChargeIntent

Voids the uncaptured remainder of a partially captured charge intent.

Return

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

Parameters

intentId

The ID of the charge intent whose remaining authorized amount should be voided.


fun voidRemainingChargeIntent(intentId: String, completionHandler: (ChargeIntent?, NetworkingError?) -> Unit)

Voids the uncaptured remainder of a partially captured charge intent.

Parameters

intentId

The ID of the charge intent whose remaining authorized amount should be voided.

completionHandler

Called with the updated ChargeIntent on success, or a NetworkingError on failure.