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

2 Request Rewards intent ID

Action

Using the Rewards intent access token you received in the previous call, proceed to make a rewards intent call to receive a subscription ID using the endpoint and values below.


Method POST
Endpoint https://api.nedbank.co.za/apimarket/sandbox/open-banking/v1/subscriptions
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 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":["ReadBalances", "ReadAccounts"],
                    "ExpirationDateTime": "2029-05-02T00:00:00-00:00"
                },
                "Risk": {}
            }
                                
                                
Response JSON
                            
{
    "Data": {
        "subscription_id": "7cc68ffb-46f3-4b83-9b6f-98eb19cfb304",
        "Status": "AwaitingAuthorisation",
        "CreationDateTime": "2020-05-11T05:26:13.380Z",
        "Permissions": [
            "ReadBalances",
            "ReadAccounts"
        ],
        "ExpirationDateTime": "2029-05-02T00:00:00-00:00"
    },
    "Risk": {},
    "Links": {
        "self": "http://localhost:3000/api/open-banking/v1/subscriptions/7cc68ffb-46f3-4b83-9b6f-98eb19cfb304"
    },
    "Meta": {
        "total-pages": 1
    }
}