# Introduction

## Powered by:&#x20;

![](https://2620668582-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LkW9lt6QQlo62wmQ4y6%2F-M48mmqX2X7WMoRODdbf%2F-M48qQNAgii-X_FUv6Qp%2Fimage.png?alt=media\&token=fa3c4f6e-8cef-4db2-aea9-7d476274a6a6)

## General Flow

* Customer scans store's QR code with Smarts app to start shopping
* Customer will add products to shopping cart by scanning SKU or searching it from product catalog
* Customer will pay for the purchase by scanning QR code at the store exit.

## Integration

Smarts is communicating with merchant through restful API-s. It is required to create API endpoints in the merchant side to establish communication between the Smarts and merchant.&#x20;

*Smarts offers **2 different** integration methods*

#### &#x20;     [Spring Boot Integration](https://developer.smarts.ee/integration/spring-boot-starter/overview) - Generates secured and required API endpoints automatically

&#x20;     [**Custom integration**](https://developer.smarts.ee/integration/custom-integration/overview) **- Create API endpoints and data objects manually**

Smarts need API-s to exchange &#x20;

* Product information
* Invoice and payment confirmation information
* Purchase check information
* Marketing information
* Home delivery information
* Loyalty card information

{% hint style="warning" %}
Smarts **strongly** **recommends** Spring Boot Starter integration.
{% endhint %}

## Payment processing

Smarts is using **Stripe** payment provider because it allows to

* move payment amount from client to merchant directly **without third party intervention**
* start payment in the **merchant behalf**
* **one-click onboarding** for merchant with Stripe OAuth service

&#x20;  [Check stripe pricing here](https://stripe.com/en-ee/pricing)

## Before you open your first store

1.) Open Smarts account and create new subscription

2.) Open Stripe Merchant [account](https://stripe.com/en-ee).

3.)  Choose the integration method

* [Spring Boot Starter](https://developer.smarts.ee/integration/spring-boot-starter/overview)
* [Customer Integration](https://developer.smarts.ee/integration/custom-integration/overview)

For further questions please write an email or call&#x20;

<kristo.truu@smarts.ee>&#x20;

+372 563 14 762


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.smarts.ee/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
