#Jordy
1 messages · Page 1 of 1 (latest)
Hey toby
Hi 👋 I'm not sure I understand the question, could you try rephrasing it?
How are you making this request?
Post API
It's through a plugin so that's why I'm unsure
I'm looking into the developer logs and I can't see anywhere where there's an acct_XXXXXXX sent with it
The request will be associated with the Stripe account that owns the secret API key that is being used.
If you're able to see the request in your Stripe dashboard, then the request is associated with your account.
But I'm looking to see if it's associated with the account of the user who is updating their card
I'm not sure what that means. Are you trying to build a flow that leverages Stripe Connect?
acct_1MwrYHPSgmqJVkSp
Yes, I'm trying to send an api that will update this user's card so he'll be active instead of restricted
When trying to make a request for a Connected Account, you need to include the stripeAccount header. This section contains code snippets of what that looks like for each of our libraries:
https://site-admin.stripe.com/docs/api/connected_accounts
I also want to point out the card you're using doesn't look like one that will work as it is a test credit card. I would suggest trying our test debit card numbers instead:
https://stripe.com/docs/connect/testing#test-debit-card-numbers
Ok, I'll check this out