Okada Insurance
Last updated
Last updated
The following endpoints will allow a merchant to subscribe their customer to the Okada insurance plan and request claims for their customers.
GET
https://sandbox.insurpass.com/api/merchant/okada_pass_product
Name | Type | Description |
---|---|---|
{
"success":true,
"response_message":"Okada pass product get successful",
"response_code":"",
"data":[
{
"id":15,
"name":"JEJE COVER",
"details":"JEJE COVER",
"beneficiaries":true,
"max_beneficiaries":3,
"provider_id":2,
"logo_url":"logo.png",
"enable":true,
"created_at":"2022-02-16T10:36:09.000000Z",
"updated_at":"2022-02-16T10:36:09.000000Z",
"service_id":8,
"product_class_id":0,
"price_config":[
{
"id":21,
"product_id":15,
"no_of_users":1,
"provider_price":"2300.00",
"coverdor_commission":"400.00",
"total_price":"2700.00",
"product_code":"jeje-cover-OKADA",
"product_short_code":"JJ_COVER",
"created_at":"2022-02-16T10:36:10.000000Z",
"updated_at":"2022-02-16T10:36:10.000000Z",
"system_commission":"400.00",
"amount_insured":"400000.00",
"commission_type":"fixed"
}
]
},
{
"id":16,
"name":"CARRY-GO COVER",
"details":"CARRY-GO COVER",
"beneficiaries":true,
"max_beneficiaries":3,
"provider_id":2,
"logo_url":"logo.png",
"enable":true,
"created_at":"2022-02-16T10:36:09.000000Z",
"updated_at":"2022-02-16T10:36:09.000000Z",
"service_id":8,
"product_class_id":0,
"price_config":[
{
"id":22,
"product_id":16,
"no_of_users":4,
"provider_price":"3400.00",
"coverdor_commission":"400.00",
"total_price":"3400.00",
"product_code":"carry_go_cover_OKADA",
"product_short_code":"CG_COVER_OKADA",
"created_at":"2022-02-16T10:36:10.000000Z",
"updated_at":"2022-02-16T10:36:10.000000Z",
"system_commission":"400.00",
"amount_insured":"500000.00",
"commission_type":"fixed"
}
]
},
{
"id":17,
"name":"NO-SHAKING COVER",
"details":"NO-SHAKING COVER",
"beneficiaries":true,
"max_beneficiaries":3,
"provider_id":2,
"logo_url":"logo.png",
"enable":true,
"created_at":"2022-02-16T10:36:09.000000Z",
"updated_at":"2022-02-16T10:36:09.000000Z",
"service_id":8,
"product_class_id":0,
"price_config":[
{
"id":23,
"product_id":17,
"no_of_users":4,
"provider_price":"3300.00",
"coverdor_commission":"400.00",
"total_price":"3700.00",
"product_code":"no_shaking_OKADA",
"product_short_code":"NK_OKADA",
"created_at":"2022-02-16T10:36:10.000000Z",
"updated_at":"2022-02-16T10:36:10.000000Z",
"system_commission":"400.00",
"amount_insured":"60000.00",
"commission_type":"fixed"
}
]
},
{
"id":18,
"name":"CONFAAM COVER",
"details":"CONFAAM COVER",
"beneficiaries":true,
"max_beneficiaries":3,
"provider_id":2,
"logo_url":"logo.png",
"enable":true,
"created_at":"2022-02-16T10:36:09.000000Z",
"updated_at":"2022-02-16T10:36:09.000000Z",
"service_id":8,
"product_class_id":0,
"price_config":[
{
"id":24,
"product_id":18,
"no_of_users":4,
"provider_price":"4300.00",
"coverdor_commission":"400.00",
"total_price":"4700.00",
"product_code":"confam_cover_OKADA",
"product_short_code":"CF_COVER_OKADA",
"created_at":"2022-02-16T10:36:10.000000Z",
"updated_at":"2022-02-16T10:36:10.000000Z",
"system_commission":"400.00",
"amount_insured":"600000.00",
"commission_type":"fixed"
}
]
},
{
"id":19,
"name":"DIGITAL BIKE COVER",
"details":"DIGITAL BIKE COVER",
"beneficiaries":true,
"max_beneficiaries":3,
"provider_id":2,
"logo_url":"logo.png",
"enable":true,
"created_at":"2022-02-16T10:36:09.000000Z",
"updated_at":"2022-02-16T10:36:09.000000Z",
"service_id":8,
"product_class_id":0,
"price_config":[
{
"id":25,
"product_id":19,
"no_of_users":4,
"provider_price":"10400.00",
"coverdor_commission":"400.00",
"total_price":"10400.00",
"product_code":"digital_bike_OKADA",
"product_short_code":"DIGITTAL_BIKE_BUS",
"created_at":"2022-02-16T10:36:10.000000Z",
"updated_at":"2022-02-16T10:36:10.000000Z",
"system_commission":"400.00",
"amount_insured":"600000.00",
"commission_type":"fixed"
}
]
}
]
}
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://sandbox.insurpass.com/api/merchant/okada_pass_product',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer {{SECRETKEY}}'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
var axios = require('axios');
var data = '';
var config = {
method: 'get',
url: 'https://sandbox.insurpass.com/api/merchant/okada_pass_product',
headers: {
'Authorization': 'Bearer {{SECRETKEY}}'
},
data: data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
curl --location --request GET https://sandbox.insurpass.com/api/merchant/okada_pass_product' \
--header 'Authorization: Bearer {{SECRETKEY}}' \
--header 'Accept: application/json' \
--data-raw ''
Authorization*
String
Bearer {$secret-key}/{$api-key}
Content-Type*
String
application/json