getChargeIntent

Retrieves a single charge intent by its ID.

Return

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

Parameters

intentId

The ID of the charge intent to retrieve.


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

Retrieves a single charge intent by its ID.

Parameters

intentId

The ID of the charge intent to retrieve.

completionHandler

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