void Remaining Charge Intent
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
intent Id
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
intent Id
The ID of the charge intent whose remaining authorized amount should be voided.
completion Handler
Called with the updated ChargeIntent on success, or a NetworkingError on failure.