Sorry, you need to enable JavaScript to visit this website.

7 Refresh heavy token

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
Request
Headers
HeaderValueDescription
Acceptapplication/jsonThe data type the endpoint will accept.
Content-Typeapplication/x-www-form-urlencodedThe data type being sent to the endpoint.

Body x-www-form-urlencoded
FieldValueDescription
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_typerefresh_tokenThe 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}
Response JSON
                        
{
    "token_type": "bearer",
    "access_token": "I3YLGI2gs30aCU4rnalg",
    "expires_in": 3599,
    "scope": "openid rewards",
    "refresh_token": "ggvHpaauYTHC0LetggzFvVZ8Tl5Q6EK7eeBPEMlf"
}