To initiate the setup process for Stripe Connect's standalone account, the first crucial step is obtaining the user's permission in order to establish the connection.
This initial interaction can be facilitated by directing the user to the following URL:
https://connect.stripe.com/oauth/authorize?response_type=code&client_id=[MY-CLIENT-ID]&scope=read_write
Once the user has granted permission, they will then be redirected to a specific reference URL which includes relevant parameters:
my.urlofreference.com/#!/page/account?scope=read_write&code=[AN-ACCESS_CODE]
The lingering question now is, how does one capture the [AN-ACCESS-CODE] provided when a user visits the redirect URL
my.urlofreference.com/#!/page/account
?
Your insights and assistance on this matter would be greatly appreciated. Thank you in advance!