Nedbank API Marketplace - First Contact

In my upcoming work on API Marketplaces, I detail the process of how to build the platform and ecosystem. In this series of posts, I wear the hat of a developer - the primary customer of the platform.

Published 08-11-2021

Disclaimer: I work for Nedbank and am extensively involved in the the API Marketplace platform.

Screenshot-2021-11-08-at-22.04.34-6

In my previous article (The key to your side hustle), I suggested how the humble API could help underpin your startup. In this post, I discuss how to get started with the Nedbank API Marketplace. The objective is to step you through the process to prepare for your first API call. I will also provide some insight into what goes on "behind the scenes" to help streamline your journey.

Step 1: The Marketplace Portal

To get started, navigate to the Nedbank API_Marketplace Portal. Feel free to click around and review some of the content. Remember, like any store, the APIs are products. This is the interface that you and your team will use to:

  1. understand the product and how it can benefit you;
  2. determine if it will fit your requirements; and
  3. learn how to interact with it.

A key difference is that the API Marketplace team encouarges feedback and active participation if there any queries. If you have any questions or would like to discuss a potential use-case, fill out the Contact Us form. If you suddenly find yourself in deeply technical documentation and start to feel overwhelmed, click on the friendly Nedbank logo (top left) or Home link to get back to "English".

Click on the Register your interest button -

Register your Interest

Before you submit the form, a few quick notes:

  1. As much as Nedbank would love to grant all third parties access to the API Marketplace, it is a Financial Institution and the security and privacy of the end customer will always come first.
  2. As you will note from the form requirements, a company registration number is required. Again, this is a mechanism to understand a bit more about the third party that wants to work with the bank.
  3. In much the same way that you would not show up to a meeting with a potential investor barefoot, it may also be a good idea to have a company email address instead of using ..@gmail.com. If you are a budding entrepreneuer and really want to come across as a professional outfit, you can sign up for an email domain with a provider like Afrihost from as little as R39/month.
  4. With that being said, if you are passionate about technology and would like to expand your universe of knowledge and don't have a company (yet), drop me a note. I might know someone who can help.

Once you complete and submit the form, you will see the following:

Register your Interest

Behind the Scenes

There is a flurry of activity as your request is received with great joy and anticipation as Nedbank looks forward to working with you. The team will review the request, verify the company information and the reason you would like to access the APIs. Again, following the rule of thumb of not making any "bomb jokes" on an airplane, spend some time and thought on providing details regarding your intended use of the API.

You will receive an email providing a bit more detail regarding the APIs you would like to access and Nedbank's regulatory requirements that must be maintained throughout the engagement. A key line in this mail, which I am particularly proud of is the following:

We welcome partnerships with FinTechs and we are happy to engage further on this topic.

I find this extremely encouraging - that a well-established Financial Institution in South Africa is keen to partner with third-parties. With deep insight into the organisation, I can confirm that this sentiment is a core ethos of the API Marketplace ecosystem.

You will also note that access to the API will be granted in a "test" environment, which we refer to as -

The Sandbox

In most API Marketplaces, you will come across the concept of a "Sandbox". This is a space where third-party developers can interact with and use the APIs without direct integration to backend systems. The intention is to provide a "mocked" interface which can be used for development, testing and review. This is done across all users of the API Marketplace and is an essential step in your journey.

Once you confirm by email reply that you understand the terms and conditions of the API usage and that you will use it responsibly, you will receive a second email confirming that access has been granted and a welcome notification will follow.

Welcome to the Nedbank API_Marketplace

The first mail contains an Activation Link for your user account. This will allow you to log into the API Marketplace portal.

User-ID-Activation-1

Once you have completed the form, click on "Activate" (as illustrated). You will be greeted with a "Log in" screen.

Screenshot-2021-10-25-at-14.57.19-1

Enter the username and password you just created and click Log in.

You now have:

  1. Username & Password to log into the API_Marketplace Portal

Support

While we pause temporarily to celebrate this milestone, I would like to highlight the following ways in which you can get assistance/support if you have any queries.

  1. Email: you can send an email to apimarketplace@nedbank.co.za
  2. Slack: You will receive an invite to join a Slack channel for more direct, interactive engagement.

Creating an Application

Navigate to My Applications

Screenshot-2021-10-25-at-14.58.09


You should see the following:

Screenshot-2021-10-25-at-14.59.03


Click on Create new App

It is important to understand the concept of an "Application" in the context of an API Platform -

  1. this is a way to group your use of API products;
  2. APIs can be used across different Applications;
  3. you can think of it as a trolley you use when you visit a store.

Go ahead and Register your application. Don't be intimidated by the OAuth Redirect URI. We will discuss how that fits in later. If you want, use the values from the image below.

register_application-1

Upon first view, the Application page looks like it has been screened by the security staff at Guatanamo Bay and key values have been masked. Again, don't be intimidated by this page. The reason for the masking of values is that these are the "keys" or "credentials" to your application. The "Client ID" is similar to your bank account number and the "Client secret" is your PIN. Be sure to keep this information highly confidential.

You can view the Client ID by clicking the Show checkbox -

Screenshot-2021-10-25-at-15.06.17-1

In the same way, the Client secret can be revealed by clicking the Show Client secret checkbox.

Screenshot-2021-10-25-at-15.05.34-1

Note: Due to the nature of the Client secret, it will be revealed only after Application creation. If for some reason you forget it, you will need to Reset it and a new value will be generated.

At the end of this step, it is important that you have the Application credentials - that is the Client ID and Client secret. Just to make sure we're on the same page, this is not the same as the Username and Password you use to log into the portal.

You now have:

  1. Username & Password to log into the API_Marketplace Portal
  2. Client ID & Client Secret for an "Application"

API Subscription

As you might recall, an Application is simply a grouping of API products. Continuing the analogy of an Application as a "shopping trolley", you need to add items (API products) to it. This is done through the process of "subscribing to an API". As you might have noticed when shopping on a Sunday, stores are not allowed to sell alcohol. These areas of the store are restricted. In the same way, some API products may be restricted (not just on Sunday) and may only be accessed by approved third parties.

Now that you understand what subscribing to an API means, let us step through the process -
Click on the Products link:

Screenshot-2021-10-25-at-15.22.57


Hover your mouse over the Accounts API

Nedbank-Accounts-API-1

You will see the Overview button appear. I can assure you that this piece of Javascript wizardry is not as easy as it appears.
Click on Overview

Nedbank-Accounts-API-2


Now click on Subscribe

Nedbank-Accounts-API---Subscribe-1

From the Plans section, click on Subscribe:

your-site-or-app-2


Select the Application you have just created and click Subscribe

Subscribe-1


You will then see a confirmation indicating that the API product has been subscribed (added) to your Application successfully:

Screenshot-2021-10-25-at-15.21.49

Now, repeat the above process and subscribe to the Authorisation API:

Screenshot-2021-11-08-at-15.15.22-1

Recap & Next Steps

If you have followed along with me, you have achieved quite a significant amount -

  • You have an understanding of the Nedbank API Marketplace Portal
  • You have registered a Developer account
  • You have created an Application
  • You have subscribed that Application to multiple API products

If you have any questions or suggestions regarding this guide, please feel free to connect with me via email (rennay@rennay.dev), Twitter or LinkedIn.

In our next instalment, we will make our first API calls. Hope you stay tuned in.

Read more