- Barcode scan
- NFC tap
The barcode carries the payload configured on your pass template, using placeholders such as
{{customer.externalId}}, {{customer.emailAddress}}, or {{customer.mobileNumber}}, or set per pass with the API’s payload field. Left unset, it falls back to the pass id. Point it at the identifier your POS can resolve, usually externalId. See barcodes on pass templates for the template side.After the sale
Push the new balance to the pass. Update pass with the newloyaltyState. Everything downstream of the scan or tap is identical for barcode and NFC.
Optionally record the visit. Create transaction with passId, storeId, type (for example PASS_AND_PAYMENT), instrument (QR for a barcode scan, APPLE_VAS or GOOGLE_SMART_TAP for a tap), status (APPROVED, DENIED, FAILED, or PENDING), pointsEarned, and your reference. Recorded transactions appear in the portal’s Transaction Log. Staff can then investigate usage without leaving Stell.