Skip to main content

MobilePay Online changelog

View as Markdown (opens in a new tab)
Install AI tools

Give your assistant up-to-date guidance for our APIs, with our plugin or without it.

The plugin is still under development. See the AI tools page for details.

Run both commands, in order.

claude plugin marketplace add vippsas/agent-toolkit
claude plugin install vipps-developer@agent-toolkit

For troubleshooting, see the full instructions.

Maintenance mode

This API is in maintenance mode: we continue to support and maintain it, and no end of life date is planned. New PSP functionality is added to the ePayment API, so we recommend it for new integrations.

This API is only available in the Danish and Finnish markets.

May 2025​

To support 8-digit BINs for Visa and Mastercard, we will change the maskedCardNumber for Visa and Mastercard token callbacks. With this change, you’ll receive the first 8 digits and the last 4 digits of the card number.

Example: Old format: "maskedCardNumber":"479645XXXXXX1234" New format: "maskedCardNumber":"47969485XXXX1234"

What you need to do:

Make sure your systems can handle both the 6-digit and 8-digit BIN formats during the transition period.

Example of Visa Token Service (VTS) response:

VisaTokenCallbackPayload
{
"paymentId":"8dab9219-ab03-4524-bae7-f0ad55119da5",
"authorizationAttemptId":"32eedb2b-a536-4eb6-b618-c2d6c1bf7aab",
"cardType":"VISA-CREDIT",
"cardIssuedInCountryCode":"DK",
"maskedCardNumber":"47969485XXXX1234",
"cardDataType":"TOKEN",
"tokenMethod":"VTS",
"tokenData":{
"vPaymentDataID":"da17bd1568bdc8b418d71cf80c44ea02",
"cryptogramInfo":{
"cryptogram":"/wAAAAwAUkMTObMAAAAAgS0AAAA=",
"eci":"07"
},
"paymentInstrument":{
"last4":"1234",
"paymentType":{
"cardBrand":"VISA"
},
"paymentAccountReference":"V0011223344556677889900112233"
},
"tokenInfo":{
"token":"4111111111111112",
"last4":"1112",
"expirationDate":{
"month":"02",
"year":"2030"
}
}
},
"isDelegatedAuthentication": false
}

Example of Mastercard S4C (MS4C) response:

MastercardTokenCallbackPayload
{
"paymentId":"1ba21790-5e10-4db1-8e90-330fb41916e7",
"authorizationAttemptId":"3205ec7c-2d50-49d2-95dc-326e34edce47",
"cardType":"MC-CREDIT",
"cardIssuedInCountryCode":"DK",
"maskedCardNumber":"52047345XXXX4792",
"cardDataType":"TOKEN",
"tokenMethod":"MC S4C",
"tokenData":{
"token":{
"paymentToken":"5555555555554445",
"tokenExpirationMonth":"05",
"tokenExpirationYear":"2030",
"paymentAccountReference":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"dynamicData":{
"dynamicDataType":"CARD_APPLICATION_CRYPTOGRAM_SHORT_FORM",
"dynamicDataValue":"MD1eEaqbngDNAy0iuRqOAAADFEA="
},
"eci":"06"
}
}

November 2024​