Action
Using the code returned with the redirect uri, you must call this endpoint to get an access token for the submission call.
Method | POST |
Endpoint | https://api.nedbank.co.za/apimarket/sandbox/nboauth/oauth20/token |
Using the code returned with the redirect uri, you must call this endpoint to get an access token for the submission call.
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. |
redirect_uri | <REDIRECT URI> | Replace with the redirect uri you used in the previous call. |
code | <CODE> | Replace with the code you received from the customer authorisation call. |
grant_type | authorization_code | the grant type to be used |
{
"access_token": "AFYLGI2gs30aCU4rnalg",
"refresh_token": "EkvHpaauYTHC0LetggzFvVZ8Tl5Q6EK7eeBPEMlf",
"scope": "openid customers",
"id_token": "eyJraWQiOiJqbTlRZEpMZ2w3UFNGRTVrdUxIblBibWVzdEdRcFRDNTNQX2Z1NEstWTJrIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiU212MUxrNmNUemswREQ3d3lUYWozQSIsImlhdCI6MTUzNTQ1NTk0OCwiaXNzIjoiaHR0cHM6Ly9uZWRiYW5rLmNvLnphIiwiYXRfaGFzaCI6ImkyVUNhSFlUejh0RmtraWowdm5Ed2ciLCJzdWIiOiI0ODI3NTQyODI3IiwiZXhwIjoxNTM1NDU5NTQ4LCJhdWQiOiI4YzE2MTEzNi03OTg4LTQ2MzEtODQxYy05NWEyNDgxNTE0OTEifQ.Ip1JbuMtz-_zCODMQ52otoUK2LQrSV__270U43mZ8nE1wbO7GhPnbdZsX9Pc4KZBStgWm07DmqABAt2lY3hi1Aseq1OYW-lnk0T8qF2sX27rv2aPzb8lYLTejvgtS86c1uLKSXl6bt_F6gofE4J7LlOA7TKa3oR1g9caUpWyP-6xwj5-J_AFuYM7BCEXfeyiy_L-cw4uoEhL0YAI-K9iCXLqEZ21FpbxhnkNIP7z6JDLQ1i_n0c8fOfQuItUuQu_qbNdt7uRH9xdlo4mt5RttZ07_HIvlpMycaiEJkvD1Cy9obTRiUJaA71ydWoGwEQ2ItRlDrSm3YjvN-mVtVlMug",
"token_type": "bearer",
"expires_in": 3599
}