cancel Charge Intent
Cancels a charge intent, preventing it from being confirmed or captured.
Return
A Pair containing the updated ChargeIntent on success, or a NetworkingError on failure.
Parameters
intent Id
The ID of the charge intent to cancel.
fun cancelChargeIntent(intentId: String, completionHandler: (ChargeIntent?, NetworkingError?) -> Unit)
Cancels a charge intent, preventing it from being confirmed or captured.
Parameters
intent Id
The ID of the charge intent to cancel.
completion Handler
Called with the updated ChargeIntent on success, or a NetworkingError on failure.