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

5 Create Quote

Action

Using your clientID, clientSecret (which you obtained when you created an application) and applicationReference which is retrieved in create insurance application call you will make a Post request using the endpoint to create a quote.

Method POST
Endpoint https://b2b-api.nedbank.co.za/apimarket/b2b-sb/shortterminsurance/v1/application/<APPLICATION_REFERENCE>/quotes
Note Replace <APPLICATION_REFERENCE> that you received in create insurance application step.
Request
Headers
Header Value Description
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.
Content-Type application/json The data type being sent to the endpoint.
Response JSON
                            
{
    "quoteReferenceNumber": "271658385771962",
    "status": "SUCCESS",
    "product": "NEDBANK INSURANCE",
    "policyFee": {
        "value": 0,
        "currency": "ZAR"
    },
    "totalPremium": {
        "value": 640.76,
        "currency": "ZAR"
    },
    "quoteItems": [
        {
            "type": "Motor",
            "items": [
                {
                    "status": "SUCCESS",
                    "itemreference": "1",
                    "premium": {
                        "value": 293.42,
                        "currency": "ZAR"
                    },
                    "sasria": {
                        "value": 2.02,
                        "currency": "ZAR"
                    }
                }
            ]
        },
        {
            "type": "Building",
            "items": [
                {
                    "status": "SUCCESS",
                    "itemreference": "2",
                    "premium": {
                        "value": 341.69,
                        "currency": "ZAR"
                    },
                    "sasria": {
                        "value": 3.63,
                        "currency": "ZAR"
                    }
                }
            ]
        }
    ]
}