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

2 Request Accounts intent ID

Action

Using the Accounts intent access token you received in the previous call, proceed to make an accounts intent call to receive an Account request ID using the endpoint and values below.


Method POST
Endpoint https://api.nedbank.co.za/apimarket/sandbox/open-banking/account-requests
Request
Headers
Header Value Description
Content-Type application/json The data type being sent to the endpoint
x-fapi-financial-id OB/2017/001 Financial ID
Authorization Bearer <ACCESS_TOKEN> The access token you received from the previous call. Replace <ACCESS_TOKEN> with the access token you received.
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.

Body JSON
                            
{
  "Data": {
    "Permissions": [
      "ReadAccountsDetail",
      "ReadBalances",
      "ReadBeneficiariesDetail",
      "ReadDirectDebits",
      "ReadProducts",
      "ReadStandingOrdersDetail",
      "ReadTransactionsCredits",
      "ReadTransactionsDebits",
      "ReadTransactionsDetail"
    ],
    "ExpirationDateTime": "2021-05-02T00:00:00-00:00",
    "TransactionFromDateTime": "2017-05-03T00:00:00-00:00",
    "TransactionToDateTime": "2017-12-03T00:00:00-00:00"
  },
  "Risk": {}
}
                            
                            
Response JSON
                    
{
    "Data": {
        "AccountRequestId": "e8d082b3-c759-42e6-b1b0-043b91067c43",
        "Status": "AwaitingAuthentication",
        "CreationDateTime": "2018-08-30T08:22:14.305Z",
        "Permissions": [
            "ReadAccountsDetail",
            "ReadBalances",
            "ReadBeneficiariesDetail",
            "ReadDirectDebits",
            "ReadProducts",
            "ReadStandingOrdersDetail",
            "ReadTransactionsCredits",
            "ReadTransactionsDebits",
            "ReadTransactionsDetail"
        ],
        "ExpirationDateTime": "2021-05-02T00:00:00-00:00",
        "TransactionFromDateTime": "2017-05-03T00:00:00-00:00",
        "TransactionToDateTime": "2017-12-03T00:00:00-00:00"
    },
    "Risk": {},
    "Links": {
        "self": "http://localhost:3000/api/open-banking/account-requests/e8d082b3-c759-42e6-b1b0-043b91067c43"
    },
    "Meta": {
        "total-pages": 1
    }
}          
                    
                    

You now have an AccountRequestID. Take note of it as you are going to use it in the next call.