Reputation: 16
I want to integrate another link from stripe on our backend dashboard for onboarding/linking existing "Standard" accounts.
I just want to create a dynamic onboarding account link like https://connect.stripe.com/oauth/authorize?redirect_uri=https://connect.stripe.com/hosted/oauth&client_id='client_id'&state='onboard_id'&response_type=code&scope=read_write&stripe_user[country]=US via API
Can anyone please help me to find out the way like how we can get above link in response of API?
I have already tried to check with below link https://stripe.com/docs/api/account_links/create
Upvotes: 0
Views: 489
Reputation: 2219
If by "account ID" you mean the client_id
query parameter, then it can be found in your Stripe dashboard at the bottom of the Connect settings page. I don't think this can be retrieved with the API, but this ID won't change so you can grab it from the dashboard and store it on your end to reuse it later.
Upvotes: 0