Links

Micro-health Insurance

The following endpoints will allow a merchant to subscribe their customer to the Shop insurance plan as well as request claims.

List All Products

get
https://sandbox.insurpass.com
/api/merchant/micro_health/products
This endpoint returns a list of all the micro-health products
PHP
NODE JS
CURL
1
<?php
2
3
$curl = curl_init();
4
5
curl_setopt_array($curl, array(
6
CURLOPT_URL => 'https://sandbox.insurpass.com/api/merchant/micro_health/products',
7
CURLOPT_RETURNTRANSFER => true,
8
CURLOPT_ENCODING => '',
9
CURLOPT_MAXREDIRS => 10,
10
CURLOPT_TIMEOUT => 0,
11
CURLOPT_FOLLOWLOCATION => true,
12
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
13
CURLOPT_CUSTOMREQUEST => 'GET',
14
CURLOPT_HTTPHEADER => array(
15
'Authorization:Bearer {{SECRETKEY}}'
16
),
17
));
18
19
$response = curl_exec($curl);
20
21
curl_close($curl);
22
echo $response;
var axios = require('axios');
var config = {
method: 'get',
url: 'https://sandbox.insurpass.com/api/merchant/micro_health/products',
headers: {
'Authorization': 'Bearer {{SECRETKEY}}'
}
};
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/micro_health/products' \
--header 'Authorization: Bearer {{SECRETKEY}}' \
--header 'Accept: application/json' \
--data-raw ''