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

8 Partial Update (put) a personal loan request resource with loan offer selection based on user action.

Action

Using your light access token, make a call to update (put) a personal loan request resource with loan offer selection based on user action.


Method PUT
Endpoint https://api.nedbank.co.za/apimarket/sandbox/open-banking/v1/personal-loan-requests/<PersonalLoanRequestId>
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 intent access token (light token). 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
                                
{
  "SelectedOffer": "OFFER_ID"
}
                                
                                
Response JSON
                            
{
    "Data": {
        "LoanRequestId": "3611cdb2-7abd-4737-94f2-b80d7e5dd45d",
        "Status": "Authorised",
        "SelectedOffer": "608051",
        "CreationDateTime": "2020-06-10T11:46:27.506Z",
        "Permissions": [
            "ReadPersonalLoanOffers",
            "ReadSalaryInformation",
            "SubmitPersonalLoanAcceptance"
        ],
        "ExpirationDateTime": "2028-10-05T11:53:47.909Z",
        "LoanAmount": "5000"
    },
    "Links": {
        "self": "http://localhost:3000/api/open-banking/v1/personal-loan-requests/3611cdb2-7abd-4737-94f2-b80d7e5dd45d"
    },
    "Meta": {
        "total-pages": 1
    }
}
                            
                        

Now you have to show the user the terms and conditions, disclaimers, disclosures, from the detailed offer entity.