Open Banking is available as a payment method in the Cashier API when enabled on your account. It will also be shown on the Hosted Cashier payment form. See API details below
Open Banking transactions can take some time to complete. Once the account holder has authorised the payment, it will typically take a few seconds for the bank transfer to finish, but it can sometimes take longer. The UK Faster Payments scheme allows up to two hours. Advanced Payments will put the transaction in a PENDING state immediately after processing, and it will be updated to SUCCESS once the transfer is confirmed. Use notifications or query for the transaction state to find out when this happens. If the funds are not transferred within a reasonable time, the transaction will be marked as EXPIRED.
Open Banking transactions cannot be deferred, nor can a payment method be saved to reuse, such as for recurring or instalments. Refunds are supported, including multiple partial refunds, up to the amount of the original payment. Advanced Payments will put a refund transaction into a PENDING and update it to SUCCESS once the transfer is completed. Typically, a refund will take only a few seconds to complete.
Multiple Authorisations
Sometimes a transaction may require multiple account holders to authorise a payment, so it could take considerably longer than the two-hour transfer limit to complete. In this case, the transaction type will be PAYMENT_INITIALIZE with status SUCCESS and consumer spend zero. When the funds are transferred, a new secondary transaction of type PAYMENT_COMPLETE will be created, related to the initialize. The payment notifications or query for the transaction state can be used to find out when this has happened. When retrieving the initialize transaction, pay attention to the ‘followUpStatus’ section of the response, which will mention a complete transaction if one exists.
Remittance Reference
When an Open Banking transaction appears on the customer’s bank statement, it will include an auto-generated identifier based on the platform transactionId. The value will be returned in the remittanceReference field in API responses.
Best Practices
It is recommended to make use of notifications, or to poll for the transaction result to ensure that you receive the transaction result.
There are two integration modes for Open Banking: Redirect and Popup. With Redirect, there is a full page redirect in the browser to a page for the user to select their bank. With Popup mode, a window is opened for the user to select their bank. Redirect is recommended and is detailed on this page. See here for more details of Popup.
When using Redirect mode the customer will be returned to a specified URL once the payment is complete; This means that a returnUrl must be specified for all Redirect mode transactions. The billing address country is also required and must be “GBR”.
The API response for a payment transaction will have a status of PENDING and will contain a clientRedirect element which contains the URL where the customer will need to be redirected to. After the customer has followed the redirect and completed their payment the will be returned back to the specified return URL from the Open Banking provider.
The Open Banking provider will notify us once the payment is completed at which point we will update the status of the transaction. If you wish to manually check the latest status of the transaction, an API resume request can be performed on the initial transaction (see example below).
parameters:
No special actions are required to create a Hosted session that supports Open Banking. If Open Banking is available on your account then it will appear on the payment form for eligible transactions. It will be the first, pre-selected, payment method on the form. The payment methods available, and their order, can be customised on the Hosted session creation request using features.paymentMethods; see API specification below.
Please note: Open Banking is only available when using a version two Hosted skin.
- If you are using, or intend to use, a custom skin, make sure it’s the right version. See Upgrading from skinning version 1 to version 2.
- Our current default skin (id: 2) supports Open Banking. The legacy default (id: 1) does not.
- For other skins we provide, please contact Support to confirm the version.
If you have a custom skin, it is recommended to check it works with Open Banking in MITE before it is enabled in production, see Testing Open Banking.
If you are using our hosted payment page inside an iframe then you can use the restoreUrl field to return back to your web page when the transaction is complete. If the restoreUrl is specified then the customer will be returned to this URL with a query parameter containing the URL to load in the frame.
parameters: