Initiate a loyalty check in session for a Vipps user
Endpoint for triggering a Vipps loyalty check-in
Authorizations:
header Parameters
Authorization required | string Example: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1Ni (truncated) The access token is a base64-encoded string that is required for all API calls.
It is a JWT (JSON Web Token). The access token is fetched from the
|
Ocp-Apim-Subscription-Key required | string Example: 0f14ebcab0ec4b29ae0cb90d91b4a84a The subscription key for a sales unit. See API keys. |
Merchant-Serial-Number | string Example: 123456 The merchant serial number (MSN) for the sales unit. Partners must always send the Merchant-Serial-Number header, and we recommend that everyone sends it, also when using the merchant's own API keys. The Merchant-Serial-Number header can be used with all API keys, and can speed up any trouble-shooting of API problems quite a bit. |
Vipps-System-Name | string <= 30 characters Example: WooCommerce The name of the ecommerce solution. One word in lowercase letters is good. See http-headers. |
Vipps-System-Version | string <= 30 characters Example: 5.4.0 The version number of the ecommerce solution. See http-headers. |
Vipps-System-Plugin-Name | string <= 30 characters Example: woocommerce-payment The name of the ecommerce plugin (if applicable). One word in lowercase letters is good. See http-headers. |
Vipps-System-Plugin-Version | string <= 30 characters Example: 1.2.1 The version number of the ecommerce plugin (if applicable). See http-headers. |
Request Body schema: application/json
phoneNumber required | string or null^47[0-9]{8}$ Phone number for the user in MSISDN format. |
isMember required | boolean or null Is the customer a member of the loyalty program? |
Responses
Request samples
- Payload
{- "phoneNumber": "4712345678",
- "isMember": true
}
Response samples
- 200
- 400
"string"