Links

Claim

Initiate Cash Reimbursement Claims

post
https://sandbox.insurpass.com
/api/merchants/micro_health/cash_raimbursement_claims
The endpoint initiates the creation of a Cash Reimbursement Micro Health claim.
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/cash_raimbursement_claims',
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 => 'POST',
14
CURLOPT_POSTFIELDS =>'{
15
"policy_number":"2062058003",
16
"proof_of_hospitalization":"https://meet.google.com/image.png",
17
"receipt_of_payment":"https://meet.google.com/image.png"
18
}',
19
CURLOPT_HTTPHEADER => array(
20
'Authorization: Bearer {{SECRETKEY}}',
21
'Content-Type: application/json'
22
),
23
));
24
25
$response = curl_exec($curl);
26
27
curl_close($curl);
28
echo $response;
1
var axios = require('axios');
2
var data = JSON.stringify({
3
"policy_number":"2062058003",
4
"proof_of_hospitalization":"https://meet.google.com/image.png",
5
"receipt_of_payment":"https://meet.google.com/image.png"
6
});
7
8
var config = {
9
method: 'post',
10
url: 'https://sandbox.insurpass.com/api/merchant/micro_health/cash_raimbursement_claims',
11
headers: {
12
'Authorization': 'Bearer {{SECRETKEY}}',
13
'Content-Type': 'application/json'
14
},
15
data: data
16
};
17
18
axios(config)
19
.then(function (response) {
20
console.log(JSON.stringify(response.data));
21
})
22
.catch(function (error) {
23
console.log(error);
24
})
curl --location --request POST https://sandbox.insurpass.com/api/merchants/micro_health/cash_raimbursement_claims' \
--header 'Authorization: Bearer {{SECRETKEY}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"policy_number":"2062058003",
"proof_of_hospitalization":"https://meet.google.com/image.png",
"receipt_of_payment":"https://meet.google.com/image.png"
}'

Initiate Funeral Expense Benefit Claims

post
https://sandbox.insurpass.com
/api/merchants/micro_health/funeral_expense_benefit_claims
The endpoint initiates the creation of a Funeral Expense Benefit Micro Health claim.
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/funeral_expense_benefit_claims',
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 => 'POST',
14
CURLOPT_POSTFIELDS =>'{
15
"policy_number":"2062058003",
16
"beneficiary_id_card":"https://meet.google.com/image.png",
17
"medical_certificate":"https://meet.google.com/image.png",
18
"police_report":"https://meet.google.com/image.png",
19
"death_certificate":"https://meet.google.com/image.png",
20
"death_claims_form":"https://meet.google.com/image.png"
21
}',
22
CURLOPT_HTTPHEADER => array(
23
'Authorization: Bearer {{SECRETKEY}}',
24
'Content-Type: application/json'
25
),
26
));
27
28
$response = curl_exec($curl);
29
30
curl_close($curl);
31
echo $response;
1
var axios = require('axios');
2
var data = JSON.stringify({
3
"policy_number":"2062058003",
4
"beneficiary_id_card":"https://meet.google.com/image.png",
5
"medical_certificate":"https://meet.google.com/image.png",
6
"police_report":"https://meet.google.com/image.png",
7
"death_certificate":"https://meet.google.com/image.png",
8
"death_claims_form":"https://meet.google.com/image.png"
9
});
10
11
var config = {
12
method: 'post',
13
url: 'https://sandbox.insurpass.com/api/merchant/micro_health/funeral_expense_benefit_claims',
14
headers: {
15
'Authorization': 'Bearer {{SECRETKEY}}',
16
'Content-Type': 'application/json'
17
},
18
data: data
19
};
20
21
axios(config)
22
.then(function (response) {
23
console.log(JSON.stringify(response.data));
24
})
25
.catch(function (error) {
26
console.log(error);
27
})
curl --location --request POST https://sandbox.insurpass.com/api/merchant/micro_health/funeral_expense_benefit_claims' \
--header 'Authorization: Bearer {{SECRETKEY}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"policy_number":"2062058003",
"beneficiary_id_card":"https://meet.google.com/image.png",
"medical_certificate":"https://meet.google.com/image.png",
"police_report":"https://meet.google.com/image.png",
"death_certificate":"https://meet.google.com/image.png",
"death_claims_form":"https://meet.google.com/image.png"
}'

Micro Health Claim Details

get
https://sandbox.insurpass.com
/api/merchant/micro_health/get_one_claims/:claim_id
This endpoint returns an object containing a single Micro Health claim
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/get_one_claims/:claim_id',
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
'Content-Type: application/json'
17
),
18
));
19
20
$response = curl_exec($curl);
21
22
curl_close($curl);
23
echo $response;
1
var axios = require('axios');
2
var data = '';
3
4
var config = {
5
method: 'get',
6
url: 'https://sandbox.insurpass.com/api/merchant/micro_health/get_one_claims/:claim_id',
7
headers: {
8
'Authorization': 'Bearer {{SECRETKEY}}',
9
'Content-Type': 'application/json'
10
},
11
data: data
12
};
13
14
axios(config)
15
.then(function (response) {
16
console.log(JSON.stringify(response.data));
17
})
18
.catch(function (error) {
19
console.log(error);
20
});
curl --location --request GET https://sandbox.insurpass.com/api/merchant/micro_health/get_one_claims/:claim_id' \
--header 'Authorization: Bearer {{SECRETKEY}}' \
--header 'Accept: application/json' \
--data-raw ''

List All Micro Health Claims

get
https://sandbox.insurpass.com
/api/merchant/micro_health/get_claims
This endpoint returns a list of all the Micro Health Claim objects.
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/get_claims',
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;
1
var axios = require('axio');
2
var data = '';
3
4
var config = {
5
method: 'get',
6
url: 'https://sandbox.insurpass.com/api/merchant/micro_health/get_claims',
7
headers: {
8
'Authorization': 'Bearer {{SECRETKEY}}'
9
},
10
data: data
11
};
12
13
axios(config)
14
.then(function (response) {
15
console.log(JSON.stringify(response.data));
16
})
17
.catch(function (error) {
18
console.log(error);
19
});
curl --location --request GET https://sandbox.insurpass.com/api/merchant/micro_health/get_claims' \
--header 'Authorization: Bearer {{SECRETKEY}}' \
--header 'Accept: application/json' \
--data-raw ''
Last modified 11mo ago