POS SDK overview
Overview

POS SDK overview

Accept WollettePay payments and issue refunds from an Android app. Your app signs merchants in and completes orders. The SDK reads payment data, signs requests and saves unresolved operations so you can recover them.

Start with terminal association

Install the POS product, attach a current merchant session, select the original terminal and verify its association. This first API checkpoint needs no second device and makes no payment. A matching association is separate from a usable signing key.

After that works, inspect retained financial state, prepare a key, then follow two-device setup. The quickstart offers a complete payment starter and a smaller existing-app association component.

Choose the right SDK

Your appAndroid packageSwift product
Customer walletcom.wollette:wollette-sdk-appWolletteApp
Merchant terminalcom.wollette:wollette-sdk-posNot available; POS is Android only

Each product includes the shared module as a dependency. POS has its own entry point, session and storage. It does not depend on the consumer wallet module. If you are building the customer's payment screen, start with Consumer contactless payments.

What your app owns

Your appPOS SDK
Merchant sign-in and token renewalValidates the supplied session and selected terminal
Terminal IDs, original device serial and actual capabilitiesCreates or reads the device association
Screens, device permissions and locationForeground NFC/Bluetooth acquisition
Deciding when to create, rotate or recover a terminal keyProtected key storage and signatures
Order state, split payments and refund limitsPayment/refund initiation and typed results
Recording the result and completing the orderRetains the operation until you acknowledge it
Support and reconciliation for unresolved casesRecovery of the saved request

SoftPay, cloud payment routing and general card acceptance remain outside this API.

Follow the payment flow

  1. Attach a merchant session and select the terminal.
  2. Read or create its device association.
  3. Check for an outstanding operation before preparing a new payment.
  4. Make sure the terminal has a usable signing key.
  5. Call pay or refund with an NFC reader or an NFC/Bluetooth coordinator.
  6. Record the returned result in your app's durable order state.
  7. Acknowledge a definitive result when your app can safely prevent duplicate initiation.

An outstanding operation takes the recovery path before a new payment or key mutation.

Supported platform roles

RoleAndroidiOS
Consumer presents payment dataNFC through HCEForeground Bluetooth LE client
POS reads payment dataNFC or configured Bluetooth LENot available; POS is Android only

The code implements these roles. Device compatibility and live payment/refund behaviour still require testing in your target environment.