# Inbank Hire Purchase Calculator for E-shops
Documentation version 1.03, 20.11.2025
Here at Inbank we strive to help our partners sell more by simplifying purchases and making financing more accessible to customers. For this reason, we have built a plug-and-play calculator solution for our merchants. Just pick the calculator format suitable to your website, follow the simple steps below and start displaying monthly payments to your customers. This added feature will boost your conversion and sales.
For questions regarding the Inbank Hire Purchase calculator, contact us at:
- Estonia - integration@inbank.ee
- Poland - integration@inbank.pl
- Latvia - integration@inbank.lv
- Czechia - integration@inbank.cz
Note that you need to contact your Inbank representative for the calculator to appear on the pages of your e-shop. The domain, where the calculator is used, needs to be whitelisted by Inbank.
# Adding the Calculator to a Page
You can add the calculator to any webpage by simply using an iFrame. The website platform of your site defines how the iFrame can be published to all product pages (or checkout page if needed).
You can easily construct the calculator code using Inbank's iFrame code generator:
- In Estonia - https://epos.inbank.ee/et/calculator-iframe-generator
- In Poland - https://epos.inbank.pl/pl/calculator-iframe-generator
- In Latvia - https://epos.inbank.lv/lv/calculator-iframe-generator
- In Czechia- https://epos.inbank.cz/cs/calculator-iframe-generator
Example of the iFrame calculator configuration:
```html
```
Note that you need to contact your Inbank representative for the calculator to appear on the pages of your e-shop. The domain, where the calculator is used, needs to be whitelisted by Inbank.
Note that all calculators have a mobile view which will be applied if the calculator is viewed from a mobile device. The precise appearance of the calculator mobile views depends heavily on the layout of the pages.
There are dimensions that allow for all components of the calculator to be displayed, for example:
- Dimensions of 400(width)x590(height) will be equally suitable for both mobile and desktop views, for a calculator that has three sliders and does not include the representative sample nor the `Apply` button.
- Dimensions of 400(width)x560(height) will be equally suitable for both mobile and desktop views, for a calculator that has two sliders, the `Apply` button and does not include the representative sample.
- Dimensions of 400(width)x660(height) will be equally suitable for both mobile and desktop views, for a calculator that has three sliders, the `Apply` button and does not include the representative sample.
For other calculator configurations, the dimensions would need to be adjusted. While some dimensions might be suitable for the desktop view, they might not work too well on mobile. In such cases, the implementation of two different dimensions for the two views is needed.
For best results, the container holding the iFrame has to be responsive. Based on that the partner can then change the width and height.
Note that in order to use the Inbank calculator, your site should use the following Response Headers values: `X-Frame-Options: SAMEORIGIN` (more information here) and `Referrer-Policy: origin` (more information here).
# Configuring the Calculator
There are multiple parameters that can be configured, so that the calculator looks and works as you expect it to. Mandatory configuration parameters are marked with \*.
|Parameter|Description|
| :- | :- |
|Required parameters|
|height and width|The dimensions of the calculator on a page. The height and width are editable and can be suited to your needs. Size examples can be found in the [Inbank Hire Purchase Calculator Views](#calculatorViews) section.
Note that for best results, the container holding the iFrame has to be responsive. Based on that the partner can then change the width and height.|
|URL\*|The URL to which calculation requests are made. The correct URL path ensures that the calculator reflects the data for the correct country and payment product.
The demo URL which can be used for testing purposes is: