Similarly to Checkout Widget and other Ingrid widgets, Receipt Widget should be embedded in a site controlled by Merchant.

Authentication and authorization

In order to load the widget with customer's order you will need an auth token. This token authenticates widget and authorizes it to access the resources.

To get your token send following GET request:

with following headers:

Authorization: Bearer PRIVATE_KEY_BASE64
x-site-id: SITE_ID


Private key

Private key must not be exposed to Customer's browser. Call the above API on the backend side and pass only the obtained token to the browser client.

Rendering widget

In order to embed receipt widget on your page you need to add following script tag to your HTML head:

<script src=""></script>

This will fetch receipt widget bootstrap code and make it available as window.IngridReceiptWidgetApi. To render widget, run config with following arguments:

containerId: "CONTAINER_ID",
token: "AUTH_TOKEN",
siteId: "SITE_ID",
sessionId: "SESSION_ID",
locale: "en-US",


Supported Languages

The following languages are supported:

Stage env

On stage environment, replace with and with

Last updated: Fri, May 17, 06:15 AM