GetOAuthAccessToken
Gets the OAuth access token from eBay.
Input
Name | Type | Required | Description |
Verifier | String | False | The verifier token returned by EBay after using the URL obtained with GetOAuthAuthorizationURL. |
CallbackUrl | String | False | The URL the user will be redirected to after authorizing your application. |
RuName | String | False | The Redirect URL name of the OAuth App in the 'Application access' section. |
Scope | String | False | The scope or permissions you are requesting.
The default value is https://api.ebay.com/oauth/api_scope https://api.ebay.com/oauth/api_scope/sell.analytics.readonly. |
AuthMode | String | False | The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app.
The allowed values are APP, WEB. The default value is APP. |
State | String | False | An opaque value used by the client to maintain state between the request and callback. |
GrantType | String | False | The grant type for the OAuth flow.
The allowed values are CODE, CLIENT. |
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. |