- After Clicking on 'Authorize' button, at your redirected URI it will give you Authorization code.
- After getting Authorization code you should make post request to get details of connected user account.
It will give you json
like this
{
"token_type": "bearer",
"stripe_publishable_key": PUBLISHABLE_KEY,
"scope": "read_write",
"livemode": false,
"stripe_user_id": USER_ID,
"refresh_token": REFRESH_TOKEN,
"access_token": ACCESS_TOKEN
}
- Now by using USER_ID and ACCESS_TOKEN and REFRESH_TOKEN, you can make charges on connected user account.