Tinkoff Kassa Payment Integration in Mobile App

NOVASOLUTIONS.TECHNOLOGY is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Tinkoff Kassa Payment Integration in Mobile App
Medium
~2-3 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1054
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Tinkoff Kassa Payment Gateway Integration in Mobile Application

Tinkoff Kassa (now T-Kassa) provides native SDKs for iOS and Android. Supports card payment, SBP, Tinkoff Pay, and Apple/Google Pay. Distinctive feature — SDK includes ready payment screen, so basic integration takes less than a day if backend is ready.

SDK Integration

// Android
implementation("ru.tinkoff.acquiring:ui:x.x.x")
// iOS, SPM
.package(url: "https://github.com/TinkoffCreditSystems/AcquiringSdk_IOS")

Main Flow

T-Kassa works via two-stage scheme: server initializes payment and gets paymentId, then SDK on client performs it.

Server initialization:

POST https://securepay.tinkoff.ru/v2/Init
{
    "TerminalKey": "your_terminal_key",
    "Amount": 150000,
    "OrderId": "ORDER-1234",
    "Description": "Payment for order",
    "Token": "sha256_signature"
}

Response contains PaymentId and PaymentURL. PaymentId is passed to SDK to perform payment in native UI.

Android: Payment Screen Launch

val tinkoffAcquiring = TinkoffAcquiring(
    context,
    terminalKey = "your_terminal_key",
    publicKey = "your_public_key"
)

val paymentOptions = PaymentOptions().setOptions {
    setTerminalParams(
        terminalKey = "your_terminal_key",
        publicKey = "your_public_key"
    )
    orderOptions {
        orderId = "ORDER-1234"
        amount = Money.ofRubles(1500)
        title = "Order #1234"
        description = "Order payment"
        savingAsParentPayment = false
    }
    featuresOptions {
        useSecureKeyboard = true
        cameraCardScanner = CameraCardIOScanner()  // optional
        fpsEnabled = true   // SBP
        tinkoffPayEnabled = true
    }
}

val launcher = registerForActivityResult(TinkoffAcquiring.createPaymentContract(context)) { result ->
    when (result.status) {
        AsdkState.Success -> handleSuccess(result.paymentId)
        AsdkState.Cancelled -> {}
        AsdkState.Error -> handleError(result.error)
        else -> {}
    }
}

tinkoffAcquiring.openPaymentScreen(
    activity = this,
    paymentOptions = paymentOptions,
    launcher = launcher
)

iOS: AcquiringUISDK

import TinkoffASDKUI

let credential = AcquiringSdkCredential(
    terminalKey: "your_terminal_key",
    publicKey: "your_public_key"
)

let acquiringSDK = try AcquiringUISDK(credential: credential)

let paymentData = PaymentInitData(
    amount: 150000,  // in kopecks
    orderId: "ORDER-1234",
    customerKey: "user_123"
)

acquiringSDK.presentPaymentView(
    on: self,
    paymentData: paymentData,
    configuration: AcquiringViewConfiguration()
) { result in
    switch result {
    case .success(let paymentInfo):
        print("Payment ID: \(paymentInfo.paymentId)")
    case .failure(let error):
        print("Error: \(error)")
    case .cancelled:
        break
    }
}

Tinkoff Pay: Special Case

Tinkoff Pay opens Tinkoff Bank app for payment confirmation. Works only if Tinkoff Bank is installed on device. SDK checks this automatically via UIApplication.canOpenURL (iOS) or PackageManager.getLaunchIntentForPackage (Android) and hides button if app not found.

Request Signing (Token)

All server API requests to T-Kassa are signed via SHA-256: parameter value concatenation + Password in alphabetical key order. Incorrect token — frequent cause of 0 error (Invalid Token) during payment initialization.

Work Scope

  • ASDK iOS / Android integration
  • Server payment initialization with correct signature
  • Feature configuration: SBP, Tinkoff Pay, card storage
  • Status handling and Webhook confirmation
  • Testing via test terminal

Timeline

2–3 days. Cost calculated individually.