> For the complete documentation index, see [llms.txt](https://developer.smarts.ee/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.smarts.ee/integration/custom-integration/loyalty-cards.md).

# Loyalty cards

{% hint style="info" %}
Implementation is **OPTIONAL**
{% endhint %}

### General Flow

* Smarts shows available loyalty cards in app.
* Client will select card and fill required fields to link loyalty cards.
* Merchant will verify loyalty card and send loyalty card information to Smarts
* Smarts will send loyalty card information along with request to get client based prices and offers.
* Bonus point system can be used in app and payment process.

### Configuration

* **Create and configure new loyalty card in Smarts manager UI.**
  * Choose loyalty card type (Default, Bonus, ... etc)
  * Choose stores where this card can be used
  * Choose validation methods.
    * Currently available: identification code, card number,  phone email
* **Implement required endpoints for loyalty card**&#x20;

### **Implementation**

Implement according endpoints

[**Loyalty card registration endpoint**](/integration/custom-integration/loyalty-cards/loyalty-card-registration-endpoint.md)

[**Loyalty card bonus endpoint**](/integration/custom-integration/loyalty-cards/loyalty-card-bonus-endpoint.md)
