Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Verify Microdeposits For Setup


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 or Save details for future payments with ACH Direct Debit flow to verify a customer's bank account with micro-deposits. It should be only called when SetupIntent 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 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 for more details. - clientSecret The 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

Last verified 2026-09-24

Is this helpful?