Get Policy Product

Gets all of the available insurance policy products available to your channel.

Sample Response

{
    "statusCode": 200,
    "message": "successful operation",
    "data": {
        "policy": [
            {
                "policyCode": "INCOMEPROTECT",
                "policyName": "Income Protection Insurance",
                "description": "Protect your job against unforeseen risk",
                "duration": 12,
                "installment": "MONTHLY",
                "autoIssue": true,
                "perils": [
                    {
                        "name": "personalaccident",
                        "title": "Personal Accident",
                        "description": "policy peril description"
                    },
                    {
                        "name": "personalaccident2",
                        "title": "Personal Accident",
                        "description": "policy peril description"
                    },
                    {
                        "name": "personalaccident3",
                        "title": "Personal Accident",
                        "description": "policy peril description"
                    }
                ],
                "fieldGroups": [
                    {
                        "fieldGroupId": "HOMEADDRESS",
                        "title": "Home Address ",
                        "description": "field groups for the home address of the policy holder ",
                        "fields": [
                            {
                                "fieldId": "STREETNUMBER",
                                "title": "Street Number",
                                "fieldType": "string",
                                "optional": false,
                                "description": "street number of the policy holder",
                                "min": 255,
                                "max": 255
                            },
                            {
                                "fieldId": "STREETNAME",
                                "title": "Street Name ",
                                "fieldType": "string",
                                "optional": false,
                                "description": "street name of the policy holder",
                                "min": 255,
                                "max": 255
                            },
                            {
                                "fieldId": "CITY",
                                "title": "City",
                                "fieldType": "string",
                                "optional": false,
                                "description": "city of the policy holder",
                                "min": 255,
                                "max": 255
                            },
                            {
                                "fieldId": "COUNTRY",
                                "title": "Country",
                                "fieldType": "string",
                                "optional": false,
                                "description": "country of the policy holder ",
                                "min": 255,
                                "max": 255
                            },
                            {
                                "fieldId": "STATE",
                                "title": "State",
                                "fieldType": "string",
                                "optional": false,
                                "description": "state of the policy holder",
                                "min": 255,
                                "max": 255
                            }
                        ]
                    },
                    {
                        "fieldGroupId": "IDENTITY",
                        "title": "Identification",
                        "description": "field groups for identification requirement of the policy holder ",
                        "fields": [
                            {
                                "fieldId": "IDTYPE",
                                "title": "Identification Type ",
                                "fieldType": "string",
                                "optional": true,
                                "description": "the allowed identification type for the policy holder ",
                                "min": 255,
                                "max": 255
                            },
                            {
                                "fieldId": "IDNUMBER",
                                "title": "Identification Number",
                                "fieldType": "string",
                                "optional": true,
                                "description": "the identification number attached to the identification type ",
                                "min": 255,
                                "max": 255
                            }
                        ]
                    }
                ]
            }
        ],
        "total": 1,
        "totalPages": 1,
        "currentPage": 0
    }
}

Last updated