Skip to main content

Retrieve a single policy resource

GET 

/v1/policies/:identifier

Retrieve a policy by providing its ID or number

Request

Path Parameters

    identifier stringrequired

    An identifier of the policy. Can either be the id (default) or number.

Query Parameters

    using_policy_no integer

    Possible values: [0, 1]

    Set to 1 when policy number is used as identifier instead of ID

    Example: 0

Responses

OK

Schema
    data object

    Insurance policy

    id integer

    The unique ID of the policy

    number string

    The policy number

    description string

    The description of the policy

    start_date date

    The start date of the coverage

    end_date date

    The end date of the coverage

    status string

    Current status of the policy

    document_url string

    A url to download the polic document.

    customer object

    The the customer's information

    ref stringrequired

    Unique identifier for the customer on your system

    email stringrequired

    The customer's email address

    phone string
    first_name stringrequired
    last_name stringrequired
    insurer object

    An insurance provider

    code string

    The unique code of the insurer

    name string

    The name of the insurer

    logo_url string

    A link to the Insurer's logo

    terms_conditions string

    Insurer's terms and conditions

    order object

    An order for an insurance product

    id integer

    The unique ID of the order.

    status string

    the current status of the order.

    amount_due float

    the amount due for payment by partner, excluding the partner's commission

    policy_start_date date

    The date when the policy coverage is due to start

    asset_ref string

    An optional identifier for the asset the insurance covers. You may set this to a value that uniquley identifies the asset on your database.

    currency string

    The currency of all monetary parameters.

    channel string

    The channel through which the order was made.

    created_at date
    product object

    An individual insurance product or plan

    title string

    The name of the product

    code string

    The unique identifier for technical purposes

    id integer

    Unique Id of the product.

    insurer object

    An insurance provider

    code string

    The unique code of the insurer

    name string

    The name of the insurer

    logo_url string

    A link to the Insurer's logo

    terms_conditions string

    Insurer's terms and conditions

    product type object

    A major category of insurance e.g Health, Automobile, Life, Gadget, Goods in transit, etc

    name string

    The generally accepted human friendly name

    slug string

    The unique identifier for technical purposes

    cover-benefits object

    list of the nefits covered.

    created-at string

    Date of product creation

    price integer

    Price of product

    premium-type string

    Define the product premium tier.

    premium-rate-unit integer
    premium-rate number
    premium number
    partner-commision-rate number
    min-premium string
    premium-rules string
    premium_frequency string

    Possible values: [monthly, quarterly, annually]

    Default value: annually

    customer object

    The the customer's information

    ref stringrequired

    Unique identifier for the customer on your system

    email stringrequired

    The customer's email address

    phone string
    first_name stringrequired
    last_name stringrequired
    policy object

    The policy for which the order was made.

Loading...