# 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
