## Verify with micro-deposits for setup `stripe.verifyMicrodepositsForSetup(clientSecret: string, data?: object)` Use `stripe.verifyMicrodepositsForSetup` in the [Save details for future payments with pre-authorized debit in Canada](https://docs.stripe.com/payments/acss-debit/set-up-payment.md) or [Save details for future payments with ACH Direct Debit](https://docs.stripe.com/payments/ach-direct-debit/set-up-payment.md) flow to verify a customer's bank account with micro-deposits. It should be only called when [SetupIntent](https://docs.stripe.com/api/setup_intents.md) is in the `requires_action` state, and contains a `next_action` field that has a `type` equal to `verify_with_microdeposits`. Refer to our [integration guide](https://docs.stripe.com/payments/acss-debit/set-up-payment.md) for more details. > Verification can fail for several reasons. The failure may happen synchronously as a direct error response, or asynchronously through a `payment_intent.payment_failed` webhook event. > Refer to our [integration guide](https://docs.stripe.com/payments/acss-debit/accept-a-payment.md) for more details. - `clientSecret` The [client secret](https://docs.stripe.com/api/setup_intents/object.md#setup_intent_object-client_secret) of the `SetupIntent`. - `data` Data to be sent with the request. - `amounts` An array of two positive integers, in *cents*, equal to the values of the micro-deposits sent to the bank account. - `descriptor_code` A six-character code starting with SM present in the microdeposit sent to the bank account. ### Example ```title Verify with micro-deposits for setup ```