confirmChargeIntent

Confirms a charge intent, triggering payment processing.

Return

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

Parameters

intentId

The ID of the charge intent to confirm.


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

Confirms a charge intent, triggering payment processing.

Parameters

intentId

The ID of the charge intent to confirm.

completionHandler

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