curl --request POST \
--url https://sandbox.hyperswitch.io/authentication/{authentication_id}/eligibility-check \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '{
"client_secret": "<string>",
"eligibility_check_data": {
"click_to_pay": {
"visa": {
"consumerPresent": true,
"consumerStatus": "<string>",
"customData": {
"color_depth": 1,
"java_enabled": true,
"java_script_enabled": true,
"language": "<string>",
"screen_height": 1,
"screen_width": 1,
"time_zone": 123,
"ip_address": "<string>",
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"user_agent": "<string>",
"os_type": "<string>",
"os_version": "<string>",
"device_model": "<string>",
"accept_language": "<string>",
"referer": "<string>"
}
},
"mastercard": {
"consumerPresent": true,
"idLookupSessionId": "<string>",
"lastUsedCardTimestamp": "<string>"
}
}
}
}'