Issue while creating token with bank account with IBAN.
See original GitHub issueWhen creating a token with a bank account like so:
const tokenParams = {
accountNumber: this.state.ibanInput,
countryCode: 'es',
currency: 'eur',
accountHolderName: this.state.bankOwnerName,
accountHolderType: this.state.type
};
stripe.createTokenWithBankAccount(tokenParams)
.then(token => console.log(token))
.catch(err => console.log('error while creating token from bank account:', err));
I see the following error:
Error: You cannot use a live bank account number when making transfers or debits in test mode
The app is for Spain so for accountNumber
I am providing an IBAN (maybe this is the issue?).
But the Stripe docs do say that you can do this in Spain. I was looking into #208.
I am not doing transfers or debits, just creating a token to connect the bank account to a stripe account (using Stripe-Connect here). Where can I find a “test” bank account or where can I enable creating tokens with real bank accounts?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Create a bank account token - Stripe API reference
Creates a single-use token that represents a bank account's details. This token can be used with any API method in place of a...
Read more >Bank Integration - developer.token.io
The Token Bank Integration Java SDK simplifies handling the TokenOS ... When a user wants to set up Token with her bank accounts...
Read more >Auth - API - Plaid
API reference for Auth endpoints and webhooks. Retrieve bank account information to set up electronic funds transfers, such as ACH payments in the...
Read more >Frequently Asked Questions / Help - CMB Online Banking
We stopped issuing new e-Passes. As long as you have not activated e-Code (soft token) you can use your existing e-Pass. When you...
Read more >Error codes and messages - Adyen Docs
Payout party/account BIC/Swift invalid. Bank/mt940 - Invalid BIC/Swift in co-relation to countryCode . Exceeded IBAN characters/digits. 163 - ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes I did, I was missing out on the
countryCode: 'de', // required field
.Thanks!!
@wmonecke Can you try one of this test numbers (choose IBAN options from dropdown)? Looks like in test mode Stripe assumes that any number that isn’t explicitly one of their test numbers is a potentially real account.