Claim
Last updated
Last updated
POST
https://sandbox.insurpass.com/api/merchants/micro_health/cash_raimbursement_claims
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
{
"id": 28,
"policy_id": 439,
"proof_of_hospitalization": null,
"receipt_of_payment": null,
"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",
"status": "pending",
"merchant_id": 1,
"type_of_claims": "funeral_expense_benefits",
"created_at": "2022-10-17T12:56:50.000000Z",
"updated_at": "2022-10-17T12:56:50.000000Z"
}
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://sandbox.insurpass.com/api/merchant/micro_health/cash_raimbursement_claims',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"policy_number":"2062058003",
"proof_of_hospitalization":"https://meet.google.com/image.png",
"receipt_of_payment":"https://meet.google.com/image.png"
}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer {{SECRETKEY}}',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
var axios = require('axios');
var data = JSON.stringify({
"policy_number":"2062058003",
"proof_of_hospitalization":"https://meet.google.com/image.png",
"receipt_of_payment":"https://meet.google.com/image.png"
});
var config = {
method: 'post',
url: 'https://sandbox.insurpass.com/api/merchant/micro_health/cash_raimbursement_claims',
headers: {
'Authorization': 'Bearer {{SECRETKEY}}',
'Content-Type': 'application/json'
},
data: data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
})
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"
}'
POST
https://sandbox.insurpass.com/api/merchants/micro_health/funeral_expense_benefit_claims
{
"id": 28,
"policy_id": 439,
"proof_of_hospitalization": null,
"receipt_of_payment": null,
"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",
"status": "pending",
"merchant_id": 1,
"type_of_claims": "funeral_expense_benefits",
"created_at": "2022-10-17T12:56:50.000000Z",
"updated_at": "2022-10-17T12:56:50.000000Z"
}
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://sandbox.insurpass.com/api/merchant/micro_health/funeral_expense_benefit_claims',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"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"
}',
CURLOPT_HTTPHEADER => array(
'Authorization: Bearer {{SECRETKEY}}',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
var axios = require('axios');
var data = JSON.stringify({
"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"
});
var config = {
method: 'post',
url: 'https://sandbox.insurpass.com/api/merchant/micro_health/funeral_expense_benefit_claims',
headers: {
'Authorization': 'Bearer {{SECRETKEY}}',
'Content-Type': 'application/json'
},
data: data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
})
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"
}'
GET
https://sandbox.insurpass.com/api/merchant/micro_health/get_one_claims/:claim_id
{
"success": true,
"response_message": "Micro Health Claims retrieved successfully",
"response_code": "",
"data": {
"id": 3,
"policy_id": 397,
"proof_of_hospitalization": null,
"receipt_of_payment": null,
"beneficiary_id_card": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"medical_certificate": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"police_report": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"death_certificate": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"type_of_claims": "funeral_expense_benefits",
"created_at": "2022-05-17T15:22:30.000000Z",
"updated_at": "2022-05-17T15:22:30.000000Z"
}
}
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://sandbox.insurpass.com/api/merchant/micro_health/get_one_claims/:claim_id',
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}}',
'Content-Type: application/json'
),
));
$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/micro_health/get_one_claims/:claim_id',
headers: {
'Authorization': 'Bearer {{SECRETKEY}}',
'Content-Type': 'application/json'
},
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/micro_health/get_one_claims/:claim_id' \
--header 'Authorization: Bearer {{SECRETKEY}}' \
--header 'Accept: application/json' \
--data-raw ''
GET
https://sandbox.insurpass.com/api/merchant/micro_health/get_claims
{
"success": true,
"response_message": "Micro health claim get successful",
"response_code": "",
"data": [
{
"id": 1,
"policy_id": 397,
"proof_of_hospitalization": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"receipt_of_payment": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"beneficiary_id_card": null,
"medical_certificate": null,
"police_report": null,
"death_certificate": null,
"status": "pending",
"merchant_id": 1,
"type_of_claims": "cash_reimbursement",
"created_at": "2022-05-17T15:06:59.000000Z",
"updated_at": "2022-05-17T15:06:59.000000Z"
},
{
"id": 2,
"policy_id": 397,
"proof_of_hospitalization": null,
"receipt_of_payment": null,
"beneficiary_id_card": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"medical_certificate": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"police_report": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"death_certificate": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"status": "pending",
"merchant_id": 1,
"type_of_claims": "funeral_expense_benefits",
"created_at": "2022-05-17T15:22:07.000000Z",
"updated_at": "2022-05-17T15:22:07.000000Z"
},
{
"id": 3,
"policy_id": 397,
"proof_of_hospitalization": null,
"receipt_of_payment": null,
"beneficiary_id_card": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"medical_certificate": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"police_report": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"death_certificate": "https://i0.wp.com/lifars.com/wp-content/uploads/2020/01/A-Lesson-for-CIOs-IT-Incident-Management.jpg?fit=1600%2C1200&ssl=1",
"status": "pending",
"merchant_id": 1,
"type_of_claims": "funeral_expense_benefits",
"created_at": "2022-05-17T15:22:30.000000Z",
"updated_at": "2022-05-17T15:22:30.000000Z"
}
]
}
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://sandbox.insurpass.com/api/merchant/micro_health/get_claims',
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('axio');
var data = '';
var config = {
method: 'get',
url: 'https://sandbox.insurpass.com/api/merchant/micro_health/get_claims',
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/micro_health/get_claims' \
--header 'Authorization: Bearer {{SECRETKEY}}' \
--header 'Accept: application/json' \
--data-raw ''
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|