Skip to main content

App Payments to ePayment

Read more about the transition to one platform on the MobilePay site. Below, you can find comparison between the existing MobilePay App Payments API and the new ePayment API replacing MobilePay App Payments.

info

If a partner developed your implementation, please talk with them.

Authentication and management

We will have a joint authentication solution across our API platform and introduce a Management API to retrieve merchant data. Read more here.

App Payments and ePayment endpoints

OperationMobilePay App PaymentsePayment
Initiate PaymentPOST:/v1/paymentsPOST:/epayment/v1/payments
Fetch Single PaymentGET:/v1/payments/{paymentid}GET:/epayment/v1/payments/{reference}
Fetch a list of paymentsGET /v1/paymentsN/A
Query payment logN/AGET:/epayment/v1/payments/{reference}/events
Capture PaymentPOST:/v1/payments/{paymentid}/capturePOST:/epayment/v1/payments/{reference}/capture
Cancel PaymentPOST:/v1/payments/{paymentid}/cancelPOST:/epayment/v1/payments/{reference}/cancel
Issue new refundPOST:/v1/refundsPOST:/epayment/v1/payments/{reference}/refund
fetch a list of refundsGET:/v1/refundsN/A
fetch single refundGET:/v1/refunds/{refundid}GET:/epayment/v1/payments/{reference}

Authentication and headers

See:

MobilePay App PaymentsePayment
apiKey or openIdAuthorization (POST:/accesstoken/get)
N/AVipps-System-Version (see HTTP headers)
N/AVipps-System-Name (see HTTP headers)
N/AVipps-System-Plugin-Name (see HTTP headers)
N/AVipps-System-Plugin-Version (see HTTP headers)
X-MobilePay-Idempotency-KeyIdempotency-Key (see Idempotency)
N/AOcp-Apim-Subscription-Key
N/AMerchant-Serial-Number

Initiate Payment

See:

MobilePay App PaymentsePayment
amountamount (currency, value)
idempotencyKeyIdempotency-Key
referencepaymentDescription
paymentPointIdMerchant-Serial-Number
redirectUrireturnUrl
descriptionpaymentDescription
customerPhoneNumber (Used for dual device flows on web)customer (phoneNumber)
N/AcustomerInteraction ("CUSTOMER_NOT_PRESENT")
N/ApaymentMethod (type "WALLET")
N/Areference
N/AuserFlow ("NATIVE_REDIRECT" "WEB_REDIRECT")
Response
paymentIdreference (set in paymentInitiation)

Query Payment

See:

MobilePay App PaymentsePayment
paymentIdreference
Response
paymentIdreference
amountamount (currency, value)
descriptionN/A
statestate
N/Aaggregate (authorizedAmount, cancelledAmount, capturedAmount, refundedAmount)
N/ApaymentMethod (type)
N/Aprofile (sub) (see What is the sub?)
N/ApspReference

Capture, Cancel and Refund Payment

See:

MobilePay App paymentsePayment
paymentIdreference
amountmodificationAmount (currency, value) not applicable for cancel
Response
N/Aamount (currency, value)
N/Astate
N/Aaggregate (authorizedAmount, cancelledAmount, capturedAmount, refundedAmount)
refundId only applicable for refundN/A
N/ApspReference
N/Areference

Test environment

The test environment is called Merchant Test (MT) and is now open for test. MT currently only allows Norwegian phone numbers, currency and merchants, but you can test the API and payment flow. Please see the details of limitations of the test environment.

note

Management API and Report API is not available in MT and can only be tested in production.

In order to request access to the test environment, please use the following links:

We will e-mail you with the information you need to get started. This is also needed even though you are an existing MobilePay integrator or merchant, since we need your information registered on our new joint platform.

Help us improve our documentation

Did you find what you were looking for?