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

5 Get customer details/profile

Action

Using the heavy access token you received from the previous step, you will call the customers details endpoint to get the customer's full profile.


Method GET
Endpoint https://api.nedbank.co.za/apimarket/sandbox/open-banking/customers
Request
Headers
Header Value Description
x-fapi-financial-id OB/2017/001 Financial ID.
Authorization Bearer <ACCESS_TOKEN> Replace <ACCESS_TOKEN> with the heavy/submission access token you received from the previous call.
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.
Response JSON
                        
{
    "Data": [
        {
            "Prefix": "MR",
            "FirstName": "JOHN",
            "MiddleName": "",
            "LastName": "DOE",
            "FullName": "MR JOHN DOE",
            "BirthDate": "1960-01-01T00:00:00.0",
            "Gender": "M",
            "MaritalStatus": "MARRIED",
            "Email": "ABC@EMAIL.COM",
            "Address": [
                {
                    "Type": "Residential",
                    "Line": [
                        "50 HAPPY ROAD"
                    ],
                    "City": "PIETERMARITZBURG",
                    "Province": "",
                    "PostalCode": "00000",
                    "Country": "SOUTH AFRICA"
                },
                {
                    "Type": "Postal",
                    "Line": [
                        "PO BOX 00000"
                    ],
                    "City": "PIETERMARITZBURG",
                    "Province": "",
                    "PostalCode": "00000",
                    "Country": "SOUTH AFRICA"
                }
            ],
            "Contact": [
                {
                    "Type": "Bus",
                    "Value": "(012)3456789"
                },
                {
                    "Type": "Work",
                    "Value": "(012) 5678900"
                },
                {
                    "Type": "Cell",
                    "Value": "0123456789"
                },
                {
                    "Type": "Email",
                    "Value": "ABC@EMAIL.COM"
                },
                {
                    "Type": "Home",
                    "Value": "(012)3456789"
                }
            ],
            "Identity": [
                {
                    "Type": "Id",
                    "Identification": "0123456789000"
                },
                {
                    "Type": "NedbankCustomerID",
                    "Identification": "012345678900"
                }
            ]
        }
    ],
    "Links": {
        "self": "http://localhost:3000/api/open-banking/customers"
    },
    "Meta": {
        "total-pages": 1
    }
}