SDK for mobile apps

Mobile SDK is a set of libraries and instructions for implementing card payments in mobile applications on iOS and Android. It allows requesting card data in native application code, make 3-D Authentication and process payments.

How mobile payments work:
  1. Inside the app, it must receive the card information: card number, expiry date, cardholder’s name, and CVV.
  2. Create a cryptogram from card information by using the SDK.
  3. Send the cryptogram and all payment information used in processing from the mobile device to your server.
  4. Process the payment from the server by using API CloudPayments.

SDK CloudPayments for mobile apps
Terms of use:
  • It is highly not recommended to send payment information from mobile device straight to CloudPayments API. You need to have API access credentials on your server, and the mobile app should support the thin client principle.
  • Your server will not need PCI certification, since all card data is sent through it in an encrypted state, and the keys for de-encryption are located only in the CloudPayments payment gateway (they are not in the app or the libraries).
  • Card data can be entered by using the keyboard, or my scanning with a camera (for example, via card.io). Full card number and CVV cannot be stored or written to a log.
  • Mobile SDK cannot be used for mobile terminals (mPos). The only place it can be used is inside the apps, which will be installed on smartphones or tablets of your customers.
SDK for iOS

A demo app, which demonstrates the work of CloudPayments SDK on iOS, can be downloaded from GitHub


The app demonstrates how to receive card data, form a cryptogram, process 3-D Secure authentication and complete the payment on iPhone or iPad.


To install, you need to make a repository clone:

And install two side-libraries (which are used only in demo application):

SDK Functions

SDK CloudPayments (CloudPaymentsAPI.framework) allows you to:

  • Check card number (protection from mistypes)
  • Determine payment system type (Visa, MasterCard, Maestro)
  • Create a cryptogram for safe transfer to the server
SDK for Android

A demo app, which demonstrates the work of CloudPayments SDK on Android, can be downloaded from GitHub


The app demonstrates how to receive card data, form a cryptogram, process 3-D Secure authentication and complete the payment on an Android device.


To install the app, you need to make a repository clone:

SDK Functions

SDK CloudPayments (CloudPaymentsAPI.framework) allows you to:

  • Check card number (protection from mistypes)
  • Determine payment system type (Visa, MasterCard, Maestro)
  • Create a cryptogram for safe transfer to the server