School Fees Claims
post
https://sandbox.insurpass.com
/api/merchant/school_fee_initiate_claim
The endpoint initiates the creation of a school fees 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/school_fee_initiate_claim',
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": "UIC/RE/INP/SFP/02102022/78555",
16
"full_details": "Mille Bobby Brown",
17
"supporting_document": "This is a detail",
18
"signature_date": "2021-02-12",
19
"date_of_occurance": "1993-02-12",
20
"signature": "string"
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": "UIC/RE/INP/SFP/02102022/78555",
4
"full_details": "Mille Bobby Brown",
5
"supporting_document": "This is a detail",
6
"signature_date": "2021-02-12",
7
"date_of_occurance": "1993-02-12",
8
"signature": "string"
9
});
10
11
var config = {
12
method: 'post',
13
url: 'https://sandbox.insurpass.com/api/merchant/school_fee_initiate_claim',
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/school_fee_initiate_claim' \
--header 'Authorization: Bearer {{SECRETKEY}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"policy_number": "UIC/RE/INP/SFP/02102022/78555",
"full_details": "Mille Bobby Brown",
"supporting_document": "This is a detail",
"signature_date": "2021-02-12",
"date_of_occurance": "1993-02-12",
"signature": "string"
}'
post
https://sandbox.insurpass.com
/api/merchant/school_fee_merchant_claims
This endpoint returns an object containing a single school fees 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/school_fee_claim_details',
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 =>'{"policy_number":"UIC/RE/INP/SI/30092022/79187"}',
15
CURLOPT_HTTPHEADER => array(
16
'Authorization: Bearer {{SECRETKEY}}',
17
'Content-Type: application/json'
18
),
19
));
20
21
$response = curl_exec($curl);
22
23
curl_close($curl);
24
echo $response;
1
var axios = require('axios');
2
var data = JSON.stringify({"policy_number":"UIC/RE/INP/SI/30092022/79187"});
3
4
var config = {
5
method: 'post',
6
url: 'https://sandbox.insurpass.com/api/merchant/school_fee_claim_details',
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 POST https://sandbox.insurpass.com/api/merchant/school_fee_merchant_claims' \
--header 'Authorization: Bearer {{SECRETKEY}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{"policy_number":"UIC/RE/INP/SI/30092022/79187"}'
get
https://sandbox.insurpass.com
/api/merchant/school_fee_merchant_claims
This endpoint returns a list of all the School Fees 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/school_fee_merchant_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('axios');
2
var data = '';
3
4
var config = {
5
method: 'get',
6
url: 'https://sandbox.insurpass.com/api/merchant/school_fee_merchant_claims',
7
headers: {
8
'Authorization': 'Bearer {{SECRETKEY}}'
9
},
10
data: data
11
};
12
axios(config)
13
.then(function (response) {
14
console.log(JSON.stringify(response.data));
15
})
16
.catch(function (error) {
17
console.log(error);
18
});
curl --location --request POST https://sandbox.insurpass.com/api/merchant/school_fee_merchant_claims' \
--header 'Authorization: Bearer {{SECRETKEY}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw ''
Last modified 11mo ago