Transaction Report

POST https://recognition.services.tiliter.com/v1/15/recognition/{recognition_id}/transaction_events

Overview

The Create Transaction Event function allows your Device to report what the user purchased to the Tiliter Recognition API. This closes the loop on the transaction and records when the Device was actually used to complete a purchase.

Why Report Transactions?

Reporting transactions is essential because it:

  • Closes the recognition loop — Links the initial product recognition to the actual purchase
  • Eliminates irrelevant data — Removes incomplete transactions from your reports, giving you accurate insights
  • Tracks all outcomes — Records successful purchases, cancellations, losses, and other transaction states

Important: Every recognition requires a transaction report. Even if no purchase occurs, you should report that outcome.

How to Use

When a customer interacts with your Device, send a transaction event to report the final outcome. This tells us whether the recognition led to a completed purchase, was cancelled, or resulted in a loss.

Request Parameters

Path Parameters

ParameterTypeRequiredDescription
recognition_iduuidYesThe ID of the recognition event

Body Parameters

ParameterTypeRequiredDescription
typestringYesThe transaction outcome (see allowed values below)
timedate-timeYesWhen the transaction event occurred
detailstringNoAdditional details about the transaction
meta_dataobjectNoCustom metadata object

Transaction Type Values

Report one of these states to indicate what happened:

  • transaction_incomplete — The transaction started but wasn't finished
  • label_printed — A label was printed but purchase not yet completed
  • loss_actioned — Loss or theft was detected and action was taken
  • loss_acknowledged — Loss or theft was noted but no action taken
  • purchased — The product was successfully purchased
  • transaction_cancelled — The transaction was cancelled by the user


Did this page help you?