- Previous: List of Insurance Program
- Up: Insurance Services
- Next: Webhook Services
List of Insurance Program by PAN
This service is used for fetching the list of insurance programs using PAN.
Code example
Click on the buttons to view code snippet:
curl -X POST\
https://apitest.network.ae/cards_pan/insurances \
-H 'authorization: Bearer tzhhqun37x69bspsbfbz9ek9' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-H 'Unique-Reference-Code: nisi non' \
-H 'Financial-Id: nisi non' \
-H 'Channel-Id: nisi non' \
-d '{
"card_number": "consectetur dolore"
}'
import requests
import json
url = "https://apitest.network.ae/cards_pan/insurances"
payload = json.dumps({
"card_number": "consectetur dolore"
})
headers = {
'Unique-Reference-Code': 'nisi non',
'Financial-Id': 'nisi non',
'Channel-Id': 'nisi non',
'Content-Type': 'application/json',
'Accept': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
setUrl('https://apitest.network.ae/cards_pan/insurances');
$request->setMethod(HTTP_Request2::METHOD_POST);
$request->setConfig(array(
'follow_redirects' => TRUE
));
$request->setHeader(array(
'Unique-Reference-Code' => 'nisi non',
'Financial-Id' => 'nisi non',
'Channel-Id' => 'nisi non',
'Content-Type' => 'application/json',
'Accept' => 'application/json'
));
$request->setBody('{\n "card_number": "consectetur dolore"\n}');
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n \"card_number\": \"consectetur dolore\"\n}");
Request request = new Request.Builder()
.url("https://apitest.network.ae/cards_pan/insurances")
.method("POST", body)
.addHeader("Unique-Reference-Code", "nisi non")
.addHeader("Financial-Id", "nisi non")
.addHeader("Channel-Id", "nisi non")
.addHeader("Content-Type", "application/json")
.addHeader("Accept", "application/json")
.build();
Response response = client.newCall(request).execute();
Request Parameters:
HTTP | Key | Data Type | Max | Description | Remarks |
header | Unique-Reference-Code | A/N | 12 | Unique Reference Code for identification of each request sent to API | Mandatory |
Channel-Id | String | 10 | Requesting channel e.g. “IB” or "IVR" etc. Might change. | Mandatory | |
Financial-Id | String | 4 | Source Bank Id e.g. “NIC” | Mandatory | |
body | card_number | String | min-16 max-19 | Unique Identifier for Card |
Mandatory |
Response Parameters:
HTTP | Key | Type | Max | Description | Remarks | ||
body | card_identifier_id | String | 20 | CONTRACT_NUMBER or EXID | Mandatory | ||
card_identifier_type | String | 32 | Mandatory | ||||
Array of insurance_products | |||||||
insurance_products | name | String | 255 | Name of the insurance (E.g. Credit Shield) | Mandatory | ||
code | String | 2 | Code of the insurance - From 01 to 12 | Mandatory | |||
is_active | String | 32 | Mandatory | ||||
status_code | String | 10 | Status Code of the insurance (F,R,U,etc.) | Mandatory | |||
status_name | String | 255 | Status name (Enrolled, Cancelled by User, etc.) | Mandatory | |||
parameters | insurance_company | String | 32 | Insurance Company | Mandatory | ||
grace_period_duration | String | 32 | grace_period_duration | Mandatory | |||
grace_period_type | String | 32 | grace_period_type | Mandatory | |||
dlq_cancel_auto_reinstate | String | 32 | dlq_cancel_auto_reinstate | Mandatory | |||
dlq_cancel_man_reinstate | String | 32 | dlq_cancel_man_reinstate | Mandatory | |||
allow_zero_coverage | String | 32 | allow_zero_coverage | Mandatory | |||
max_coverage_behavior | String | 32 | max_coverage_behavior | Mandatory | |||
minimum_fee | String | 32 | minimum_fee | Mandatory | |||
base_fee | String | 32 | base_fee | Mandatory | |||
percentage | String | 32 | percentage | Mandatory | |||
max_coverage | String | 32 | max_coverage | Mandatory | |||
max_age | String | 32 | max_age | Mandatory |
Response Json
{
"card_identifier_id": "99985102164359586729",
"card_identifier_type": "EXID",
"insurance_products": [
{
"name": "Credit Shield",
"code": "01",
"is_active": "CANCELLED",
"status_code": "R",
"status_name": "Canceled at the request of the insured party",
"parameters": {
"insurance_company": "CS",
"grace_period_duration": "1",
"grace_period_type": "M",
"dlq_cancel_auto_reinstate": "3",
"dlq_cancel_man_reinstate": "4",
"allow_zero_coverage": "N",
"max_coverage_behavior": "A",
"minimum_fee": "5",
"base_fee": "0",
"percentage": "1",
"max_coverage": "7000",
"max_age": "51"
}
},
{
"name": "Credit Shield Plus",
"code": "02",
"is_active": "CANCELLED",
"status_code": "U",
"status_name": "Canceled at the request of the underwriter",
"parameters": {
"insurance_company": "CS",
"grace_period_duration": "1",
"grace_period_type": "M",
"dlq_cancel_auto_reinstate": "3",
"dlq_cancel_man_reinstate": "4",
"allow_zero_coverage": "N",
"max_coverage_behavior": "A",
"minimum_fee": "5",
"base_fee": "0",
"percentage": "1",
"max_coverage": "7000",
"max_age": "51"
}
},
{
"name": "User Insurance 3",
"code": "03",
"is_active": "CANCELLED",
"status_code": "R",
"status_name": "Canceled at the request of the insured party",
"parameters": {
"insurance_company": "IC",
"grace_period_duration": "1",
"grace_period_type": "M",
"dlq_cancel_auto_reinstate": "4",
"dlq_cancel_man_reinstate": "5",
"allow_zero_coverage": "N",
"max_coverage_behavior": "A",
"minimum_fee": "5",
"base_fee": "0",
"percentage": "1",
"max_coverage": "0",
"max_age": "51"
}
},
{
"name": "User Insurance 5",
"code": "05",
"is_active": "ACTIVE",
"status_code": "F",
"status_name": "In force",
"parameters": {
"insurance_company": "IC",
"grace_period_duration": "1",
"grace_period_type": "M",
"dlq_cancel_auto_reinstate": "3",
"dlq_cancel_man_reinstate": "",
"allow_zero_coverage": "N",
"max_coverage_behavior": "M",
"minimum_fee": "0",
"base_fee": "23",
"percentage": "0",
"max_coverage": "7000",
"max_age": "51"
}
},
{
"name": "Travel Insurance",
"code": "06",
"is_active": "ACTIVE",
"status_code": "F",
"status_name": "In force",
"parameters": {
"insurance_company": "TA",
"grace_period_duration": "1",
"grace_period_type": "M",
"dlq_cancel_auto_reinstate": "3",
"dlq_cancel_man_reinstate": "",
"allow_zero_coverage": "Y",
"max_coverage_behavior": "M",
"minimum_fee": "0",
"base_fee": "23",
"percentage": "0",
"max_coverage": "0",
"max_age": "51"
}
},
{
"name": "User Insurance 7",
"code": "07",
"is_active": "ACTIVE",
"status_code": "F",
"status_name": "In force",
"parameters": {
"insurance_company": "IC",
"grace_period_duration": "2",
"grace_period_type": "B",
"dlq_cancel_auto_reinstate": "",
"dlq_cancel_man_reinstate": "4",
"allow_zero_coverage": "N",
"max_coverage_behavior": "",
"minimum_fee": "10",
"base_fee": "0",
"percentage": "2",
"max_coverage": "7000",
"max_age": "51"
}
},
{
"name": "User Insurance 8",
"code": "08",
"is_active": "CANCELLED",
"status_code": "R",
"status_name": "Canceled at the request of the insured party",
"parameters": {
"insurance_company": "IC",
"grace_period_duration": "2",
"grace_period_type": "B",
"dlq_cancel_auto_reinstate": "",
"dlq_cancel_man_reinstate": "4",
"allow_zero_coverage": "N",
"max_coverage_behavior": "",
"minimum_fee": "10",
"base_fee": "0",
"percentage": "2",
"max_coverage": "7000",
"max_age": "51"
}
},
{
"name": "User Insurance 9",
"code": "09",
"is_active": "ACTIVE",
"status_code": "F",
"status_name": "In force",
"parameters": {
"insurance_company": "IC",
"grace_period_duration": "2",
"grace_period_type": "B",
"dlq_cancel_auto_reinstate": "3",
"dlq_cancel_man_reinstate": "3",
"allow_zero_coverage": "N",
"max_coverage_behavior": "",
"minimum_fee": "10",
"base_fee": "0",
"percentage": "2",
"max_coverage": "0",
"max_age": "51"
}
},
{
"name": "Accident Insurance",
"code": "10",
"is_active": "CANCELLED",
"status_code": "R",
"status_name": "Canceled at the request of the insured party",
"parameters": {
"insurance_company": "TA",
"grace_period_duration": "2",
"grace_period_type": "B",
"dlq_cancel_auto_reinstate": "3",
"dlq_cancel_man_reinstate": "3",
"allow_zero_coverage": "Y",
"max_coverage_behavior": "",
"minimum_fee": "10",
"base_fee": "0",
"percentage": "2",
"max_coverage": "7000",
"max_age": "51"
}
},
{
"name": "Purchase Insurance",
"code": "11",
"is_active": "ACTIVE",
"status_code": "F",
"status_name": "In force",
"parameters": {
"insurance_company": "TA",
"grace_period_duration": "2",
"grace_period_type": "B",
"dlq_cancel_auto_reinstate": "",
"dlq_cancel_man_reinstate": "",
"allow_zero_coverage": "N",
"max_coverage_behavior": "",
"minimum_fee": "0",
"base_fee": "34",
"percentage": "0",
"max_coverage": "7000",
"max_age": "51"
}
},
{
"name": "Travel Insurance Plus",
"code": "12",
"is_active": "CANCELLED",
"status_code": "U",
"status_name": "Canceled at the request of the underwriter",
"parameters": {
"insurance_company": "TA",
"grace_period_duration": "2",
"grace_period_type": "B",
"dlq_cancel_auto_reinstate": "",
"dlq_cancel_man_reinstate": "",
"allow_zero_coverage": "Y",
"max_coverage_behavior": "",
"minimum_fee": "0",
"base_fee": "34",
"percentage": "0",
"max_coverage": "0",
"max_age": "51"
}
}
]
}
- Previous: List of Insurance Program
- Up: Insurance Services
- Next: Webhook Services
Docs Navigation
- API Security
- Falcon Services
- Card Services
- BETA
- Version 1.0
- Card Balance Enquiry
- Card Activation
- Card Set Pin
- Card Change PIN
- Card PIN Verification
- Card Status Update
- Card Limit Update
- Card Details
- Customer Details
- List Of Cards
- Customer Demographic Update
- Card Used Limits
- Card Statement Summary
- Card Transaction
- Utility Payments
- Account Create
- Account Update
- Account Closure
- Card Create
- Card Update
- Card Replacement
- Client Create
- Client Update
- Transaction Details
- PIN Retries Counter Reset
- Digital Status Chnage
- Get CVV2 Service
- Card Link Delink
- Card Insurance Products
- Card Change Insurance Product Status
- Card Direct Debit
- Update Card Direct Debit
- Card Balance Conversion Enquiry
- Card Balance Conversion
- Card Transaction Eligibility
- Card Transaction EPP Conversion
- Card Replacement Embossing
- Card NMON Transactions
- Retail Banking Transactions
- Appendix 1
- Appendix 2
- Appendix 3
- Appendix 4
- HTTP Codes
- Error Codes
- Version 2.0
- Lookup Card Identifier
- List Of Cards
- Card Activation
- Card Set PIN
- Card Change PIN
- Card Status Update
- Client Create
- Account Create
- Card Create
- Customer Demographic Update
- Account Update
- Card Update
- Card Replacement
- Customer Details
- Card Details
- Client Update
- Card Balance Enquiry
- Card Transaction
- Card Limit Update
- Card PIN Verification
- PIN Retried Counter Reset
- Get CVV2 Service
- Card Verification
- Card Transaction Details
- Get Encryption Certificate
- Get Dictionaries MCC
- Get Account Balance
- Card Insurance Product
- Card Insurance Product Update
- Card Direct Debit Update
- Card Direct Debit
- P2P Transfer
- Account Transaction
- Account Status Change
- Card Statement Summary
- Account Transaction Details
- Card Contact Details
- List of Accounts
- Account Hierarchy
- Notification Service
- Appendix 1
- Appendix 2
- Appendix 3
- Appendix 4
- HTTP Codes
- Error Codes
- Buy Now Pay Later
- Card Limits
- Insurance Services
- Webhook Services
- Switch Services
- Card Control Services
- Merchant Digital Onboarding
- Notification Service
- SMS Security Services
- Terms and Condition
0 Comments
Please sign in to post a comment.