Fiuu Mobile XDK for iOS (Swift) is a lightweight SDK that enables seamless integration of the Fiuu payment experience into your iOS mobile applications. It supports payment initiation, status tracking, and in-app redirection — designed for developers who want a native Swift implementation of the Fiuu payment flow.
- Easy integration with native Swift apps
- Support for payment creation and status polling
- Secure token-based communication
- Configurable UI options for redirection
- Lightweight and modular
- iOS 16.0+
- Swift 5.0+
- Xcode 14+
Add this line in Podfile
pod 'FiuuXDKSwift', :git => 'https://github.com/FiuuPayment/Mobile-XDK-Fiuu_Swift.git'
or
Add this line to your Podfile:
pod 'FiuuXDKSwift'
- Apple Developer Account
- Enable:
- Apple Pay capability in Xcode project (Project> Targets> Signing & Capabilities> + Capilibity)
- Merchant ID (in Apple Developer portal), different from bundle identifier
"mp_channel": "ApplePay"
"mp_express_mode": true // Optional
"mp_allowed_channels": ["ApplePay"]
"mp_ap_merchant_ID": "Merchant ID"
let navController = UINavigationController(rootViewController: vc)
navController.modalPresentationStyle = .fullScreen
vc.startXDK { [weak self] result in
navController.dismiss(animated: true)
guard let self = self else { return }
switch result {
case .success(let data):
print("RESULTS: \(data)")
case .failure:
print("ERROR!")
}
}
self.present(navController, animated: true)