- METHOD TYPEReal-Time Bank Transfer
-
DEPOSITS
-
WITHDRAWS
-
REFUNDS
Introduction
This guide provides steps to integrate Open Banking as a Nuvei APM (alternative payment method) into your payment flows, and how to accept payments (deposits) from your customers.
Nuvei Environments
You can process Open Banking APM deposit (payment) transactions using Nuvei server-to-server REST APIs or Nuvei Web SDK calls.
Prerequisites and Notes
- This guide assumes you have completed all account set up prerequisites, and are ready to integrate the Open Banking APM payment method into your payment flow.
- Nuvei handles Open Banking transactions in “redirection mode”.
- The system sends DMNs (direct merchant notifications) to ensure that you receive the results of transaction processing. You need to include a destination DMN
notificationUrl
in all/payment
requests. You can either set the notification URL hard coded on the CPanel, or send it in each request. - The scope of this guide describes accepting customer payments using customer payment methods, that are not initially stored as UPOs in our system. (A UPO (user payment option) is an encrypted customer payment method record stored in the Nuvei system, representing a customer bank account or other payment method.)
- Test credentials and testing scenarios can be provided by Nuvei if necessary. You can contact Nuvei support for assistance.
Supported Countries
- Austria
- Belgium
- Estonia
- France
- Germany
- Hungary
- Latvia
- Lithuania
- Netherlands
- Poland
- Portugal
- Spain
- United Kingdom
Supported Currencies
- EUR
- GBP
- PLN
Collecting Payment Details
- Follow the instructions in these steps:
Click a tab to open…Retrieve a dynamic list of banks and APMs linked to your merchant account, for that country:- The payment flow begins when your customer enters the
amount
they wish to pay on your payment page, selects Open Banking and clicks the “Pay” button (or equivalent). - Send a
/getSessionToken
request, which generates asessionToken
. - Call the
/getMerchantPaymentMethods
method and include the relevantcountryCode
parameter to narrow down results returned.Example
/getMerchantPaymentMethods
Request{ "sessionToken": "<sessionToken from getSessionToken>", "merchantId":"<your merchantId>", "merchantSiteId":"<your merchantSiteId>", "clientRequestId": "<unique request ID in merchant system>", "currencyCode":"USD", "countryCode":"BE", "type":"DEPOSIT", "languageCode":"eng", "timeStamp":"<YYYYMMDDHHmmss>", "checksum":"<calculated checksum>" }
Retrieve a dynamic list of banks and APMs linked to your merchant account, for that country:- The payment flow begins when your customer enters the
amount
they wish to pay on your payment page, selects Open Banking and clicks the “Pay” button (or equivalent). - Send an
/openOrder
request, which generates asessionToken
. - Instantiate a Web SDK session by sending a
SafeCharge()
request and include thesessionToken
. - Now you can call the
getAPMs()
Web SDK method, and include the relevantcountryCode
to narrow down results returned.Example
getApms()
Requestsfc.getApms({ "currencyCode": "USD", "countryCode": "BE", "languageCode": "en" }, function (res) { console.log(res) })
The response returns all the APMs linked to your merchant account, for that
countryCode
.
-
Initiate a Session This authenticates and sets up an order in the Nuvei system, by sending an
/openOrder
request, and returns asessionToken
. -
Create an HTML Placeholder This instantiates the Web SDK with the
sessionToken
received from the server call to/openOrder
. - Collect the bank and transaction details by displaying a popup for the customer to select a bank, enter the IBAN (if mandatory for the bank), accept the Terms and Conditions, and enter the amount.
- Use an IFrame to redirect the customer to their selected bank, so they can enter their credentials and complete the payment transaction.
(END OF CHECKOUT FLOW)
- For REST API
-
Retrieve a dynamic list of banks and APMs linked to your merchant account, for that country:
- The payment flow begins when your customer enters the
amount
they wish to pay on your payment page, selects Open Banking and clicks the “Pay” button (or equivalent). - Send a
/getSessionToken
request, which generates asessionToken
. - Call the
/getMerchantPaymentMethods
method and include the relevantcountryCode
parameter to narrow down results returned.Example
/getMerchantPaymentMethods
Request{ "sessionToken": "<sessionToken from getSessionToken>", "merchantId":"<your merchantId>", "merchantSiteId":"<your merchantSiteId>", "clientRequestId": "<unique request ID in merchant system>", "currencyCode":"USD", "countryCode":"BE", "type":"DEPOSIT", "languageCode":"eng", "timeStamp":"<YYYYMMDDHHmmss>", "checksum":"<calculated checksum>" }
- The payment flow begins when your customer enters the
- For Web SDK
-
Retrieve a dynamic list of banks and APMs linked to your merchant account, for that country:
- The payment flow begins when your customer enters the
amount
they wish to pay on your payment page, selects Open Banking and clicks the “Pay” button (or equivalent). - Send an
/openOrder
request, which generates asessionToken
. - Instantiate a Web SDK session by sending a
SafeCharge()
request and include thesessionToken
. - Now you can call the
getAPMs()
Web SDK method, and include the relevantcountryCode
to narrow down results returned.Example
getApms()
Requestsfc.getApms({ "currencyCode": "USD", "countryCode": "BE", "languageCode": "en" }, function (res) { console.log(res) })
The response returns all the APMs linked to your merchant account, for that
countryCode
.
- The payment flow begins when your customer enters the
- For Checkout
-
-
Initiate a Session This authenticates and sets up an order in the Nuvei system, by sending an
/openOrder
request, and returns asessionToken
. -
Create an HTML Placeholder This instantiates the Web SDK with the
sessionToken
received from the server call to/openOrder
. - Collect the bank and transaction details by displaying a popup for the customer to select a bank, enter the IBAN (if mandatory for the bank), accept the Terms and Conditions, and enter the amount.
- Use an IFrame to redirect the customer to their selected bank, so they can enter their credentials and complete the payment transaction.
(END OF CHECKOUT FLOW)
-
Initiate a Session This authenticates and sets up an order in the Nuvei system, by sending an
fields.listValues.caption
value) for you to display to the customer:Example
/getMerchantPaymentMethods
(orgetApms()
) Response{ "paymentMethod":"apmgw_Instant_Open_Banking", "paymentMethodDisplayName":[ ], "isDirect":"false", "countries":[ "BE" ], "currencies":[ "USD" ], "fields":[ { "name":"ob_account_number", "type":"text", "caption":[ { "language":"eng", "message":"Account Number" } ] }, { "name":"ob_sort_code", "type":"text", "caption":[ { "language":"eng", "message":"Sort Code" } ] }, { "name":"ob_iban", "type":"text", "caption":[ { "language":"en", "message":"IBAN" } ] }, { "name":"instantOb_bankId", "type":"text", "caption":[ { "language":"eng", "message":"Bank ID" } ], "listValues":[ { "code":"ngp-bbru", "caption":"NextGenPSD2", "mandatoryFields":[ "ob_iban" ] }, { "code":"ngp-ingba", "caption":"ING Austria", "mandatoryFields":[ ] } ] } ] }
- The payment flow begins when your customer enters the
- Extract a list of all the banks returned for these APMs:
apmgw_Open_Banking
andapmgw_Instant_Open_Banking
./getMerchantPaymentMethods
(orgetApms()
) Output ParametersParameter Description Examples paymentMethod Identifier of a Payment Method. apmgw_Open_Banking
apmgw_Instant_Open_Bankingfields A list of possible input fields required by a payment method provider for this Payment Method, as well as a list of mandatory input fields per fields.listValues
value (in the form of a key-value pairs to be used to populate a dropdown input field).- fields.name Identifier of the field. ob_account_number
ob_sort_code
ob_iban
ob_bank_id
instantOb_bankIdfields.listValues A list of values of the fields.name
(to be used to populate a dropdown input field).- fields.listValues
.codeBank code used for sending the payment request.
Note:- For the "apmgw_Instant_Open_Banking" APM the bank id parameter must be: "instantOb_bankId"
- For the "apmgw_Open_Banking" APM the bank id parameter must be: "ob_bank_id"
ngp-bbru
ngp-ingbafields.listValues
.captionBank name for display on the UI. NextGenPSD2
ING Austriafields.listValues
.mandatoryFieldsA list of fields.names
, which are mandatory for thisfields.listValues
value (to be used to populate a dropdown input field).ob_account_number
ob_sort_code
ob_iban - Display this list of banks, for the customer to choose the bank that holds the account they wish to pay from. The names of the banks are contained in the
fields.listValues.caption
value, contained in thefields.listValues
array output parameter. - After the customer selects a bank, retrieve the list of mandatory fields that customer must enter. The mandatory fields required for the selected bank are contained in the
fields.listValues.mandatoryFields
value of this array. The values in this array correspond to the values in thefields.name
output parameter.fields
array structure withmandatoryFields
from the/getMerchantPaymentMethods
(orgetApms()
) Response"fields"[ "name" (String, 45), "type" (String, 45), "validationMessage" ["language" (String, 2), "message" (String, 400)], "caption" ["language" (String, 2), "message" (String, 400)], "listValues" [ "code" (String, 255), "caption" (String), "mandatoryFields" [(String, 45)] ] ]
- After the customer enters the information required by their bank, display this following important checkbox for the customer to approve before allowing them to continue:
“By continuing, you agree to the Privacy Policy and the Terms of Nuvei’s bank connectivity provider. You will be asked by your bank to share your account details, these will only be used when necessary such as processing a refund.“
Sending the Payment Request
Click a tab to open…
- Use the data entered by the customer to send a
/payment
request, and include thealternativePaymentMethod
block containing the relevant additional Open Banking parameters.Example
/payment
Request forapmgw_Instant_Open_Banking
– With Mandatory Parameter{ "sessionToken": "<sessionToken from getSessionToken>", "merchantId": "<your merchantId>", "merchantSiteId": "<your merchantSiteId>", "userTokenId": "<unique customer identifier in merchant system>", "clientRequestId": "<unique request ID in merchant system>", "clientUniqueId": "<unique transaction ID in merchant system>", "currency": "USD", "amount": "1", "paymentOption": { "alternativePaymentMethod": { "paymentMethod": "apmgw_Instant_Open_Banking", "instantOb_bankId": "ngp-bbru", "ob_iban": "BE96315678901234" } }, "billingAddress": { "firstName": "ALBERTA", "lastName": "BOBBETHCHARLESON", "email": "test@nuvei.com", "country": "BE", "language": "en" }, "deviceDetails": { "deviceType": "DESKTOP", "deviceName": "iPhone 5s", "deviceOS": "iOS 10.2", "browser": "safari", "ipAddress": "127.0.0.1" }, "urlDetails": { "notificationUrl": "[The URL to which DMNs are sent]" }, "timeStamp": "<YYYYMMDDHHmmss>", "checksum": "<calculated checksum>" }
Example
/payment
Response{ "reason": "", "orderId": "36298881", "transactionStatus": "REDIRECT", "clientRequestId": "GF1XTXTBM", "internalRequestId": 17817111, "version": "1.0", "merchantSiteId": "126006", "merchantId": "2502136204546424962", "clientUniqueId": "695701003", "errCode": 0, "paymentOption": { "redirectUrl": "https://cdn-int.safecharge.com/safecharge_resources/v1/get_to_post/index.html?eyJhengciOiJSUzI1NiJ9.eyJkZXRhaWxzIjoiNzRDQkZEODMyOUI1RDMwMjNDM0YwNUJERThGRkFEMDRGQUNEMURCQUZFMEYxM0QwMzhFQkU5RjRCMzhFMTY2RTY5NEI0QzhDMDg2RjYzMDM2RTdCMkIyREVBRjRENTIyNkM2RDg1RUE5NkI2QjIzNjEzMUVBREI0NDBGRjU0QzE0RThGM0ZCODg2QzUwQzcyMTYxMURBMkNBQzg1NzI2NjRCOEE4ODE0MThEMkJCMjBFNTAzRDE4MTRBMkJBM0M1NjM3RDBCNkFFRDU5MUVFQzk2NEQwMUE2OEFFRUQyMDBBMUJBRUQ4RUIxNDBGNEEwQkQ2OTE3MzYxMEM4Rjg1MTAwMjMxREEzQkRDNUZGMkNGOUNGRURCQkZFMTQ2REEwMDdCQUY4QUUzN0Q1Q0JEQTYzOTQyNDhGMkFEQzhFMzMyODU4NzQ5MzUyNTI2NDFFREREM0Q4ODEwQTE3RkVCNTlBMjY4ODBCMkI2NjYzRkVENjk3RjRBMDhERTFBNzVDRDdBMzk2MzBGRjJBRE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xfOB_eAxTOPLvZ85c3woJ37m8BH8kuJPSoAjYrZ12geEQJQx4R2VxNT3QsxxryEWZvU1yKc8mjCl011nWz6cp4LZpHIMwUwvdCMJWUeJtAxC-Q6Ec4NqP93AFki9Ln0OOvenbOEBn3UpK_BncxKu7RFOzM8w4kSf0eopKC44awlROwZaO0k0htJAUikA_W-fgeLISuMpHmWMZz6X3Ju2Bg", "userPaymentOptionId": "8061731", "card": {} }, "sessionToken": "6fa38ea2-6f1a-4620-85ae-7deaf0d5f8f1", "userTokenId": "2J6QZH3UF9E2", "status": "SUCCESS" }
A successful request returns a
paymentOption.redirectUrl
for the particular bank. - Redirect the customer to that
redirectUrl
for the customer to enter their credential and complete the payment. - Open Banking processes the request.
- After processing the transaction, you receive a DMN notification (sent to the
urlDetails.notificationUrl
parameter that you provided in the request), that includes the result of the transaction.
- Use the data entered by the customer to send a
createPayment()
request, and include thealternativePaymentMethod
block containing the relevant additional Open Banking parameters, as shown below:Example
createPayment()
Request forapmgw_Instant_Open_Banking
– With Mandatory Parametersfc.createPayment({ "sessionToken": sessionData.sessionToken, "paymentOption": { "alternativePaymentMethod": { "paymentMethod": "apmgw_Instant_Open_Banking", "instantOb_bankId": "ngp-bbru", "ob_iban": "BE96315678901234" } }, "billingAddress": { "country": "BE", "email": "test@nuvei.com" } }, function(res) { console.log(res); })
Example
createPayment()
Request forapmgw_Open_Banking
– No mandatory parametersfc.createPayment({ "sessionToken": sessionData.sessionToken, "paymentOption" : { "alternativePaymentMethod": { "paymentMethod": "apmgw_Open_Banking", "ob_bank_id": "ngp-ingba" }}, "billingAddress": { "country": "BE", "email": "test@test.com" } }, function(res) { console.log(res); })
- If the
createPayment()
request is successful, then the system automatically opens a new tab or an IFrame, redirecting the customer to their APM provider (the selected bank) site, to enter their credentials and complete the payment. - To verifying the response, see the Web SDK Response Verification topic.
- For REST API
-
- Use the data entered by the customer to send a
/payment
request, and include thealternativePaymentMethod
block containing the relevant additional Open Banking parameters.Example
/payment
Request forapmgw_Instant_Open_Banking
– With Mandatory Parameter{ "sessionToken": "<sessionToken from getSessionToken>", "merchantId": "<your merchantId>", "merchantSiteId": "<your merchantSiteId>", "userTokenId": "<unique customer identifier in merchant system>", "clientRequestId": "<unique request ID in merchant system>", "clientUniqueId": "<unique transaction ID in merchant system>", "currency": "USD", "amount": "1", "paymentOption": { "alternativePaymentMethod": { "paymentMethod": "apmgw_Instant_Open_Banking", "instantOb_bankId": "ngp-bbru", "ob_iban": "BE96315678901234" } }, "billingAddress": { "firstName": "ALBERTA", "lastName": "BOBBETHCHARLESON", "email": "test@nuvei.com", "country": "BE", "language": "en" }, "deviceDetails": { "deviceType": "DESKTOP", "deviceName": "iPhone 5s", "deviceOS": "iOS 10.2", "browser": "safari", "ipAddress": "127.0.0.1" }, "urlDetails": { "notificationUrl": "[The URL to which DMNs are sent]" }, "timeStamp": "<YYYYMMDDHHmmss>", "checksum": "<calculated checksum>" }
Example
/payment
Response{ "reason": "", "orderId": "36298881", "transactionStatus": "REDIRECT", "clientRequestId": "GF1XTXTBM", "internalRequestId": 17817111, "version": "1.0", "merchantSiteId": "126006", "merchantId": "2502136204546424962", "clientUniqueId": "695701003", "errCode": 0, "paymentOption": { "redirectUrl": "https://cdn-int.safecharge.com/safecharge_resources/v1/get_to_post/index.html?eyJhengciOiJSUzI1NiJ9.eyJkZXRhaWxzIjoiNzRDQkZEODMyOUI1RDMwMjNDM0YwNUJERThGRkFEMDRGQUNEMURCQUZFMEYxM0QwMzhFQkU5RjRCMzhFMTY2RTY5NEI0QzhDMDg2RjYzMDM2RTdCMkIyREVBRjRENTIyNkM2RDg1RUE5NkI2QjIzNjEzMUVBREI0NDBGRjU0QzE0RThGM0ZCODg2QzUwQzcyMTYxMURBMkNBQzg1NzI2NjRCOEE4ODE0MThEMkJCMjBFNTAzRDE4MTRBMkJBM0M1NjM3RDBCNkFFRDU5MUVFQzk2NEQwMUE2OEFFRUQyMDBBMUJBRUQ4RUIxNDBGNEEwQkQ2OTE3MzYxME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dGFnaW5nLnZlcmlmaWVkYWNoLmNvbS9jb25zdW1lci9BY3F1aXJlSW5mb0dhdGV3YXkuZG8ifQ.EF3K5UsPQYdua_YcRd9Yefl-KemNwEMq5-EXV7QWAZUbCQglncAaAHzzlW-sxq2XcVZcZ2qbxLkQqjzkB3tItTGUDmqysL-opqOdaaz54EKeHKC5hzQIp77DucIGYQhPxfOB_eAxTOPLvZ85c3woJ37m8BH8kuJPSoAjYrZ12geEQJQx4R2VxNT3QsxxryEWZvU1yKc8mjCl011nWz6cp4LZpHIMwUwvdCMJWUeJtAxC-Q6Ec4NqP93AFki9Ln0OOvenbOEBn3UpK_BncxKu7RFOzM8w4kSf0eopKC44awlROwZaO0k0htJAUikA_W-fgeLISuMpHmWMZz6X3Ju2Bg", "userPaymentOptionId": "8061731", "card": {} }, "sessionToken": "6fa38ea2-6f1a-4620-85ae-7deaf0d5f8f1", "userTokenId": "2J6QZH3UF9E2", "status": "SUCCESS" }
A successful request returns a
paymentOption.redirectUrl
for the particular bank. - Redirect the customer to that
redirectUrl
for the customer to enter their credential and complete the payment. - Open Banking processes the request.
- After processing the transaction, you receive a DMN notification (sent to the
urlDetails.notificationUrl
parameter that you provided in the request), that includes the result of the transaction.
- Use the data entered by the customer to send a
- For Web SDK
-
- Use the data entered by the customer to send a
createPayment()
request, and include thealternativePaymentMethod
block containing the relevant additional Open Banking parameters, as shown below:Example
createPayment()
Request forapmgw_Instant_Open_Banking
– With Mandatory Parametersfc.createPayment({ "sessionToken": sessionData.sessionToken, "paymentOption": { "alternativePaymentMethod": { "paymentMethod": "apmgw_Instant_Open_Banking", "instantOb_bankId": "ngp-bbru", "ob_iban": "BE96315678901234" } }, "billingAddress": { "country": "BE", "email": "test@nuvei.com" } }, function(res) { console.log(res); })
Example
createPayment()
Request forapmgw_Open_Banking
– No mandatory parametersfc.createPayment({ "sessionToken": sessionData.sessionToken, "paymentOption" : { "alternativePaymentMethod": { "paymentMethod": "apmgw_Open_Banking", "ob_bank_id": "ngp-ingba" }}, "billingAddress": { "country": "BE", "email": "test@test.com" } }, function(res) { console.log(res); })
- If the
createPayment()
request is successful, then the system automatically opens a new tab or an IFrame, redirecting the customer to their APM provider (the selected bank) site, to enter their credentials and complete the payment. - To verifying the response, see the Web SDK Response Verification topic.
- Use the data entered by the customer to send a
Parameter | Description | Examples |
---|---|---|
paymentMethod | Identifier of a Payment Method. | apmgw_Open_Banking apmgw_Instant_Open_Banking |
fields | A list of possible input fields required by a payment method provider for this Payment Method, as well as list of mandatory input fields per fields.listValues value, (in form of a key-value pairs to be used to populate a dropdown input field). | – |
fields.name | Identifier of the field. | ob_account_number ob_sort_code ob_iban ob_bank_id instantOb_bankId |
fields.listValues | A list of values of the fields.name, (to be used to populate a dropdown input field). | – |
fields.listValues.code | Bank code used for sending the payment request. Note:
|
ngp-bbru ngp-ingba |
fields.listValues.caption | Bank name for display on the UI. | NextGenPSD2 ING Austria |
fields.listValues.mandatoryFields | A list of fields.names which are mandatory for this fields.listValues value (to be used to populate a dropdown input field). | ob_account_number ob_sort_code ob_iban |
"fields"[ {"name"("instantOb_bankId") {"listValues"[ {"caption":"BANK NAME1"}, {"caption":"BANK NAME2"}, } } ]