Check Response

Retrieving travel visa from Government Systems

Response Values

KeyValuesDescriptions
checkCompleteCOMPLETED, FAILEDWas the visa check completed successfully
checkedAtDateWhen was the check completed.
detailsObjectAn object containing visa details. See Below.

Details object from the response. Note that not all properties are returned in the response for each EER check request. The optional properties are returned if they are made available by the Government System.

validityRequiredEnum: VALID, INVALID, UNKNOWNIs a visa currently valid.
eerStatusRequiredEnum: APPROVED, DENIED, NOT_FOUND, EXPIREDEER Status.
processingStatusRequiredEnum: PROCESSING, PROCESSED, AMENDMENT_REQUIRED, PAYMENT_REQUIRED, UNKNOWNProcessing Status of an EER. Applicable during the application process - before a government processes it.
paymentStatusRequiredEnum: PROCESSING, PROCESSED, AMENDMENT_REQUIRED, PAYMENT_REQUIRED, UNKNOWNPayment status of an EER
referenceNumberOptionalStringReference or application number.
validFromOptionalDateThe date from which an EER is valid.
validUntilOptionalDateThe date on which an EER expires.
visaUrlOptionalStringThe URL of the visa, for example a link to an eVisa PDF.
expiryDateOptionalDateWhen the visa expires.
messageOptionalString
attachmentsOptionalArray

Data per Country

A successful request will return the following information. Level of details varies per EER, as some information is not exposed by governments.

PropertyUSA ESTAAustralian ETASingapore eVisaUAE eVisa / PermitMalaysia eVisaTurkey eVisa
validityYesYesYesYesYes
eerStatusYesYesYesYesYes
processingStatusYesYesYes
paymentStatus
referenceNumberYesYesYesYesYes
validFromYes
validUntilYes
visaUrl
expiryDateYesYesYes
messageYes
attachments

Determining Visa Validity

In most cases, the Sherpa API is able to determine whether the visa is currently valid or not. The response is often provided directly by the government, but in some cases Sherpa analyses the information about the visa to determine validity. For example, if today is past visa validity date, the visa is deemed INVALID.

Visa Not Found

A NOT_FOUND status may mean two things. Either the information was passed incorrectly or the EER is no longer registered in the Government System, deeming the EER invalid. Several governments delete any information about an existing EER after they expire or after they've been used(if they are single entry).

{
    "checkComplete": "COMPLETED",
    "checkedAt": "2020-06-08",
    "details": {
        "validity": "UNKNOWN",
        "eerStatus": "NOT_FOUND",
        "message": "UNABLE TO PROCESS YOUR REQUEST WITH GIVEN DETAILS"
    }
}

Response Example

{
    "checkComplete": "COMPLETED",
    "checkedAt": "2019-09-25",
    "details": {
        "validity": "VALID",
        "eerStatus": "APPROVED",
        "expiryDate": "2021-07-30",
        "message": "Your travel authorization has been approved and you are authorized to travel to the United States under the Visa Waiver Program. This does not guarantee admission to the United States; a Customs and Border Protection (CBP) officer at a port of entry will have the final determination.If necessary, you can update the following information on an approved authorization: address while in the United States and e-mail address. To access your travel authorization, you will be required to provide your application number, Passport number, and birth date. If you need to change any other information on the form, you must apply for a new travel authorization.You have successfully submitted payment for the application listed below. A request by the cardholder to the bank or PayPal for a refund of fees will result in an automatic denial of the application. Please print this page for your personal records.",
        "referenceNumber": "R38R7B98R1AH4123"
    }
}
{
    "checkComplete": "COMPLETED",
    "checkedAt": "2020-06-08",
    "details": {
        "validity": "UNKNOWN",
        "eerStatus": "NOT_FOUND",
        "message": "UNABLE TO PROCESS YOUR REQUEST WITH GIVEN DETAILS"
    }
}
{
    "checkComplete": "COMPLETED",
    "checkedAt": "2020-06-08",
    "details": {
        "validity": "UNKNOWN",
        "eerStatus": "APPROVED",
        "processingStatus": "PROCESSED",
        "expiryDate": "2021-07-30",
        "referenceNumber": "R18R7B98R1AH4111"
    }
}
{
    "checkComplete": "COMPLETED",
    "checkedAt": "2019-10-03",
    "details": {
        "validity": "INVALID",
        "eerStatus": "UNKNOWN",
        "message": "'ENTRY PERMIT IS NOT VALID'"
    }
}

Response Timing

Sherpa's cloud infrastructure connects to government systems in a variety of ways. Below table shows how long it takes on average to retrieve a visa or visa status from a particular government.

EERResponse Time
USA ESTA600ms
Australian eTA5200s
Singapore eVisa4100ms
Canadian eTA900ms
UAE eVisa3800ms