Action
Using the subscriptionId you created in step 2, call the getCaseDetails endpoint to get the loan status.
Method | GET |
Endpoint | https://api.nedbank.co.za/apimarket/sandbox/open-banking/v1/loans/getcaseid |
Using the subscriptionId you created in step 2, call the getCaseDetails endpoint to get the loan status.
Method | GET |
Endpoint | https://api.nedbank.co.za/apimarket/sandbox/open-banking/v1/loans/getcaseid |
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. |
x-nb-subscription-id | <SUBSCRIPTION ID> | The subscription id you created on step 2. |
{
"Data": {
"ArrangementId": "1234543",
"CaseId": "100041234",
"LoanAmount": 2000,
"DateTimeLoanProvisioned": "10/03/2021 11:17:22",
"Status": "LOAN_ACCEPTED"
}
}
Status | Description |
---|---|
LOAN_ACCEPTED | The loan process was successful and the user accepted the loan. |
LOAN_DECLINED | The loan request was declined for this user. |
LOAN_PROCESS_FAILED | something went wrong requesting a loan for this user. |
DATA_REQUIRED | Something went wrong or user cancelled application before loan offers were calculated. |
LOAN_REJECTED_STAFF | The loan request was rejected because the user is a Nedbank staff member. |
LOAN_CALCULATED | Something went wrong or use cancelled application before a loan offer was accepted. |
LOAN_INITIALIZED | Something went wrong or user cancelled application before loan offers were calculated. |