verifySetupIntentWithMicrodeposits
Suspend function to verify a customer's bank account with micro-deposits
This function should only be called when the SetupIntent is in the requires_action
state and NextActionType
is VerifyWithMicrodeposits.
See the Verify bank account with micro-deposits docs for more details.
Return
a SetupIntent object
Parameters
The client secret of the SetupIntent
The amount, in cents of USD, equal to the value of the first micro-deposit sent to the bank account
The amount, in cents of USD, equal to the value of the second micro-deposit sent to the bank account
Throws
failure to properly authenticate yourself (check your key)
your request has invalid parameters
failure to connect to Stripe's API
any other type of problem (for instance, a temporary issue with Stripe's servers)
Suspend function to verify a customer's bank account with micro-deposits
This function should only be called when the SetupIntent is in the requires_action
state and NextActionType
is VerifyWithMicrodeposits.
See the Verify bank account with micro-deposits docs for more details.
Return
a SetupIntent object
Parameters
The client secret of the SetupIntent
A unique, 6-digit descriptor code that starts with SM that was sent as statement descriptor to the bank account
Throws
failure to properly authenticate yourself (check your key)
your request has invalid parameters
failure to connect to Stripe's API
any other type of problem (for instance, a temporary issue with Stripe's servers)