> **Description:** Streamline your customer club enrollment process at physical stores by integrating Vipps MobilePay for quick and easy member sign-ups.

# Customer club

Customer provides their phone number to quickly enroll in your loyalty program, without needing to manually enter additional information.

Flow diagram: 4-step loyalty enrollment process. (1) Get the customer's phone number. (2) POS checks if the phone number matches a store membership. (3) If not, the seller can send a push notification to invite enrollment. (4) The user shares info through Vipps/MobilePay and registers as a member.

1. **Get customer's phone number** - Ask the customer for their phone number (verbally or via manual entry), or scan their personal QR code if you have a scanner.
1. **Check membership** - Verify membership status in your system using their phone number.
1. **Request membership** - If not a member, use Login API to enroll them with their consent.

**Optional: QR code scanner**

If you have a QR code scanner, customers can scan their personal QR code from the Vipps MobilePay app instead of providing their phone number verbally or manually. This speeds up the process and reduces errors.

To combine customer club signup with payments, see our
[in-store payments with customer club flow](https://developer.vippsmobilepay.com/docs/recommended-flows/loyalty-in-pos/README.md).

View sequence diagram

Customer club enrollment flow

```mermaid
sequenceDiagram
    autonumber
    actor C as Customer
    participant M as Merchant
    participant login as Login API
    participant qr as QR API

    C->>M: Provide phone number (verbally, manual entry, or scan QR)
    opt If QR code is scanned
        M->>qr: Exchange QR code for phone number
    end
    M->>M: Check membership
    M->>login: If user is not a member, request membership
    login->>C: Consent request
    C->>login: Give consent
    M->>M: If user consents, enroll in membership program
```

  Customer provides their phone number verbally, by manual entry, or by scanning a QR code.
  If a QR code was scanned: merchant exchanges the QR code for the customer's phone number via the QR API.
  Merchant checks membership status.
  If the user is not a member: merchant requests membership via the Login API, which sends a consent request to the customer. Customer gives consent.
  If the customer consents, merchant enrolls them in the membership program.

## Technical details

- [Login API: Merchant initiated login](https://developer.vippsmobilepay.com/docs/APIs/login-api/how-it-works/merchant-initiated-login-howitworks.md) - Enroll customers with their consent
- [ePayment API: In-store payments](https://developer.vippsmobilepay.com/docs/APIs/epayment-api/how-it-works/in-store.md) - Initiating payments with the ePayment API for in-person payments
- [ePayment API: Personal QR feature](https://developer.vippsmobilepay.com/docs/APIs/epayment-api/api-guide/features/personal-qr.md) - Implementation guide for personal QR identification

> **Full site overview:** For every page in this documentation, read [https://developer.vippsmobilepay.com/llms.txt](https://developer.vippsmobilepay.com/llms.txt).
