Hi
My web application asks clients to move their MCCs under my account so that the web app can manage the account. To do so, I want to send and accept a merge invitation of the account.
The client will be asked to give our app access to their account, and I am given an Auth Code.
Using the AuthCode, I call
oAuth2Provider.FetchAccessAndRefreshTokens(AuthCode)
And then store the resulting refresh token with their client customer id.
I then want to use that refresh token hours later to make the API calls that will send and accept the invitation. How do I request a new Access Token given the stored Refresh Token? I am not storing the client's account client_secret, just the refresh token and Client Customer Id.
i have tried:
oAuth2Provider.RefreshToken = RefreshToken
oAuth2Provider.RefreshAccessToken()
but this doesn't work.