MobilePay API — for developers

We built a test harness for Vipps MobilePay’s APIs for our own and clients’ products. Here is what the documentation mentions briefly but takes time to discover in practice.

Last checked:

Step by stepFive pitfalls
  1. Amounts are in øre
  2. Idempotency-Key
  3. The webhook secret is shown only once
  4. Cancel does not change state
  5. Settlement data only in production

The APIs

The main APIs are ePayment (payments online and in store), Recurring (agreements and charges) and Login. Supporting ones include Access Token, Webhooks, QR, Userinfo and Order Management, and for reporting the Report and Settlement APIs.

The test environment

  • Test runs on https://apitest.vipps.no, production on https://api.vipps.no — fully separate environments with separate keys.
  • Not in test: Donations, Management, Report and Sales. There are no settlements in test and no business portal.
  • Push may be unstable in test, and tap-to-pay is not supported. The iOS test app is on TestFlight, the Android one on Google Play.

Test amounts that trigger errors

AmountResult
151Insufficient funds
182Refused by issuer
183Suspected fraud
184Withdrawal limit exceeded
186Expired card
187Invalid card
201Unknown result for 1 hour
Amounts in øre. Source: Vipps MobilePay documentation, read 19 November 2026

Five pitfalls

  1. Amounts are in øre: DKK 25 is sent as 2500.
  2. Idempotency-Key on every mutating call. The access token lives about 1 hour.
  3. The webhook secret is shown only once, at registration. Store it immediately.
  4. Cancel does not change state: it stays AUTHORIZED; only aggregate.cancelledAmount moves. Derive status from the amounts.
  5. Settlement data only in production: we finished our report code in test but only got data against a real agreement.

New address for the docs: the developer documentation moves to developer.vipps.no on 12 January 2027. Update links in your own documentation.

Questions and answers

Can I test partner keys?

No. Partners get test sales-unit keys instead.

How do I get an access token?

POST /accesstoken/get with client_id, client_secret, Ocp-Apim-Subscription-Key and Merchant-Serial-Number.

Can I split a payment between several recipients?

ePayment does not support splitting payments, so there is no platform-fee model.

Independent advice

Building a MobilePay integration?

Tell us what needs building (webshop, app, subscription, bookkeeping). We answer with a plan and a fixed price.

  • A fixed price before we start
  • An answer by e-mail, no calls
  • Your details are used only to answer you

Fields marked with * are required.

What is it about?