Skip to main content

Frequently asked questions

See the Recurring API for all the details.

For general information and questions, please check in the Knowledge base.

Migration

How do I migrate from the Recurring API v2 to v3?

See the migration guide for the differences between the Recurring API v2 and v3. Also, check the V3 API definitions.

How do I migrate from the MobilePay subscription solution?

See: Migration guide.

Can I manage agreements and charges created with v2 API using v3 API?

Yes. All agreements and charges created with the v2 API can be retrieved and managed using the v3 API and vice-versa. Also, if an agreement was created with v2 API, it is possible to create a charge for this agreement with v3 API and vice-versa.

Charges/Payments

Do I need to store card data?

No. We handle all payment details. Merchants don't need to know how the users pay.

Do you automatically create charges for an agreement?

No. We do not create charges based on the agreement, every charge must be created by the merchant.

When a merchant creates a charge, we attempt to charge the customer, starting on the due date, and for as long after that as specified in retryDays.

For more details, see our call-by-call guide

When are charges processed?

See:

I don't want a charge to fail the first time the transaction fails (insufficient funds, networking issues, etc.)

The field retryDays in a charge allows for this functionality. See: Charge retries.

How can I require an initial payment from the user for setting up the agreement?

You need to use Initial charge.

Can the charge amount be different from the agreement price?

Yes. See Are there any limits on charging a user?.

Are there any limits on charging a user?

Yes. Within the interval period of the agreement, the merchant can charge at most 5 times the agreement price cumulatively. There is no limit on the number of charges which can be sent in the interval period.

It is, however, recommended that you update the agreements pricing if there is a price change. In case of a more significant change, we recommend creating a new Agreement.

It is the merchant's responsibility to make sure the user is informed and understands the price of the Agreement.

When can I send charges to a user?

You can create charges once the user's agreement is ACTIVE.

See How do I check my customer's status?.

Can I change the charge interval?

Yes, it is possible to change the charge interval. Here are two examples of update interval requests :

Update request for changing the interval from RECURRING to FLEXIBLE:

{
"interval": {
"type": "FLEXIBLE"
}
}

Update request for changing the period of the interval:

{
"interval": {
"type": "RECURRING",
"period": {
"count": 1,
"unit": "MONTH"
}
}
}

See: PATCH:/recurring/v3/agreements/{agreementId}.

A charge failed, but the customer did not receive any warning

The customer may not have push notifications turned on for the app.

We always send push notifications to the user in the app when a charge processing attempt is not successful, and the user gets a more detailed message when looking at the charge/agreement in the app.

Merchants should always ask the user to check the status of charges in the app. We are not able to manually check charges unless there is a clear indication that there is an error on our end.

What happens to charges if the corresponding agreement is canceled?

All charges in a PENDING, DUE or RESERVED state will be canceled if the Agreement is stopped.
Note: This also includes the initial charge if it's currently RESERVED. So if the merchant needs to charge the user for the initial charge; then this needs to be done before the agreement is stopped.
Note: Charges with status RESERVED will not be cancelled if the stop of the agreement comes from the user side.

If a user's card expires: What happens on the next charge?

The user is responsible for keeping their payment cards updated.

If a payment fails the user will receive a push notification, informing them to update their card.

We don't automatically select a new card if a card expires, as users may have multiple cards registered in the app. There are also regulatory requirements: The user must actively choose a card.

We automatically send the user a push notification when a card that is not used for recurring payments expires.

What happens to pending charges if the user deletes the payment card?

See If a user's card expires: What happens on the next charge?

How does a user see the charges I create?

The charge will be visible to the user in the app when it goes into the DUE state. A charge will remain in PENDING state until the due date is less than 30 days away.

You can retrieve all relevant charges through the GET:/recurring/v3/agreements/{agreementId}/charges endpoint.

If a user adds or updates a card in the Vipps or MobilePay app, will new recurring charges be made to that card?

No, currently the payment card tied to an agreement will not be updated automatically.

Users may want to charge different Agreements to different cards, and we do not want to automatically make changes to payment sources. Instead, we notify users as described in What happens to pending charges if the user deletes the payment card?

For how long is a payment reserved?

See For how long is a payment reserved?.

How can I make refunds?

Refunds must always be done using the API, through the merchant's administration solution.

From the API checklist:

Make sure your customer service, etc. have all the tools and information they need available in your system, through the APIs listed in the first item in this checklist, and that they do not need to visit portal.vippsmobilepay.com for normal work.

Important: If you do manual refunds on portal.vippsmobilepay.com, the API may return incorrect details for charges until the same refund operation is done using the API.

Variable amount

Can I decide the user's suggested max amount list

No. The suggested amount list from which the user can choose a maximum amount is automatically generated based on the suggestedMaxAmount sent in.

If the suggestedMaxAmount is changed, the suggested amount list will also be different the next time the user goes to change the maximum amount.

Agreements and users

Why do you allow drafting multiple agreements for the same user?

There are cases where one merchant might want to draft multiple subscriptions at the same time for the same user (i.e., the user subscribes to multiple services from the merchant), and there are also cases where one person might pay for multiple subscriptions for other reasons (family/relationships/guardianship).

It is the merchant's responsibility to know which of their users each drafted agreement belongs to, and to prevent drafting multiple agreements if that is not desirable.

How do I prevent drafting multiple agreements for the same user?

In order to prevent drafting multiple agreements for the same user, you need to keep track of which of your users any drafted agreement belongs to. Then, when a user does something that triggers a draft, you should first check if they already have an agreement that is PENDING, and inform the user that they should finish the agreement activation in the app or the landing page.

There might be some cases where the process fails in such a way that the user cannot complete activation and the agreement is stuck as PENDING for an extended period of time. Because of this, it might be a good idea to allow the user to choose to draft a new agreement regardless, but then you need to keep track of that "abandoned" agreement in case you might need to manage it later (stop and issue a refund if it gets undesirably activated or similar).

How do I check my customer's status?

Check the status of the user's agreement: Retrieve an agreement.

Can I look up a user's information?

We can provide a user's information with the user's consent. The merchant must ask the user for consent when creating the agreement using Userinfo with the correct scope. The requested information is only available for a limited amount of time after the consent is given.

Can I look up which user owns an agreement?

No. See: Can I look up a user's information? and Is there an API for retrieving information about a Vipps MobilePay user?.

How can I convert existing agreements to Vipps MobilePay agreements?

If you have existing agreements or subscriptions that use eFaktura, AvtaleGiro, PDF invoices by email or other payment methods, you can allow your customers to change to Vipps MobilePay in different ways:

  • Email: Email your customers and inform them that they can change to Vipps MobilePay. The email should contain a unique URL that leads directly to a webpage with a Vipps MobilePay payment for that customer. The customer may have to Login may be useful for this.
  • PDF invoice: Include a unique URL for the customer, same as above. You can use both a URL and a QR code containing the same URL. Keep in mind that some users will see the PDF invoice on their phone, and can not easily scan the QR.
  • Paper invoice: Include a QR code with a unique URL for the customer, same as above.

How can I delete an agreement?

Agreements can be stopped by calling the PATCH:/recurring/v3/agreements/{agreementId} endpoint. See Stop an agreement.

Can a user cancel the agreement through the Vipps or MobilePay app?

No, the user needs to contact the merchant which can then cancel or modify the agreement as they see fit.

The merchant must provide a link to the "my page" on the merchant's website when creating the agreement. See Create an agreement.

Users may want to make other changes to the Agreement than simply cancel it. A subscription may be paused for a period, it may be changed to a lower or higher frequency, additional products or services may be added, etc. This can add more complexity than we can present in a good way, and our approach is, therefore, to send the user to the merchant for managing the Agreement.

How can I move agreements between merchants and sales units?

Please note: We are working out the details for this process, please contact us if you need help with this.

Merchants sometimes need to move customer agreements from one merchant to another, or from one sales unit to another.

Clarification of terms:

  • Merchant: A juridical unit, typically called a business or company, identified with organization number ("orgno").
  • Sales unit: A merchant can have one or more sales units. It may be different brands, different physical locations, different services, etc.
  • MSN: The unique ID of a sales unit. MSN is short for "Merchant Serial Number" which identifies a sales unit.

First: A merchant very rarely "changes organization number". That only occurs in special cases. An organization number uniquely identifies a juridical unit and cannot usually be changed.

Typical cases:

  • If the merchant wants to move agreements from one MSN to another, and both MSNs are under the same orgno, we may be able to help.
  • If the merchant wants to move agreements from one orgno to another, and both orgnos are owned by the same parent orgno, we may be able to help.
  • If the merchant wants to move agreements from one orgno to another, and the orgnos are not owned by a parent company, we may be able to help. The users have entered agreements with an orgno, and we can't automatically move the agreements without the user's consent to enter agreements with the new orgno. The users may need to enter new agreements with the new orgno.
  • If the merchant wants to move agreements between two independent orgnos (not owned by a parent orgno), splits out a new orgno, is merged with another orgno, is acquired by another orgno, etc.: We may not be able to help. The users have entered agreements with an orgno, and we may not be able to automatically move the agreements without the user's consent to enter agreements with the new orgno. The users may need to enter new agreements with the new orgno.

The general process is:

  1. Contact your KAM or partner manager to plan the switch, and the date and time for moving the agreements.

  2. Log in on portal.vippsmobilepay.com and enter a new agreement with Vipps MobilePay for the new orgno.

  3. Order Billing and Recurring Payments.

  4. Inform all existing customers of the new orgno, and the planned date of the change. If it's a new company number, we need confirmation from you that you have informed your end users that the agreement is being transferred. If it's just a transfer from the old to the new sales unit on the same company number, we don't need this.

  5. Send a confirmation to agreement@vippsmobilepay.com that all customers have been informed, including a copy of the information sent.

  6. Contact your KAM or partner manager to exchange the necessary information to perform the migration:

    • The ID of the sales unit the agreements should be migrated from and to
    • A decision on how to handle existing agreements in the new sales unit (in case you have started using it)
    • Final confirmation of date and time for migration.
  7. After the migration is performed, you will get a file that maps from the old to the new agreement ID. This is a CSV where each line is an agreement, and the columns are old ID and new ID.

  8. You then need to update your systems, so you start using the new agreement IDs

Please note: Any downtime experienced by the end-users depend on how your systems deal with not having access to agreement/charge data of existing customers while migrating. If your systems handle this gracefully, the end-users might not experience downtime.

Please note: Agreements are not actually moved. Your new sales unit will get new agreements identical to the old ones, but with new agreement IDs. As a result, it will not be possible for you to see or do anything with previous charges using the new sales unit and agreement IDs. This is done because the underlying payments are tied to the sales unit. So, the new sales unit would not have the authority to capture/refund etc. old charges in any case. This means that in order to perform refunds etc., you need to request to get the old sale unit re-opened or perform them by other means than Vipps MobilePay.

The agreements in the old sales unit will be stopped, and it will not be possible to make new charges on them. The user will still be able to see the old agreement in the app, under "Stopped agreements". There they will find the payment history up to the time of migration. We recommend keeping track of all agreements a customer has ever been associated with so that you have the opportunity to retrieve previous agreements, charges, etc. if needed.

For all requests to move agreements, please contact your KAM, your partner or customer service.

Please note: If the merchant deactivates an MSN that has active agreements, it will no longer be possible to:

  • Manage the agreements
  • Perform new charges
  • Make refunds

Can I look up an agreementId if I have the chargeId?

Yes. See Retrieve a charge.

Why is agreement not cancelled if user click cancel on the Vipps MobilePay landing page?

When a user clicks cancel on the landing page, they are redirected to the merchant site. If the user didn't insert their phone number on the landing page, the agreement will be cancelled. But if they did input their number before cancelling, the agreement will not be cancelled, but will stay in the pending state. This is because a push message has been sent to the phone and the agreement is still pending in the app. Potentially, the user could click cancel on landing page and accept in the app at the same time, causing a race condition. To avoid this, the only way to cancel the agreement is through the app. If the user doesn't take action, the agreement will instead expire. Since the user is redirected to merchant page after cancelling on the landing page, but the agreement is still pending, the merchant must handle this scenario by either cancelling the agreement or urging the user to check their Vipps or MobilePay app to complete the agreement.

Common problems/errors

Why do I get the error merchant.not.allowed.for.recurring.operation?

The merchant.not.allowed.for.recurring.operation error indicates that the Recurring API is not yet activated for this sales unit.

The Recurring API is available for existing customers that have Payment Integration, a direct integration with the ePayment API or eCom API, and have completed some additional Know Your Customer (KYC) checks required by Finanstilsynet.

Vipps MobilePay is required to perform some extra compliance checks before activating the Recurring API.

Please order Billing and Recurring Payments to get access to the Recurring API in production.

Is there an API for retrieving information about a Vipps MobilePay user?

Yes. We offer the possibility for merchants, as part of the payment flow, to request the user's information.

For details, see Userinfo API.

Notifications and error messages

When do users get push messages?

EventPush message text (English)Push message text (Norwegian)Push message text (Danish)Push message text (Finnish)
Agreement requestConfirm payment agreementBekreft betalingsavtaleBekræft betalingsaftaleSopimus odottaa hyväksyntääsi
Charge processed successfullyPayment to sales unit name has been processedFast betaling til sales unit name har blitt gjennomførtBetalingen tilsales unit name blev gennemførtMaksu kauppiaalle sales unit name on käsitelty
Insufficient fundsMake sure you have enough money. We'll try again later.Pass på at du har nok penger. Vi prøver igjen litt senere.Vær sikker på at du har penge nok på kortet. Vi prøver igen senere.Tarkista, että tilillä on riittävästi katetta. Yritämme veloittaa maksua uudelleen myöhemmin.
Invalid payment source (retryable)The card is invalid, try anotherKortet er ugyldig, prøv et annet.Kortet er ugyldigt, prøv et andet.Kortti ei kelpaa, yritä toista korttia.
Invalid payment source (not retryable)The card is invalid, try changing it and contacting %s to continue the agreement.Kortet er ugyldig, prøv å endre det og kontakt %s å fortsette avtalen.Kortet er ugyldigt. Prøv at skifte kortet og kontakt %s for at fortsætte aftalen.Kortti ei kelpaa. Vaihda korttia tai ota yhteyttä kauppiaan %s asiakaspalveuun jatkaaksesi sopimusta.
Charge amount too high (variable amount)The amount is higher than the agreed maximum amount.Beløpet er høyere enn det avtalte maksimumsbeløpet.Beløbet er højere end det aftalte maksimum beløb.Summa on suurempi kuin maksun yläraja.
Future charge amount too high (variable amount)You have to raise the maximum amount in the agreement. If not, the payment will fail.Du må øke maksbeløpet i avtalen for å unngå at betalingen feiler.Du er nødt til at ændre maksimum beløbet for betalingsaftalen, for at undgå at betalingen fejler.Muuta maksun ylärajaa, jotta maksu menee läpi.

What is shown to users when charge processing fails?

We set the failure reason on the charge based on why the processing failed.

ReasonCharge failure text (English)Charge failure text (Norwegian)Charge failure text (Danish)Charge failure text (Finnish)
Insufficient fundsSomething went wrong. Please make sure your attached payment source contains the necessary funds to complete the payment. We will try again later.Noe gikk galt. Sørg for at betalingskilden inneholder de nødvendige midlene for å fullføre betalingen. Vi prøver igjen senere.Noget gik galt. Sørg for at, du har nok penge på dit betalingsmiddel til at gennemføre betalingen. Vi prøver igen senere.Jokin meni pieleen. Varmista, että sinulla on riittävästi katetta maksua varten. Yritämme suorittaa veloitusta myöhemmin uudelleen.
Invalid payment sourceThe payment source associated with your agreement is invalid. Please change your card or account.Kortet som er knyttet til avtalen din er ugyldig. Bytt til et annet.Betalingsmidlet som er tilknyttet din aftale er ugyldigt. Venligst skift dit kort eller konto.Sopimukseesi liitetty maksutapa ei kelpaa. Ole hyvä ja vaihda kortti.
Charge amount too high (variable amount)Payment failed. Change the maximum amount in the agreement below. We'll try again later.Betalingen feilet. Endre maksbeløpet i avtalen under. Vi prøver igjen senere.Betaling fejlet. Ændre maksimum beløbet i aftalen nedenfor. Vi prøver igen senere.Maksu epäonnistui. Muuta sopimuksen maksun ylärajaa alla. Yritämme myöhemmin uudelleen.
Future charge amount too high (variable amount)Payment will fail. Change the maximum amount in the agreement below.Betalingen kommer til å feile. Endre maksbeløpet i avtalen under.Betalingen vil fejle. Ændre maksimum beløbet i aftalen nedenfor.Maksua ei voida veloittaa. Vaihda sopimuksen maksun ylärajaa alta.

Why do user get error "Something went wrong, please try again later." in the app when accepting agreement?

This error can be due to operational issues with Vipps MobilePay. Please check the status page for current status. It can also be caused by the MSN configuration. If merchant have not yet confirmed their bank account it will not be possible to accept agreements. Merchants can check this in the merchant portal under the relevant sales units.

Admin/partners

How can I change partners for a merchant using the Recurring API?

Please note: We are working out the details for this process, please contact us if you need help with this.

Here is the procedure for what you must do when changing partners: We need consent from the user site that they will change partners. They can submit this directly to Vipps MobilePay (via partner@vippsmobilepay.com) or they can submit it through you as a new partner.

The partner orders at (partner@vippsmobilepay.com) must receive an email from the user site or partner stating that they wish to change partners with the following information:

  • Name of user location
  • Organization number
  • Name of the new partner
  • Name of the old partner
  • Which MSN it should be "switched to"
  • Test page if the website changes
  • Date and time of desired transfer from old partner to new partner
  • Signature from customer
  • Possible new price

One thing you should be aware of is that in each agreement there is a merchantAgreementUrl which is the link each user clicks on to be able to change their subscription. In other words, a "My page" for the user. If the link structure is not the same in both solutions, you must update all existing agreements with a new URL as soon as possible after the move so that the customers can manage the agreements further without coming to a blank page.

How can I change partner for my integration?

See How to change partners.

Please note: The MSN (the number) does not change when changing partners.

Help us improve our documentation

Did you find what you were looking for?