Skip to content
Nets Logotype
SoftPOSMobilePOS
Nets Logotype
SoftPOSMobilePOS
    • Docs
    • API reference
    • Change log
    • Support
    • Overview
    • Authentication and UX overview
    • Essential requirements and App2App GitHub sample
    • APP2APP integration User-Authentication
      • APP2APP User authentication scenario
      • Overview User-Authentication
      • Payment (User-Authentication)
      • Reversal (User-Authentication)
      • Last transaction status (User-Authentication)
      • Accounting closure (User-Authentication)
      • Integration Advice
        • Android
        • iOS
    • APP2APP Cloud-Authentication
      • APP2APP Cloud authentication scenario
      • Overview Cloud-Authentication
      • Web Portal configuration
      • Backend integration
      • SDK integration
      • Payment (Cloud-Authentication)
      • Reversal (Cloud-Authentication)
      • Last transaction status (Cloud-Authentication)
      • Accounting closure (Cloud-Authentication)
      • Integration Advice
        • Kotlin
        • Java
    • SDK iOS (SoftPOS only)
      • (BETA) SDK iOS (SoftPOS only)
      • SDK - Pay sample
    • Reconciliation
    • Standalone vs. Integrated Solutions: A Comparison
    • Encoding
      • Error code
      • Action code

    Integration Advice

    Calling suspend methods

    As shown in previous sections, main APIs contain the suspend modifier as to be called properly by another suspend method, in a Coroutine context. A suspend method cannot be called from a classic function or any method that is not suspend.

    Was this helpful?

    What was your feeling about it?
    Nets Logotype
    Nexi Ecommerce
    Privacy policy
    Legal notice
    Cookies
    System status
    Nexi user login
    Copyright © 2025 Nets Denmark A/S. All rights reserved.