Sherpa Widgets Technical Documentation
Embed visa information widgets on your website or platform.
This widget enables travellers to see if they qualify for an electronic visa for a single destination. The traveller can choose the nationality of their passport and the purpose of their trip. They receive a quick response, and a link to a simple application form.
To have the widget appear dynamically simply drop it into a page, it will check to see if a country is mentioned in the page’s title, and display the visa requirements for that destination.
To specify a destination for the widget set the “data-destination” attribute to a ISO 2-character country code. If the information for that country is available, the widget will appear. If the information is not available, the widget will not appear.
<!-- Place this in your head tag -->
<script src='https://labs.joinsherpa.com/widget/v3/dist/js/sherpa-widget.min.js' async></script>
<!– Place this where you want the widget to appear –>
<!– Change the data-destination attribute to the desired destination code –>
Destination Widget Preview
Visa Checker Widget
Quickly help travellers search to see if they need a tourist visa for their trip. The traveller can choose the nationality of their passport and their destination, and get a response. The widget also lists visas that are available from Sherpa.
You can set a default citizenship and a default destination for the widget by passing
citizenship parameters in the widget URL. Both should be an ISO 2-character format.
<!-- Place this where you want the widget to appear -->
<iframe src="https://labs.joinsherpa.com/widget/v2-generic/?citizenship=CA&destination=LK" width="100%" height="450px" frameborder="0"></iframe>
Visa Checker Widget Preview
We also have an API!
The Sherpa API enables you to greatly enhance your user experience, providing travel visa and documentation information in your product. You can enrich the content of your application with up to date information, or let your clients easily purchase travel visas without directed off your platform.