Response Property | Policy Discounts Data

For HTTP Status Code = 200

connection_idStringUnique identification for each policy request.No
placement_idStringId of Fize modal in application. Eg; placement_1No
dataJSONThis contains data corresponding to policy request.No
data.policy_dataJSONThis contains policies data corresponding to policy request.No
data.policy_data.versionNumberThis contains policy version corresponding to policy request. Eg; 1.1No
data.policy_data.carrier_display_nameStringThis contains carrier's display name. Eg; AllstateNo
data.policy_data.carrier_logoStringThis contains url of carrier logo.No
data.policy_data.carrierStringThis contains carrier name.No
data.policy_data.policiesJSONThis contains policies data of policy request for specific connection_id.No
data.policy_data.policies[].fz_policy_numberStringIt is the unique identification give by Fize platform assign to policyNo
data.policy_data.policies[].policy_typeStringIt is the policy type value of policy.No
data.policy_data.policies[].policy_numberStringIt is the policy number value of policy.No
data.policy_data.policies[].discounts[]JSON[Policy Discount]It is discount data of policyNo
    "connection_id": "ci_abf621e5bab043=",
    "placement_id": "1",
    "data": {
        "policy_data": {
            "version": 2,
            "carrier_display_name": "GEICO",
            "carrier_logo": "",
            "carrier": "geico",
            "policies": [
                    "carrier": "geico",
                    "fz_policy_number": "po_0c700ca28e5b4015",
                    "policy_type": "Home",
                    "policy_number": "P1234",
                    "policy_discount": {
                        "total_discount": null,
                        "monthly_total_discount": 404,
                        "discounts": [
                                "discount_type": "California Good Drive",
                                "discount": null,
                                "monthly_discount": 30

For HTTP Status Code != 200

typeEnum("success" , "failure")Value of this property defines whether the request made is succeeded or failed processing.
codeCommon Status Code or Policy Status CodeDefines a status code to denote the status of Policy data acquisition by the client
http_status_codeIntegerThis property contains HTTP status code. Range: 100 - 199 or 201 - 599
messageStringThis property contains message corresponding to code property
    "type": "failure",
    "http_status_code": 400,
    "message": "Invalid connection_id"