Using iOS SDK
The library allows you to implement payment acceptance into iOS mobile apps and acts as an extension of the YooMoney API.
Mobile SDK includes ready-made payment interfaces, such as the payment form and everything related to it. Using the SDK, you can receive tokens for processing payments made via bank cards, SberPay, FPS, or the YooMoney for Shopping wallet.
Requirements: iOS 14 or higher
Using the SDK
First of all, you need to implement payment acceptance via the YooMoney API. After that:
- Tell the manager you want to process payments using the mobile SDK.
- Once mobile SDK is enabled, issue a key for it in the Integration — API keys section of your Merchant Profile.
- Add the SDK to the app and configure it to generate one-time payment tokens using the instructions on GitHub (in Russian).
- Set up the process of sending one-time tokens from the mobile app to your system (for example, to the back-end of your website that interacts with YooMoney).
- Make payments using payment tokens via the YooMoney API.
SDK functionality
Using the SDK, you can:
- tokenize user’s payment details;
- for bank card payments, scan the card details and process 3-D Secure;
- configure the payment form interface.
For tokenization debugging, you can use network request logging. Use the test mode to check if the SDK is integrated properly.
Learn more about the iOS SDK functionality in our documentation in the YooMoney repository (in Russian).
See also