This page documents a legacy SDK. 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. See the Yuno SDK documentation. Legacy SDKs remain supported side by side during the transition and are scheduled for deprecation in 2027. Contact your Account Manager for migration planning.
Display Modes
TherenderMode parameter determines how the payment forms are presented to your customers. You can choose between a popup modal or embedding the SDK directly into an HTML element on your page.
Example: Embedding as an Element
If you chooseelement, you must provide a selector for the container. This is where the APM form and the Action form (for example, PIX QR code) will be mounted.
Card Form Customization
Thecard configuration object allows you to modify the look and feel of the sensitive card data fields (Card Number, Expiry, CVV). These fields are rendered inside a secure iframe for PCI compliance.
CSS Injection
Use thestyles property to inject custom CSS directly into the card form iframe. This lets you match the SDK to your site’s aesthetic.
Custom Labels and Texts
You can override the default placeholder and button labels to better fit your app’s tone or language requirements.General UI Controls
Modify general SDK behaviors such as loaders, issuer forms, and button visibility.SDK Loader Control
By default, Yuno shows a loading spinner during transitions. You can hide it if you prefer to use your own app’s loading state.Pay Button Visibility
In scenarios where you want to trigger the payment precisely from your own UI logic, you can hide the SDK’s built-in “Pay” button.Advanced Flow Management
Performance and Retries
If a transaction fails, you can update the session without unmounting the form, ensuring a smoother user experience for retries.WebView Considerations (Mercado Pago)
If you are integrating in a WebView environment and using Mercado Pago Checkout Pro, you must handle the redirect results returned bycontinuePayment().