Welcome to the FLIZpay iOS SDK! Easily integrate secure, seamless, and user-friendly payments directly into your iOS app.
The FLIZpay SDK simplifies accepting payments by managing the entire payment flow via an integrated webview, securely and intuitively within your app.
Get started with our 📚 integration guide
The FLIZpay iOS SDK requires Xcode 15 or later and is compatible with apps targeting iOS 13 or above.
After installing the SDK, initiate payments effortlessly by:
- authorizing your transaction with the
API_KEY
in your backend to obtain a token - use it to load the FLIZPay environment in your application
import FlizpaySDK
FlizpaySDK.initiatePayment(
from: currentViewController,
token: token,
amount: userAmount
) { error in
// Handle any error returned from the SDK.
print("Payment failed: \(error)")
}
from
(UIViewController
, required): The Presenting View Controller where the webview is going to be attachedtoken
(String
, required): JWT authentication token obtained from your backend (Check our docs on how to authenticate).amount
(String
, required): The payment amount.@closure onFailure
(Function
, optional): Block that receives an error param to be called when the webview can't be opened
For comprehensive integration details, API authentication steps, obtaining JWT tokens, and additional examples, see our Integration Documentation.
FLIZpay SDK is available under the MIT license. See the LICENSE file for more details.
Need assistance?
Happy coding! 🚀🎉