Get Claim Eligibility Check
This section contains information on how to retrieve the claim eligibility check result
Get Claim Eligibility
GET
https://staging.api.xclaim.xcover.com/partners/{partnerCode}/bookings/{INS}/customer-eligibility-check
Checks whether the policy data for the given booking INS is eligible to be used to create a claim.
Path Parameters
Headers
{
"quoteReference": "034327ff-3687-4baf-ab25-68c5bdd24c60"
}
Request Parameters
The expected response data if the customer is eligible to create a claim
{
"isCustomerEligible": true,
"claimAmount": "1000",
"currency": "USD"
}
Response Fields
The expected response data if the customer is not eligible to create a claim
{
"isCustomerEligible": false,
"failedChecks": [
"valid_policy_coverage_period",
"claim_with_same_purchase_has_unique_quote"
]
}
Response Fields
{
"quoteReference": "034327ff-3687-4baf-ab25-68c5bdd24c60"
}
Request Parameters
The expected response if the user does not provide a valid credential to access this route.
{
"type": "exception",
"message": "Failed to authenticate because of bad credentials or an invalid authorization header.",
}
Claim Eligibility Rules:
List of rules to check if the customer is eligible to create a claim.
Last updated