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.

App Payments and ePayment endpoints

OperationMobilePay App PaymentsePayment
Initiate PaymentPOST:/v1/paymentsPOST:/epayments/v1/payments
Fetch Single PaymentGET:/v1/payments/{paymentid}GET:/epayments/v1/payments/{reference}
Fetch a list of paymentsGET /v1/paymentsN/A
Query payment logN/AGET:/epayments/v1/payments/{reference}/events
Capture PaymentPOST:/v1/payments/{paymentid}/capturePOST:/epayments/v1/payments/{reference}/capture
Cancel PaymentPOST:/v1/payments/{paymentid}/cancelPOST:/epayments/v1/payments/{reference}/cancel
Issue new refundPOST:/v1/refundsPOST:/epayments/v1/payments/{reference}/refund
fetch a list of refundsGET:/v1/refundsN/A
fetch single refundGET:/v1/refunds/{refundid}GET:/epayments/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 and merchants, but you can test the API and payment flow. Please see the details of limitations of the test environment.

You need credentials to get access to MT. In order to receive those, you just need to sign up as partner, and we'll e-mail you the information you need to get started. This is also needed even though you are an existing MobilePay integrator, since we need your information registered on our new joint platform.

Help us improve our documentation

Did you find what you were looking for?