Consumer SDK overview
Overview

Consumer SDK overview

Use the consumer SDK to add a wallet to your Android or iOS app. Your app supplies screens and a request signer. The SDK calls Wollette APIs and presents hosted activation forms. Start by signing in an approved test consumer and reading their wallet. For merchant payment acceptance, use the separate POS SDK.

Consumer SDK packages

PlatformPackage or product
Androidcom.wollette:wollette-sdk-app
iOSWolletteApp

Shared types and transport utilities resolve as dependencies. Merchant apps use the POS SDK, which has separate sessions, keys and lifecycle rules.

Division of responsibilities

Your app (the host)The SDK
Registration and account screensCalls to the Wollette registration API
Consent and input screens for registrationPhone OTP request and verification
Your own sign-in, if you have oneHosted Wollette login, or storage of a session you supply
The developer private key and a signed proof per requestTransport of that proof to Wollette in request headers
Push-notification setup (Firebase)Device association using the token you pass in
Deciding when to start or resume wallet activationChoosing the current activation step, presenting the hosted form, and confirming the result with the API
Showing wallet, balances and transactionsFetching them
Tap-to-pay screen (Android)Payment keys, NFC arming and the Host Card Emulation service
Foreground payment screen (iOS)Consumer payer preparation and encrypted Bluetooth transfer
Handling errors shown to the userStable error codes with a retry flag

Not included

The consumer SDK does not include native KYC/bank-selection screens or Firebase. iOS uses an explicit Bluetooth client; its legacy payments.pay method still has no NFC implementation. React Native bridges described in the repository belong to specific host-app branches. Consumer transfer calls do not return a financial outcome; Wollette must confirm its delivery channel. See Limitations and scope.

Consumer entry points

The consumer entry point is WolletteSdk on Android and WolletteSDK on iOS. Both expose onboarding, walletOnboarding, profile, wollette and payments. iOS also exposes consumerPayments for payer/key preparation; use AppleBlePaymentClient for Bluetooth exchange. Keep one consumer SDK instance for the process. POS uses WollettePosSdk (Android only).

Where to start

  1. Request development access, including an already activated test consumer.
  2. Prepare developer credentials and install the SDK.
  3. Build the Android or iOS starter, then sign in and read the test wallet.
  4. For your existing app, follow the integration section in that platform's quickstart. Keep the SDK and signer in your app's service container.
  5. For a new consumer, register, sign in, then activate the wallet.

Firebase/device association belongs to push and payment-device features. It is not needed for the first wallet read. A returned wallet is account data; check activation progress before enabling features that need completed activation.