#ravinder-no-token-plaid
1 messages ยท Page 1 of 1 (latest)
๐
Once you have identified the account you will use, you will send Plaid the account_id property of the account along with the access_token you obtained from /item/public_token/exchange. Plaid will automatically create and return a Stripe bank account token for this account, which can then be used to move money via Stripe's ACH API. The bank account token will be linked to the Stripe account you linked in your Plaid Dashboard.
Note that the Stripe bank account token is a one-time use token. To store bank account information for later use, you can use a Stripe customer object and create an associated bank account from the token, or you can use a Stripe Custom account and create an associated external bank account from the token. This bank account information should work indefinitely, unless the user's bank account information changes or they revoke Plaid's permissions to access their account (when using certain financial institutions). The Plaid access_token, on the other hand, does not expire and should be persisted securely.
๐ stepping in here.
So you are trying to tokenize with Plaid on your platform and use that bank account on a Connected Account?
Gotcha, so in that case you want to attach the bank account to a customer on your platform and then clone it to the Connected Account to be able to use it on the Connected Account. See: https://stripe.com/docs/connect/cloning-customers-across-accounts
Let me check document
so you are saying that without implementing the above, this will not work, right?
I am confirming because it was working fine a few days before. Does anything change recentely?
Well it works on your platform
But you would need to link your Connected Account with Plaid to create the bank account on your Connected Account
I assume a few days ago you weren't doing this with Connect involved?
is it possible to link a connected account with plaid? because when i link stripe application in plaid dashboard, i get option to login and i always end up with linking main account only
What type of Connected account is it?
Direct account
Standard?
yesr
Was it created via your platform?
Or it was created on its own first then connected to your platform?
it was created on its own first and then connected to your platform
Okay then if you log in to that account you can go through the same onboarding process with Plaid that you went through with your platform
But you as the platform can't connect that account
Really if you are the platform controlling htings here then you should be going the route I described above and cloning the bank accounts
but if I will go with your suggestion then we have to ask main stripe account api key, right?
I'm not sure what you mean by that exactly
can you tell me which account API key we need to initiate StripeClient?
connected account or standard account or both
You would solely use your platform key. Then you pass the Stripe Account Header of the Connected Account (https://stripe.com/docs/connect/authentication) when you need to make requests on your Connected Account
i am working on a WordPress plugin
can you tell me to which Stripe account the plaid store that bank account before returning bank acocunt id?
The Stripe account that is Connected to Plaid is where the bank account token will be created
so technically I am using two different Stripe accounts, right?
one on website and second on plaid
No should be the same account
It is Connected to Plaid
And if you are using WordPress then WordPress is a plugin
Meaning it uses your Stripe account with their code (more or less)
In the WordPress plugin, I connected the plugin user Stripe account with my platform which has different API keys than my regular account. If I will make any API request with a connected account Stripe account key, does it reflect on the main stripe account like customer, payment etc?
What do you mean by "main stripe account"? Can you use "platform" and "connected account" so we are on the same page?
So your connected account is using WordPress
And you are asking if that account uses its API keys to create requests, where will those requests show up?
yes, you are right
Okay then those requests would appear on the Connected Account as that account's keys were used to make the request.
The request would not appear on your platform
Can you provide the request ID?
Are you attaching the bank account to a customer on your platform first?
yes, i am doing that
Okay please share the request ID so I can take a look!
req_Rxkz9tb7TgpAbF
Okay there seems to be some confusion here. There are now 3 different accounts interacting? That request is a GET request triggered by acct_19H2L0LyXkL8xusL which is trying to retrieve a bank token on acct_1CPAoXIXAFKOeVM9 but that token was actually created by Plaid on acct_1GkAMKFiakRwvTTg
So there seems to be quite a large mix up here
And you may need to back up a bit
I need to step away but my colleague is going to jump in to help further
Hi ๐ I'm stepping for @thorny yoke
I agree with my colleague that you may want to step back and identify all accounts involved and how they should relate
can you guide me on how can I access bank acount token on acct_1CPAoXIXAFKOeVM9 created by acct_1GkAMKFiakRwvTTg
i am not sure about acct_19H2L0LyXkL8xusL
What is the relationship of acct_1CPAoXIXAFKOeVM9 to acct_1GkAMKFiakRwvTTg?
both account created after connected with same Stripe account
Is one of the accounts a Platform? Is your account the platform?
platform means from which account I logged in to stripe, right?
Please read this doc thoroughly and make sure you understand the relationships between all accounts involved. This determines what you can and cannot do with the data associated with each account: https://stripe.com/docs/connect
Do we have same problem in request id req_wZtQI0xKa1pYaQ
i confirmed that i used acct_1CPAoXIXAFKOeVM9 account when connect stripe on plaid and our plateform app
The source used here belongs to acct_1GkAMKFiakRwvTTg. It cannot be accessed by acct_1CPAoXIXAFKOeVM9
i am not sure how token is generating with other account.
on plaid
i confirmed that i am onboarded with give_test
If you want to assign the bank account as a source to a Customer on a different account, the account where the Bank Account Source is created must be the Platform and the Account where the Customer lives must be a Connect Account linked to that platform
Which account is linked to Plaid?