#ravinder-no-token-plaid

1 messages ยท Page 1 of 1 (latest)

final shard
#

Hello ๐Ÿ‘‹
Give me a moment to catch up here, thanks ๐Ÿ™‚

finite star
#

๐Ÿ‘‹

#

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.

ref: https://plaid.com/docs/auth/partnerships/stripe/

thorny yoke
#

๐Ÿ‘‹ stepping in here.

#

So you are trying to tokenize with Plaid on your platform and use that bank account on a Connected Account?

finite star
#

@thorny yoke yes, you are correct

#

i got this bank account id from plaid

thorny yoke
finite star
#

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?

thorny yoke
#

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?

finite star
#

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

thorny yoke
#

What type of Connected account is it?

finite star
#

Direct account

thorny yoke
#

Standard?

finite star
#

yesr

thorny yoke
#

Was it created via your platform?

#

Or it was created on its own first then connected to your platform?

finite star
#

it was created on its own first and then connected to your platform

thorny yoke
#

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

finite star
#

but if I will go with your suggestion then we have to ask main stripe account api key, right?

thorny yoke
#

I'm not sure what you mean by that exactly

finite star
#

can you tell me which account API key we need to initiate StripeClient?

connected account or standard account or both

thorny yoke
finite star
#

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?

thorny yoke
#

The Stripe account that is Connected to Plaid is where the bank account token will be created

finite star
#

so technically I am using two different Stripe accounts, right?
one on website and second on plaid

thorny yoke
#

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)

finite star
#

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?

thorny yoke
#

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?

finite star
#

yes, you are right

thorny yoke
#

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

finite star
#

I am getting same error

#

i am not able to save source to customer

thorny yoke
#

Can you provide the request ID?

#

Are you attaching the bank account to a customer on your platform first?

finite star
#

yes, i am doing that

thorny yoke
#

Okay please share the request ID so I can take a look!

finite star
#

req_Rxkz9tb7TgpAbF

thorny yoke
#

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

ripe saddle
#

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

finite star
#

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

ripe saddle
#

What is the relationship of acct_1CPAoXIXAFKOeVM9 to acct_1GkAMKFiakRwvTTg?

finite star
#

both account created after connected with same Stripe account

ripe saddle
#

Is one of the accounts a Platform? Is your account the platform?

finite star
#

platform means from which account I logged in to stripe, right?

ripe saddle
#

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

finite star
#

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

ripe saddle
#

The source used here belongs to acct_1GkAMKFiakRwvTTg. It cannot be accessed by acct_1CPAoXIXAFKOeVM9

finite star
#

i am not sure how token is generating with other account.

#

on plaid

#

i confirmed that i am onboarded with give_test

ripe saddle
#

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?