Integration with mobile app

Integration with Android and iOS mobile apps

Our mobile application on both platforms intercepts links (deeplinks) for payment. Here it is shown how to create a link. If the application is not installed on the user’s phone, then a browser will open at the system level and there on the site the user can pay.

Android code example (Kotlin)

val url =
"https://my.click.uz/services/pay/?service_id=${it.merchantServiceId}&merchant_id=${it.merchantId}&amount=${it.merchantTransAmount}&transaction_param=${it.merchantTransId}"
val i = Intent(Intent.ACTION_VIEW)
i.data = Uri.parse(url)
startActivity(i)


How Click Evolution works

After successful payment, our application simply closes itself and you in your code, in onStart or onRestart method can update the data from your server by the transaction_param that you previously used.

If you added return_url as a parameter to the link, then after payment (even after an error) this link will be called in our application as Intent.ACTION_VIEW and will close itself. You can deeplink return_url in your application by binding it to your Activity. You can also use unique schemes. See https://developer.android.com/training/app-links/deep-linking


Sample code in iOS (Swift)

guard let url = URL(string: "https://my.click.uz/services/pay/?service_id=\(merchantServiceId)&merchant_id=\(merchantId)&amount=\(merchantTransAmount)&transaction_param=\(merchantTransId)") else { return }
UIApplication.shared.open(url)


Integration with Android mobile app

In order to integrate “CLICK” payment system with your mobile app, add Click Mobile SDK library to the mobile app. This library can be used to integrate both merchant with billing and merchant without billing. For merchants with billing it is required to implement SHOP-API on the application server.

Library and detailed documentation is available by link https://github.com/click-llc/android-msdk

© 2024 Click