Open Banking in Norway
Overview
Open Banking in Norway is an online banking payment method that uses open banking APIs to expand the capabilities of secure handling and sharing customers’ financial data. This payment method belongs to the group of Open Banking methods and allows processing payments in kroner via the banks of Norway.
General information
Payment method type | bank payments |
---|---|
Payment instruments |
|
Countries and regions | NO |
Payment currencies | NOK |
Currency conversion | on the ecommpay side |
Purchases | + |
Payouts | – |
Stored credentials payments | – |
Full refunds | – |
Partial refunds | – |
Chargebacks | – |
Special considerations |
|
Obtaining access to the payment method and access fee | refer to your ecommpay key account manager |
Interaction diagram
Payment processing by using the Open Banking in Norway payment method requires merchant's web service, one of the interfaces and the payment platform of ecommpay, as well as one of the bank services which supports this payment method.
Operations support
Interfaces | Amounts | Timespans ** | ||||||
---|---|---|---|---|---|---|---|---|
Payment Page | CMS Plug-ins | Gate | Dashboard | minimum | maximum | basic time | threshold time | |
Purchases | + | – | + | – | * | * | * | * |
* Amount limits and payment processing times depend on banks.
** The basic and threshold times are defined as follows:
- The basic time is the average estimated time between the moment a payment is initiated in the payment platform to the moment the information about the payment result is sent to the initiator. The basic time evaluation is made on the assumption of normal operation of all technical facilities and communication channels and typical customer behaviour (where customer effort is required). You can use the basic time to define the moment of reacting to the absence of payment result callbacks or checking payment status.
- The threshold time is the maximum possible time from the moment a payment is initiated in the payment platform to the moment the information about the payment result is sent to the initiator. A payment is automatically declined, if its waiting time exceeds the threshold time. For individual setting of the threshold time limit, contact ecommpay technical support.
Processing scenarios
In the Open Banking in Norway method, to perform a purchase operation, you need to redirect a customer to the provider service.
Supported banks
Payment processing involving the Open Banking in Norway method is carried out through banks that support the use of this method. Usually, when Payment Page is used, the bank is selected by customer in the payment form. However, if Payment Page is opened with preselected method and bank, or if the payment is initiated through Gate, the bank should be selected by customer on the web service side and you need to specify the ID of the selected bank in requests for payment processing.
The table below provides information about the names and IDs of the supported banks. This information is for reference only.
Bank | ID |
---|---|
Danske Bank | 55251 |
DNB | 55261 |
Handelsbanken | 55311 |
Nordea | 55271 |
SBanken | 55301 |
Sparebank1 | 55281 |
Sparebanken Vest | 55291 |
As the list of the supported banks may change, for the most recent information it is recommended to send request to /v2/info/banks/norway/sale/list
by using POST (HTTP) method. This endpoind belongs to the endpoind group /v2/info/banks/{payment_method}/{operationType}/list of Gate API. The request must include project and payment IDs, amount and currency of the payment, and signature. It is recommended to fill in the real payment information, but you can also specify random values.
For information about supported banks, refer to your ecommpay key account manager.
The following sections provide detailed information about what you need to do to perform payments and how you can analyse the information on payments and operations.
Payment confirmation procedure
The workflow of processing purchases made with Open Banking in Norway implies participation of banks, and in certain cases, processing payments on the side of these banks and the Open Banking in Norway service may take up considerable time (in some cases up to seven or more days). As a result, there can be situations when the earlier information about the payment's completion or decline contradicts the final result (for example, following a notification about a declined payment, the funds are credited to the recipient's account, or vice versa).
To ensure timely and correct notification of merchants regarding the status of payments in these cases, the ecommpay payment platform uses a payment confirmation procedure. When you integrate the Open Banking in Norway payment method, discuss with your account manager the use of this procedure as well as switching of statuses of the payments with the confirmed declines to the reversed
or decline
status (to make monitoring and analysing payments more convenient).
The payment confirmation procedure is performed as follows: after the customer completes all required steps, the payment is processed on the provider service side while the customer is redirected to the payment interface where they receive the information about payment processing. The payment confirmation
operation is created on the payment platform side while the payment status is set to awaiting confirmation
, the sale
operation status is set to success
until the information about payment confirmation is received from a service provider side and the corresponding payment status callback is sent to the web service.
The payment confirmation
operation can have one of the following final statuses:
success
—when the information about the crediting of funds to the recipient is received from a service provider side. In this case the payment status is set tosuccess
and the final callback containing the payment information is sent to the web service.decline
—when the information regarding the funds not being credited to the recipient is received from a service provider. In this case depending on the project settings, that were configured during integration, the following scenarios are available:- The
reversal
operation is initiated automatically and the payment platform sends the following callbacks successively: an intermediate callback, containing information about the funds not being credited and the final callback, containing the information about the purchase refund and thereversed
payment status. - The payment status is set to
decline
and the final callback with information that purchase was declined is sent from the payment platform to the web service.
- The
When using this procedure, you can also monitor payment statuses in the Dashboard interface.
Purchase by using Payment Page
General information
In the Open Banking in Norway method, to perform a purchase by using Payment Page, the merchant web service should send a request with all the required parameters and signature to the ecommpay URL and get the callback with information about the payment result from the payment platform. When opening Payment Page, you can either allow your customer to select the Open Banking in Norway method from the list of other payment methods on Payment Page or have Payment Page opened with the Open Banking in Norway method selected. For more information about preselecting payment methods, see in Preselecting payment methods.
The sections that follow discuss in more details the request format and the Payment Page parameters to use in the Open Banking in Norway payment method and provide the information on the format of callbacks with payment results. For the general information on how to use the API, see Payment Page API Description.
Request format
There are several things you need to consider when using the Open Banking in Norway method:
- You must provide values for the basic minimum of parameters. Listed below are the parameters that are mandatory for any payment method:
- project_id—the project ID obtained from ecommpay
- payment_id—payment ID unique within the project
- payment_currency—payment currency in ISO-4217 alpha-3 format
- payment_amount—purchase amount in minor currency units
- customer_id—the unique ID of the customer within your project
- To preselect the Open Banking payment method group, specify the
openbanking
group code in theforce_payment_group
parameter. You can customise the selecting payment method page on Payment Page.
By default, the banks are grouped in one Norwegian banks button on Payment Page, so the selection of a bank is carried out in two steps. First, the Open Banking in Norway method is chosen among others, and then the bank is selected on the next page with the list of the banks.There are several options for displaying the page with the selecting of payment method on Payment Page:
- To display banks grouped in one Norwegian banks button on Payment Page in the list of payment methods.
- To display only one Norwegian banks button without other payment methods. To preselect Open Banking in Norway as the payment method on Payment Page, pass the code
online-norwegian-banks
in the force_payment_method parameter. The list of the banks from Open Banking in Norway group with separate buttons are displayed to a customer on Payment Page bypassing the page with the payment method selection. - To display the banks with separate buttons in the list of payment methods. You need to pass
true
in the split_banks parameter in the request for opening in the payment_methods_options string."payment_methods_options": "{\"online_norwegian_banks\": {\"split_banks\": true}}"
- To display a button of a specific bank (one or several) from Open Banking in Norway group on Payment Page in the list of payment methods, pass the bank identifier in the banks_id parameter. If it is necessary to display several banks from a group, pass the identifiers of these banks separated by a comma with a space.
"payment_methods_options": "{\"online_norwegian_banks\": {\"split_banks\": true, \"banks_id\": [55251, 55261]}}"
Here is the example of a request for opening Payment Page with preselected payment method and a bank.
- If required, you can also add any other additional parameters Payment Page supports.
- After you specify all the parameters you need, you must create the signature for the request. For instructions on how to sign a payment request, see Signature generation and verification.
Thus, a correct payment request in the Open Banking in Norway method must include project, customer, and payment IDs, the currency and the amount of a payment, as shown in the following example:
For information about all parameters available in the Open Banking in Norway method, see Parameters for opening payment form.
Callback format
The Open Banking in Norway method uses the standard format for callbacks to deliver purchase results. For more information, see Callbacks.
The following is the example of a callback with information about a 10.00 EUR
purchase made in the 239
project.
The following is the example of a callback with information about a declined purchase.
Useful links
The following articles can be useful when implementing purchases via Payment Page:
- Interaction concepts—about the interaction with the payment platform by using Payment Page.
- Signature generation and verification—about the procedure of generating and verifying signatures in requests and callbacks.
- Payment models and statuses—about the types, processing models, and possible statuses of supported payments and operations.
- One-time one-step purchase—about processing of one-time one-step purchases by using Payment Page.
- Information of operations performing—about error and response codes that are used in the payment platform to record information about performing of operations.
Purchase by using Gate
General information
In the Open Banking in Norway method, when processing a purchase by using Gate, the merchant web service is required to do the following:
- Send a request with all the required parameters and signature to the ecommpay URL.
- Redirect the customer to the provider service.
- Get the callback with information about the payment result from the payment platform.
The following diagram provides the detailed picture of the payment processing procedure.
The sections that follow discuss in more details the request format and the Gate parameters to use in the Open Banking in Norway payment method and provide the information on the format of callbacks with purchase results.
Request format
There are several things you must consider when using purchase requests in the Open Banking in Norway method:- You perform purchase by sending request to
/v2/payment/banks/norway/sale
by using POST (HTTP) method. This is an online banking request group: /v2/payment/banks/{payment_method}/sale - The following objects and parameters must be specified in the request:
- Object general—general request identification information:
- project_id—the project ID obtained from ecommpay
- payment_id—payment ID unique within the project
- signature—signature created after you specify all the required parameters. For more information about signature generation, see Signature generation and verification.
- Object payment—purchase information:
- amount—purchase amount in minor currency units
- currency—purchase currency in ISO-4217 alpha-3 format
- Object customer—customer information:
- id—the unique ID of the customer within your project
- ip_address—customer IP address
- Object account—customer account information:
- bank_id—bank identifier
- Object return_url—URLs for redirecting a customer from the bank website:
- success—URL for redirecting a customer after a successful purchase
- decline—URL for redirecting a customer after a declined purchase
- return—URL for redirecting a customer during any step of the purchase
- Object general—general request identification information:
- If required, you can also add any other additional parameters Gate supports.
Thus, a correct payment request through the Open Banking in Norway method must include project, payment, customer and bank IDs, customer IP-address, signature, currency and amount of the purchase, and URL for redirection, as shown in the following example:
Formats of the customer redirection data
In the Open Banking in Norway method, to redirect a customer to the provider service, it is required to do the following:
- Receive the callback from the payment platform which includes the redirect_data object. This object contains the object body with the data necessary to reference the provider's JavaScript library and call the function that redirects the customer to the provider website.
- Reference provider's JavaScript library using the URL received in the widget_url parameter of the body object.
- Call the function that redirects the customer to the provider website using the parameters received in the body object (according to the provider requirements).
The body object contains the following mandatory parameters:
- widget_url—URL of provider's JavaScript library
- widget_host—hostname of the provider server
- token—token which is used in
data.token
in the function that redirects the customer - other—determines the possibility of payment by using banks that are not supported by default on the provider side; this option is not supported in this technical implementation, the value of the parameter is always
off
- callback_url—URL for customer redirection to the web service side after successful payment
The body object can also contain the following optional parameters:
- creditor—bank identifier code (BIC); the parameter is used when the bank is selected on the web service side
- css—link to the CSS file with styles which allows the merchant to alter the appearance of the provider website
- default_country—code of the country with the banks which are available for payment processing; the code must be specified in the ISO 3166-1 alpha-2 format
The following is the example of callback with customer redirection data.
The following is the example of the URL which is used to reference the provider's JavaScript library and the example of call of the function which redirects the customer the provider website. Both of these examples are based on the example of customer redirection data provider above.
Final callback format
The Open Banking in Norway method uses the standard format for callbacks to deliver purchase results. For more information, see Callbacks.
The following is the example of a callback with information about a 10.00 EUR
purchase made in the 239
project.
The following is the example of a callback with information about a declined purchase.
Useful links
The following articles can be useful when implementing purchases via Gate:
- Interaction concepts—about the interaction with the payment platform by using Gate.
- Signature generation and verification—about the procedure of generating and verifying signatures in requests and callbacks.
- Payment models and statuses—about the types, processing models, and possible statuses of supported payments and operations.
- One-time one-step purchase—about processing of one-time one-step purchases by using Payment Page.
- Information of operations performing—about error and response codes that are used in the payment platform to record information about performing of operations.
Analysis of payments results
As with other payment methods ecommpay offers, when using the Open Banking in Norway method, you have several options to analyse the information about payments and operations performed by using the method—alone or in conjunction with other methods.
You can load and analyse all the necessary information in Dashboard, for instance you can use the analytic panels on the Analytics tab to this end.
Also, you can export the information for further analysis by using third party analytical tools. The following options are available:
- Dashboard allows you to download reports in CSV and XLS formats—by using the tools on the Payments tab. You can perform export as a one-time download to your local computer or have payment data regularly exported and delivered to email addresses you specify.
- Data API allows you to have payment information exported in JSON format and delivered to a URL you specify. The payment information is exported by using the /operations/get queries.
If you have any further questions regarding payment data analysis, contact ecommpay technical support.