PayByBank
public final class PayByBank
PayByBank SDK.
Note
The Ecospend Gateway presents PayByBank SDK as an alternative and easier form of Open Banking Instant Payment solutions. PayByBank SDK provides you the option of downsizing the development effort for a PIS and AIS journeys to a single SDK integration. PayByBank undertakes all of interaction in the payment user journey with your branding on display.-
Opens webview using with
uniqueID,urlandredirectURLof Paylink.Declaration
Swift
static func open(paylink uniqueID: String, url: URL, redirectURL: URL, viewController: UIViewController, completion: @escaping (Result<PayByBankResult, PayByBankError>) -> Void)Parameters
uniqueIDA system assigned unique identification for the Paylink.
urlUnique Paylink URL that you will need to redirect PSU in order the payment to proceed.
redirectURLThe URL of the Tenant that the PSU will be redirected at the end of the paylink journey.
viewControllerInstance’s
UIViewController, which provides to present bank selection.completionIt provides to handle
PayByBankResultorPayByBankError. -
Opens webview using with
uniqueID,urlandredirectURLof FrPayment.Declaration
Swift
static func open(frPayment uniqueID: String, url: URL, redirectURL: URL, viewController: UIViewController, completion: @escaping (Result<PayByBankResult, PayByBankError>) -> Void)Parameters
uniqueIDA system assigned unique identification for the FrPayment.
urlUnique FrPayment URL that you will need to redirect PSU in order the payment to proceed.
redirectURLThe URL of the Tenant that the PSU will be redirected at the end of payment process.
viewControllerInstance’s
UIViewController, which provides to present bank selection.completionIt provides to handle
PayByBankResultorPayByBankError. -
Opens webview using with
uniqueID,urlandredirectURLof VRPlink.Declaration
Swift
static func open(vrplink uniqueID: String, url: URL, redirectURL: URL, viewController: UIViewController, completion: @escaping (Result<PayByBankResult, PayByBankError>) -> Void)Parameters
uniqueIDA system assigned unique identification for the VRPlink.
urlUnique VRPlink URL that you will need to redirect PSU in order the payment to proceed.
redirectURLThe URL of the Tenant that the PSU will be redirected at the end of payment process.
viewControllerInstance’s
UIViewController, which provides to present bank selection.completionIt provides to handle
PayByBankResultorPayByBankError. -
Opens webview using with
uniqueID,urlandredirectURLof BulkPayment Paylink.Declaration
Swift
static func open(bulkPayment uniqueID: String, url: URL, redirectURL: URL, viewController: UIViewController, completion: @escaping (Result<PayByBankResult, PayByBankError>) -> Void)Parameters
uniqueIDA system assigned unique identification for the Bulk Payment Paylink.
urlUnique Bulk Payment Paylink URL that you will need to redirect PSU in order the payment to proceed.
redirectURLThe URL of the Tenant that the PSU will be redirected at the end of payment process.
viewControllerInstance’s
UIViewController, which provides to present bank selection.completionIt provides to handle
PayByBankResultorPayByBankError. -
Opens webview using with
uniqueID,urlandredirectURLof Datalink.Declaration
Swift
static func open(datalink uniqueID: String, url: URL, redirectURL: URL, viewController: UIViewController, completion: @escaping (Result<PayByBankResult, PayByBankError>) -> Void)Parameters
uniqueIDA system assigned unique identification for the Datalink.
urlUnique Datalink URL that you will need to redirect PSU in order the account access consent to proceed.
redirectURLThe URL of the Tenant that the PSU will be redirected at the end of account access process.
viewControllerInstance’s
UIViewController, which provides to present bank selection.completionIt provides to handle
PayByBankResultorPayByBankError. -
Opens bank application or bank website using with
idandurl (payment_url)of Payment.Declaration
Swift
static func open(payment id: String, url: URL, completion: @escaping (Result<PayByBankResult, PayByBankError>) -> Void)Parameters
idA system assigned unique identification for the Payment.
completionIt provides to handle
PayByBankResultorPayByBankError.
View on GitHub
Install in Dash
PayByBank Class Reference