Skip to main content

Check-in API

The Check-in API is an interface to use in the Point Of Sale (POS) context for communicating with the customers while they are waiting for a process to be completed.

API version: 1.0.0

Before you begin

This document covers the quick steps for getting started with the Vipps Check-in API. You must have already signed up as an organization with Vipps and have your test credentials from the merchant portal, as described in the Vipps Getting Started guide.

HTTP headers

We strongly recommend using these standard HTTP headers for all requests.

Authentication

All API requests are authenticated with an access token and an API subscription key. See Get an access token in the Getting started guide, for details.

The check-in screen

The check-in screen is a way of showing the user their membership status. As per now, intended app behavior is to only show the check-in screen when the user is a member. This is used to keep the customers in the app, while also informing them that they are a member.

NB: The check-in screen will only appear if the user has the app open.

Here is how it will look for the user. The merchant's logo will also show here. Loyalty Flow

API example

POST:point-of-sale/v1/loyalty-check-in

Headers:

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1Ni <snip>
Ocp-Apim-Subscription-Key: 0f14ebcab0ec4b29ae0cb90d91b4a84a
Accept: image/png
Merchant-Serial-Number: 123456
Vipps-System-Name: Acme Commerce
Vipps-System-Version: 3.1.2
Vipps-System-Plugin-Name: acme-pos
Vipps-System-Plugin-Version 4.5.6

The request body

ParameterTypeRequiredDescription
phoneNumberstringYThe phone number of the end user, fetched via their personal QR-code
isMemberbooleanYThis boolean will determine the user flow in the app to show whether the user is enrolled in the loyalty program or not. If this value is true, they are a member and already enrolled, and the check-in screen will show.

Body:

{
"phoneNumber": "4791234567",
"isMember": true
}

The response will simply be a GUID, which is a reference that may be used for debugging.

Merchant enrollment

If merchants want a special name for their customer club, contact Vipps MobilePay Shopping Experience team, and we can add the name manually. If no name is set, we will use the company name in addition to "customer club".