This page documents a legacy SDK. Starting a new integration? Use the Yuno SDK. Already on a legacy SDK? Follow the migration guide.The new Yuno SDK (Web v2.x, iOS v3.x, Android v3.x) replaces the Full, Lite, Seamless, Render, Headless, and Secure Fields SDKs with one API across every platform. Legacy SDKs remain supported side by side during the transition and are scheduled for deprecation in 2027. Contact your Account Manager for migration planning.
Step 1: Include the library in your project
CocoaPods
Add the following line to your Podfile:Swift Package Manager
AddYunoSDK as a dependency:
Step 2: Initialize SDK
Initialize the SDK with your Public API Key:Step 3: Adopt YunoPaymentDelegate
Adopt theYunoPaymentDelegate protocol:
Swift 6 Concurrency RequirementsIf you’re using Swift 6, you’ll need to implement the
YunoPaymentDelegate protocol with specific concurrency considerations. See the Swift 6 Concurrency guide for detailed implementation options and best practices.Important NoteImplement either
yunoCreatePayment(with:) or yunoCreatePayment(with:information:), not both. The SDK calls every version you implement, so implementing both creates the payment twice.Step 4: Initiate the payment process
Step 5: Continue payment (Required)
Ifsdk_action_required: true is returned by the API, call:
Demo AppSee the Yuno iOS SDK repository for full implementation examples.