#Amer Bearat

1 messages · Page 1 of 1 (latest)

inland mothBOT
lilac ingot
#

It looks like that request is being made on an account that doesn't have any Connect Accounts (acct_1MXULZHPXl4VPg9A)

#

In other words, the account you supplied (acct_1MgZv1K9mHIYl5Oa) is not a Connect Account that is attached to the Account that's making the request

severe blade
#

you saying the stripe_account should be of the connected account? How the secret key should be the platform account or connected account?

lilac ingot
#

Yeah, stripe_account is the parameter you pass in order to do some action on behalf of a Connect account. So as the platform, you pass in stripe_account in order to create the new Payment Method (i.e. clone it) on that account

severe blade
#

i still got the error req_wzuHEHbW3Cehv1

lilac ingot
#

This time, you're making a call as this account --> acct_1MXULZHPXl4VPg9A on behalf of this account --> acct_1MXULZHPXl4VPg9A

#

They're the same account.

#

You need to use the Platform account to make the request. Then you need to set the connect account ID as stripe_account

severe blade
#

okay i just did that and i got same error

#

req_RwXIEUVyvevzsJ

#

used platform account secret key and i set stripe_account to the connected account.

lilac ingot
#

It doesn't look like this account --> acct_1MXULZHPXl4VPg9A is connected to this account --> acct_1MgZv1K9mHIYl5Oa

severe blade
#

oh okay, how set the connection

lilac ingot