All Vipps MobilePay API requests must include the
Authorization header with
a JSON Web Token (JWT), which we call the access token.
Get your access token by calling
and including the
curl https://apitest.vipps.no/accessToken/get \
-H "client_id: REPLACE-WITH-YOUR-CLIENT-ID" \
-H "client_secret: REPLACE-WITH-YOUR-CLIENT-SECRET" \
-H "Ocp-Apim-Subscription-Key: REPLACE-WITH-YOUR-SUBSCRIPTION-KEY" \
-H "Merchant-Serial-Number: REPLACE-WITH-YOUR-MERCHANT-ACCOUNT-NUMBER" \
-H "Vipps-System-Name: Acme Commerce" \
-H "Vipps-System-Version: 1.7" \
-H "Vipps-System-Plugin-Name: acme-webshop" \
-H "Vipps-System-Plugin-Version 4.3" \
Read more about the Vipps MobilePay standard HTTP headers.
Many of these headers are optional during testing, but you should include them in your integration, so that error information can be found in the logs.
See the Access Token API Guide for more details about the parameters and responses.