WinkPay Portal
Interactive playground for developers integrating the WinkPay SDK — biometric checkout, payment intents, and wallet operations against a live merchant.
Scaffold — under construction. The WinkPay SDK is an Android library that wraps Wink Core APIs and layers POS-specific UX. This playground exposes the same Wink Core ops the SDK calls underneath, but organized as a POS-checkout flow — so devs can see what each startPayment / startCheckin call does on the wire. The center column will hold one card per flow step.
WinkPay checkout flow cards will appear here
The SDK calls Wink Core APIs underneath. We curate + reorder the existing ops as POS-checkout steps so developers can run the sequence and inspect each call's wire shape. This is not a new API surface — it's a flow-oriented overlay on what's already on /playground/core/api/.
- Step 1 · Mint session — call
POST /wink/v1/session(Core API). Card shows merchant clientId + secret reuse from the signed-in dev's saved creds. - Step 2 · Recognize face — call
recognize_facewith a captured face frame (drop-zone in the right rail). ReturnswinkTag+ access token. This is what the SDK'sstartCheckindrives under the hood. - Step 3 · Get user wallet — call
recognize_face_cardswith the same access token. Returns saved cards. The SDK shows this list as its card-picker UI. - Step 4 · Prepare checkout — call
prepare_inline_checkoutwith amount + tenderId + selected card. Returns a payment intent. - Step 5 · Confirm / capture — call
wait_for_checkoutto finalize. This is the wire-level equivalent ofEmbeddedPaymentResult.transactionId. - Right rail · Biometric capture panel — face/voice slots + "Reset testing session" button. Mirror the structure from
/playground/core/api/.
Reference implementations to crib from:
playground/core/api/index.html— operation-list pattern withOPERATIONS = [...], formFields, bodyExample. Pull individual op definitions from here and reorder as flow steps./winkpay/sdk/— the SDK reference. Each flow step here corresponds to a specific Kotlin SDK call (startCheckin,startPayment) documented there.