The Vipps PSP API online
How payments in web shops or merchant websites work with the Vipps PSP API.
Details
1. Customer selects their payment method
Give the customer the option to pay with Vipps in your webshop or app.
2. Customer enters their phone number and logs in
When they select Vipps, initiate a payment with:
POST:/psp/v3/psppayments/init/
.
If the payment was started from a mobile device, the Vipps app will automatically open.
If the payment was started on a desktop device, the landing page will open. There, the customer enters their phone number and clicks Next to send the payment request to the app on their phone.
3. Customer confirms the payment in the app
A push notification appears on the customer's phone. They log in to Vipps and confirm the payment. The Vipps PSP API automatically reserves the payment and provides a receipt of the successful payment.
4. The merchant's shop confirms the order
After the customer has approved the payment in the app:
- If the payment was started on a mobile device, the store page or app will open again and confirm that the order was successful.
- If the payment was started on a desktop device, the user can go back to the webpage where it will confirm that the order was successful.
To determine that the user has authorized the payment, poll with the
GET:/psp/v3/psppayments/{pspTransactionId}/details
request. See the guidelines for polling.
5. The merchant completes the order and shipping
The merchant completes the order and ships it to the customer.
6. Capture the payment
The merchant captures the order through the Vipps PSP API. The payment is transferred to the merchant's account. This may take 2-3 days depending on your bank.
More information
For technical details, see the Vipps PSP API guide.
More flows are described in the Recommended flows section.