YocoYoco Developers
YocoYoco Developers
    • Welcome
    • Online Payments
      • Web SDK
        • Getting Started
        • Popup
          • Popup
          • Reference
        • Inline
          • Inline
          • Customization
          • Reference
        • API Reference
          • API Overview
          • Charge API
          • Refund API
        • Libraries and Samples
          • Overview
          • Libraries
          • Samples
      • Plugins
        • Overview
        • WooCommerce
        • Wix
        • Shopify
      • Resources
        • Integration Keys
        • Testing Info
        • Supported Currencies
        • Design Resources
    • In Person Payments
      • Getting Started
      • iOS
        • Installation
        • Getting started
        • Making a payment
        • Handling receipts
        • Finishing a payment
        • Refunding a Payment
        • Pairing a card machine
        • Logout
        • Error recovery
        • Class definitions
      • Android
        • Installation
        • Getting Started
          • Initialise
          • Configure Integrators
        • Pairing API
        • Charge API
          • Making a Payment
          • Charge Integrators
        • Last Transaction API
          • Lookup Last Transaction
          • Showing Payment Result
        • Integrator Transactions Lookup
        • Refund API
          • Refunding a Payment
          • Refund Integrators
        • Logout API
        • Handling Receipts
        • Handling Payment Result
        • Class Definitions
    • Terms of Use

    Logout API

    When calling YocoSDK.logout(), this will remove all user data from the SDK and will require the 3rd party app to re-login.

    Parameters#

    context: Context - The calling Activity/Fragment initiating the payment

    Usage#

    import com.yoco.payment_ui_sdk.YocoSDK
    YocoSDK.logout(context = context)
    note

    If a user has been logged out and then attempts to perform a payment, they will be prompted to login before they can continue

    Previous
    « Refund Integrator
    Next
    Handling Receipts »
    • Parameters
    • Usage

    Yoco

    • Home
    • Support
    • Contact

    Community

    • Facebook
    • Instagram
    • Linked In
    • Twitter

    More

    • Blog
    • Careers
    • Legal
    Copyright © 2022 Yoco Technologies