Action
Using your refresh token we can make this call to get a new heavy token.
Method | POST |
Endpoint | https://api.nedbank.co.za/apimarket/sandbox/nboauth/oauth20/token |
Using your refresh token we can make this call to get a new heavy token.
Method | POST |
Endpoint | https://api.nedbank.co.za/apimarket/sandbox/nboauth/oauth20/token |
Header | Value | Description |
---|---|---|
Accept | application/json | The data type the endpoint will accept |
Content-Type | application/x-www-form-urlencoded | The data type being sent to the endpoint. |
Field | Value | Description |
---|---|---|
client_id | <YOUR CLIENT ID> | The client ID you received when creating the app in the portal. |
client_secret | <YOUR CLIENT SECRET> | The client secret you received when creating the app in the portal. |
grant_type | refresh_token | The grant type to be used. |
refresh_token | <YOUR REFRESH TOKEN> | The refresh token you received when you are making heavy token call. |
redirect_uri | <YOUR REDIRECT URI> | Replace with the redirect uri you used in the previous call. |
Sample Body
grant_type=refresh_token&client_id={CLIENT_ID}&client_secret={CLIENT_SECRET}&redirect_uri={REDIRECT_URI}&refresh_token={REFRESH_TOKEN}
{
"token_type": "bearer",
"access_token": "I3YLGI2gs30aCU4rnalg",
"expires_in": 3599,
"scope": "openid redemptions",
"refresh_token": "ggvHpaauYTHC0LetggzFvVZ8Tl5Q6EK7eeBPEMlf"
}