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

20 Refresh Heavy Token

Action

This endpoint can be called to refresh the heavy token. The refreshed heavy token can be used only at "Get Wallet by ID" to retrive the wallet details.

Conditions to Refresh Heavy Token

1.The intent that is created must contain "ReadBalance" permission.
2.The intent has to be approved.
3.The intent has been created within the last 30 days.

Method GET
Endpoint https://api.nedbank.co.za/apimarket/sandbox/nb-wallet/wallets/<WALLET_ID>/identity/customer/approve
Request
Headers
Header Value Description
Authorization Bearer <ACCESS_TOKEN> Replace <ACCESS_TOKEN> with the access token you received from the Light Token step.
x-ibm-client-id <YOUR CLIENT ID> The client ID you received when creating the app on the portal.
x-ibm-client-secret <YOUR CLIENT SECRET> The client secret you received when creating the app on the portal.
redirect_uri <YOUR REDIRECT URI> The redirect URI of your app.
wallet-id <WALLET ID> The WalletId you received in the Wallet Details step.
grant_type refresh_token The grant type of the request.
callback-id <CallbackId> The callbackId you received in the Request Heavy Token step.
x-nb-subscription-id <Subscription ID> The Subscription ID you received in the create intent call.
scope openid,ias,bcustomers,wallet,onboarding The scope of the request.
Response json
                            
{
  "access_token": "nArfwDq140R7H6uqJg",
  "refresh_token": "",
  "scope": "openid,ias,bcustomers,wallet,onboarding",
  "token_type": "bearer",
  "expires_in": 3599
}