Payment Initiation
Good to know: payment initiation is responsible for bank payment support.
For initialising the payment initiation flow, you will need to get the payment id and pass it to the SDK. The description of how to get a payment id can be found here.
Customise session configuration
Firstly, you will need to integrate kevin. API and fetch payment ID. Instructions on how to do it can be found here:
Payment InitiationPaymentSessionConfiguration has multiple settings to tackle:
preselectedCountry
- preselects country in our prebuilt UI. If not specified, the default selection is based on the SIM card. If the SIM card information is unavailable, it uses the device locale. If both are unavailable, it selects the first country from your country filter.disableCountrySelection
- uses only preselected country and does not allow to change itcountryFilter
- allows only certain countries to be supportedbankFilter
- allows to filter banks and show only selected ones to user. It accepts list of bank ids that should be show to user.preselectedBank
- preselects bank in our prebuilt UIskipBankSelection
- skips bank and country selection and redirects user to the bank SCA immediatelyskipAuthentication
- allows users to skip the SCA bank step and proceed directly to the payment confirmation. Bank payment needs to be initialised with an account access token. See reference here.
Initialise payment
Call startPayment()
method and wait for the result.
Last updated