Alternative mounting options
The basic flow uses automatic payment method display. For more control, use these alternatives:Custom payment method selection (startPaymentLite)
Select which payment method to display:
Simplified flow (startPaymentSeamlessLite)
Similar to Lite but with automatic payment creation:
Enrollment (save cards)
Save during payment
Separate enrollment
Vaulted token payments
Custom UI (headless integration)
Build completely custom payment forms with full UI control when you need complete control over every UI element, highly custom checkout experiences, or have development resources for custom UI.Styling
Customize SDK appearance.Error handling
Testing and debug
Performance
Lazy loading
Deep linking / external browser return
Handle users returning to your app after external payment flows like 3DS authentication challenges, bank transfer redirects, PIX payments, and alternative payment methods that redirect to external browsers.1. Set callback_url in checkout session
Includecallback_url when creating the checkout session on your backend:
callback_url, users may be stranded in the external browser with no way to return to your app.
2. Configure deep links
iOS - Info.plist:3. Handle deep links in react-native
4. Continue payment after return
After handling the deep link, continue the payment flow:callback_url in payment flows that may redirect; test deep link handling on both iOS and Android devices; handle missing or malformed deep link data gracefully; update payment status in your UI after returning from external browser.
Platform-specific configuration
Handle differences between iOS and Android in your react-native app.Conditional configuration
Platform-specific features
Card scanning (Android only):Minimum version requirements
| Platform | Minimum version |
|---|---|
| iOS | 14.0+ |
| Android | API 21 (5.0)+ |
| react-native | 0.70+ |
Platform-specific dependencies
Native SDK versions:| Platform | Native SDK | Version |
|---|---|---|
| Android | com.yuno.sdk:yuno-sdk-android | 2.9.0 |
| iOS | YunoSDK | 2.11.1 |
Testing on both platforms
Always test your integration on both iOS and Android:Common platform differences
| Feature | iOS | Android |
|---|---|---|
| Card scanning | Not available | Available |
| Deep links | Universal Links | Intent Filters |
| Permissions | Info.plist | AndroidManifest.xml |
| UI components | Native iOS components | Jetpack Compose |
Parameters used on this page
| Parameter | Description |
|---|---|
checkoutSession | Checkout session ID from your backend. |
methodSelected.paymentMethodType | Payment method type (e.g. CARD, PIX). |
methodSelected.vaultedToken | Saved payment method token, or null for new card. |
showPaymentStatus | When true, SDK shows payment result UI. |
countryCode | Optional ISO country code override (e.g. US). |
customerSession | Customer session ID for enrollment flows. |
vault_on_success | Backend flag to save card after successful payment. |