> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clearline.me/llms.txt
> Use this file to discover all available pages before exploring further.

# POS Receipt Promotion

# Get POS Receipt Promotion

Using this endpoint, it is possible to obtain QR codes that need to be printed on the receipt (you can configure what the QR code should be generated for in the account manager panel in CMC).

**GET** [https://apitest.clearline.me/pos/\{posSystemId}/receipt/promotion/location/\{posLocationId}](https://apitest.clearline.me/pos/\{posSystemId}/receipt/promotion/location/\{posLocationId})

### Input parameters

| Field name    | Description                                                                                    |
| ------------- | ---------------------------------------------------------------------------------------------- |
| posSystemId   | The identifier of the POS system (e.g., pax, clover)                                           |
| posLocationId | ID of the location where the receipt will be printed (qr code settings depend on the location) |

### Response

```
{
  "data": {
    "primaryText": "string",
    "secondaryText": "string",
    "imageUrl": "string",
    "posStatus": "Accepted"
  }
}
```

### Response parameters

| Field name    | Description                                                                                                |
| ------------- | ---------------------------------------------------------------------------------------------------------- |
| data          | Data Block                                                                                                 |
| primaryText   | Main text                                                                                                  |
| secondaryText | Additional text                                                                                            |
| imageUrl      | URL to the QR code image that needs to be printed on the receipt                                           |
| posStatus     | Only "Accepted" POS can send a transaction (POS must be registered with CMC in order to use this endpoint) |

### Example

<img src="https://mintcdn.com/allmatics-7a6fd95a/WlD7hVDCVXS0g46B/images/api/pos-integration/pos-receipt-promotion/image_758aa9d0.png?fit=max&auto=format&n=WlD7hVDCVXS0g46B&q=85&s=902ff07a56d5fd0a21798ea0bb9cce2c" alt="зображення-20250730-122121.png" width="464" height="663" data-path="images/api/pos-integration/pos-receipt-promotion/image_758aa9d0.png" />
