verifyPaymentIntentWithMicrodeposits

fun verifyPaymentIntentWithMicrodeposits(clientSecret: String, firstAmount: Int, secondAmount: Int, callback: ApiResultCallback<PaymentIntent>)

Verify a customer's bank account with micro-deposits

This function should only be called when the PaymentIntent is in the requires_action state and NextActionType is VerifyWithMicrodeposits.

See the Verify bank account with micro-deposits docs for more details.

Parameters

clientSecret

The client secret of the PaymentIntent

firstAmount

The amount, in cents of USD, equal to the value of the first micro-deposit sent to the bank account

secondAmount

The amount, in cents of USD, equal to the value of the second micro-deposit sent to the bank account

callback

a ApiResultCallback to receive the result or error


Verify a customer's bank account with micro-deposits

This function should only be called when the PaymentIntent is in the requires_action state and NextActionType is VerifyWithMicrodeposits.

See the Verify bank account with micro-deposits docs for more details.

Parameters

clientSecret

The client secret of the PaymentIntent

descriptorCode

A unique, 6-digit descriptor code that starts with SM that was sent as statement descriptor to the bank account

callback

a ApiResultCallback to receive the result or error