You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jarcoal Thanks for the report! We'll look into fixing this.
You should not have to make this call today in your integration though. When you connect an account to your platform in Live mode you automatically get access to Test mode on their account. Most integrations should be using the platform's API request and pass the connected account id in the Stripe-Account header instead as documented here. This should unblock you and remove the need to make that call.
As for the Stripe-Account header, I didn't understand how to use that at first, but after some playing around with it today I see how it's easier than juggling access tokens. I'll move forward with that technique.
Unlike most of the stripe object methods, stripe.OAuth.token doesn't offer a way to pass in an
api_key
to override the global API key.This capability is necessary to generate test access tokens from a production refresh token: https://stripe.com/docs/connect/testing#test-keys-for-livemode-applications
The text was updated successfully, but these errors were encountered: