*We highly recommend the instantiation of the Flexiti SDK or oauth calls to be made from the server-side.
The Online application flow with Flexiti can be built using Flexiti’s Online API and associated SDK. The front-end screens for the application flow are hosted by Flexiti and served through a redirection URL returned by the Online API (Not the same API as Flexiti’s Online Channel POS API). The redirection URL can be presented to the customer using through a modal (Flexiti recommended), or a redirection.
Here is the Swagger documentation for the Online API: https://onlineapi-training.flexiti.fi/api-docs/
The Online API can be made easier to implement through the Flexiti SDK that handles all the API calls, the documentation is hosted at this link: /wiki/spaces/FDP/pages/846561338
At the end of the Application Flow, a window communication event will be sent to the browser, communicating the application status and if successful, the FlexitiCard account number, which can be passed to the purchase flow.