unblockPaymentMethodWith

Unblocks a previously blocked payment method, restoring its ability to be used for transactions.

Return

A pair of the updated payment method and a networking error.

Parameters

paymentMethodId

The unique identifier of the payment method to unblock.


fun unblockPaymentMethodWith(paymentMethodId: String, completionHandler: (FrameObjects.PaymentMethod?, NetworkingError?) -> Unit)

Unblocks a previously blocked payment method and delivers the result to a callback.

Parameters

paymentMethodId

The unique identifier of the payment method to unblock.

completionHandler

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