#Vadim Tabaran

1 messages · Page 1 of 1 (latest)

wary masonBOT
quiet juniper
#

here is the code samples:

$this->client->setupIntentsCreate([
    'customer' => $referenceId,
    'payment_method_types' => ['card', 'sepa_debit', 'us_bank_account'],
    'payment_method_options' => [
        'us_bank_account' => [
            'verification_method' => 'instant',
            'financial_connections' => ['permissions' => ['payment_method', 'balances']],
        ],
    ],
])

stripe.collectBankAccountForSetup({
    clientSecret: response.clientSecret,
    params: {
        payment_method_type: 'us_bank_account',
        payment_method_data: {
            billing_details: {
                name: '...',
                email: '...',
            },
        },
    },
    expand: ['payment_method'],
    })
    .then(() => {...});

minor nest
#

Hello 👋
In test mode, if I remember correctly the modal shows various buttons for different usecases
In live mode, the user would be asked to login with their bank credentials

quiet juniper
#

oh, the credentials will be added by user into STRIPE interface?

minor nest
#

If they choose to perform manual verification (using microdeposit flow) then they get an option to add the bank account details in the modal

#

correct

quiet juniper
#

looks like I got it, thank you!