# Receipt (by ID)

#### Headers

`X-API-KEY` **must** be provided when making the request to this endpoint. This authorizes you to access the API for your customers.

#### Request

Endpoint: `GET https://book.imin.co/api/v2/receipts/:receiptIdentifier`

{% hint style="warning" %}
This request must be made Server-side. Otherwise, it would be possible to view the secret API key with a browser.
{% endhint %}

{% hint style="info" %}
This entire URL is in the `imin:receipt` field of each Order returned by [Order (by ID)](https://docs.imin.co/incorporating-book-and-pay/imin-booking-platform/orders/order-by-id) or [Order History](https://docs.imin.co/incorporating-book-and-pay/imin-booking-platform/orders/order-history).
{% endhint %}

The `receiptIdentifier` parameter is identifier of the Receipt you wish to view

#### Response

A successful response will be a PDF which will look like:

![](https://809863394-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LJbuIOE-TIcNUDnkUS7%2F-M1Abl4Y7BNfCcSIUto_%2F-M1AeyK1xzvlQgEIftLI%2FScreenshot%20from%202020-02-28%2012-00-31.png?alt=media\&token=6138f48d-062a-46bf-89e0-39ba1b1ebfac)
