GetOAuthAccessToken
Gets an authentication token from WaveFinancial.
Input
Name | Type | Required | Description |
AuthMode | String | False | 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 | False | A comma-separated list of permissions to request from the user. Please check the WaveFinancial API for a list of available permissions.
The default value is account:read business:read customer:read invoice:read product:read sales_tax:read user:read vendor:read. |
Verifier | String | False | The verifier token returned by WaveFinancial after using the URL obtained with GetOAuthAuthorizationURL. Required for only the Web AuthMode. |
CallbackUrl | String | False | The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL in the WaveFinancial app settings. |
Result Set Columns
Name | Type | Description |
OAuthAccessToken | String | The access token used for communication with WaveFinancial. |
OAuthRefreshToken | String | A token that may be used to obtain a new access token. |
ExpiresIn | String | The remaining lifetime on the access token. A -1 denotes that it will not expire. |