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

1 Request token (light)

Action

Using your ClientID and ClientSecret (which you obtained when you created an Application), you will make a POST request using the endpoint and values below to retrieve an Rewards Redemption Intent Access Token

Please note that in order to use this API, you will have to be subscribed to both the Nedbank Authorisation API and this API.


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_typeclient_credentialsThe grant type to be used
scopetpp_client_credentialScope of the api call

Sample Body

grant_type=client_credentials&client_id={CLIENT_ID}&client_secret={CLIENT_SECRET}&scope=tpp_client_credential
Response JSON
                        
{
    "access_token": "qG8veFilrGvDfVUDhI1x",
    "scope": "tpp_client_credential",
    "token_type": "bearer",
    "expires_in": 3599
}