#eric_70104

1 messages ยท Page 1 of 1 (latest)

marble aspenBOT
median star
#

Hello! Can you give me some more details? What API calls are you making? Are you following a particular doc?

languid robin
#

I am tokenizing a bank account and adding it to a connect account

median star
#

Can you share the request ID that's tokenizing the bank account?

languid robin
#

req_jcLSmaofvNuWNK

median star
#

Are you using stripe.createToken client-side? What does your code look like?

languid robin
#

Ahhh, I see now

#

I am defaulting to usd

#

function tokenizeBankAccount(country, accountHolderName, accountNumber, routingNumber) {

var result = stripe.createToken('bank_account', {
    country: country,
    currency: 'usd',
    account_holder_name: accountHolderName,
    account_holder_type: 'individual',
    routing_number: routingNumber,
    account_number: accountNumber,
}).then(function (result) {
    return result;
});
return result;

}

median star
#

๐Ÿ‘ awesome - figured it was something along those lines

#

I'm glad it was easy to find!

languid robin
#

If I leave if blank, will it default to cad?

median star
#

I believe it's required, so you wouldn't be able to leave it blank

languid robin
#

๐Ÿ‘