Skip to main content

In-store customer club

If you want to combine customer club signup with payments see our in-store payments with customer club flow.

This flow is a great way to simplify the process of adding customers to the merchant loyalty club. It can also be used in other scenarios where you want to identify the customer using their phone number.

The solution is a combination of the personal QR codes in the Vipps or MobilePay app the Login API and the QR API.

The following describes the process at a high level.

Loyalty Flow



Your system needs a 2D QR code scanner that your cashier can use to scan the customer's personal Vipps MobilePay QR code.


Step 1: Identify the customer

Ask if the customer is a Vipps/MobilePay user. If not, you need to use a more traditional flow. If they are a Vipps or MobilePay user, get their phone number by asking them for it or by scanning their personal QR. It is convenient for the user to scan their personal QR code from within their Vipps or MobilePay app.

Vipps scan

How it works

This can happen in two ways:

  • Customer-facing scanner - The store will have a permanent customer-facing scanner and customers can scan their QR code at any time.
  • Cashier scanner - The QR code is scanned by the cashier using a wired scanner.

Use the personal QR exchange endpoint to get the customer's phone number from their QR code.

When this QR code is scanned, your POS system will get their phone number. If you don't have a scanner, you can enter the customer's phone number manually.

Step 2: Check membership

Check the customer's membership status in your internal system by using the phone number you received in the previous step.

Step 3: Request membership (only if they are not a member)

If the customer is not a member of the loyalty program, request to enroll them by using the Login API.

You already have their phone number, so just provide a button in your user interface to allow the cashier to initiate the login.

Pressing the button will trigger a Login flow to gather consent from the customer. The steps needed to get consent from the user are explained in detail there. The CIBA flow will send a push to the user, and once the user has finished the flow, it should be reflected in the POS.

When this login flow is completed, the customer will be enrolled in the loyalty program.

Vipps scan

See Log in with phone number for a detailed example.

Sequence diagram

Sequence diagram for in-store payment with customer club.

Help us improve our documentation

Did you find what you were looking for?