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

1 Request Token (light)

Action

Using your client ID and client secret (which you obtained when you created an app), you will make a POST request using the endpoint and values below to retrieve a Wallet intent access token.

Please note that in order to use this API, you will have to be subscribed to both the Subscription API (To get the Subscription ID in Create Intent call) and Wallet 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 on the portal.
client_secret<YOUR CLIENT SECRET>The client secret you received when creating the app on 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
}