fbpx

Test

curl https://connect.stripe.com/oauth/token \ -d client_secret=sk_test_4eC39HqLyjWDarjtT1zdp7dc \ -d code="{AUTHORIZATION_CODE}" \ -d grant_type=authorization_code { "access_token": "{ACCESS_TOKEN}", "livemode": false, "refresh_token": "{REFRESH_TOKEN}", "token_type": "bearer", "stripe_publishable_key": "{PUBLISHABLE_KEY}", "stripe_user_id": "{ACCOUNT_ID}", "scope": "express" } { "error": "invalid_grant", "error_description": "Authorization code does not exist: {AUTHORIZATION_CODE}" }