GetOAuthAccessToken
Gets the OAuth access token from Stripe.
Input
Name | Type | Description |
Verifier | String | The verifier token returned by Stripe after using the URL obtained with GetOAuthAuthorizationURL. Required for only the Web AuthMode. |
AuthMode | String | Enter either APP or WEB. The type of authentication mode to use. Set to APP to get authentication tokens via a desktop app. Set to WEB to get authentication tokens via a Web app.
The default value is APP. |
Scope | String | The scope or permissions you are requesting.
The default value is read_write. |
CallbackUrl | String | The URL the user will be redirected to after authorizing your application. |
State | String | Indicates any state which may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to the Stripe authorization server and back. Uses include redirecting the user to the correct resource in your site, nonces, and cross-site-request-forgery mitigations. |
Result Set Columns
Name | Type | Description |
OAuthAccessToken | String | The OAuth token. |
OAuthRefreshToken | String | The OAuth refresh token. |
ExpiresIn | String | The remaining lifetime for the access token in seconds. |
AccountId | String | The Id of the user with which user has authenticated. |