Receive a Scan
The following call will be requested when the scanner has successfully recognized a barcode:
POST https://your-end-point.com/v1/scan
Request Body
| Property | Type | Default | Description | Example |
|---|---|---|---|---|
scanRequestId* | string (UUIDv4) | Id of scan | "bd4a0997-39db-41d9-883a-cdfa83e2101f" | |
hmac* | string | Base 64 encoded HMAC of the id of the scan to verify authenticity | "LjtublVo7f29ztAZq1aVT1W9lXX..." | |
scannerId* | string (UUIDv4) | Id of the scanner, that can be looked up | "51c2df21-a7f3-4b92-a7b2-3d221ced61ae" | |
barcodeType* | string | Type of barcode (see supported types below) | "QR" | |
barcodeData* | string | Barcode data | "93487844" |
Supported Barcode Types
AZTECCODABARCODE39CODE93CODE128CODE39MOD43DATAMATRIXEAN13EAN8INTERLEAVED2OF5ITF14MAXICODEPDF417RSS14RSSEXPANDEDUPC_AUPC_EUPC_EANQR
Example Request
{ "scanRequestId": "bd4a0997-39db-41d9-883a-cdfa83e2101f", "hmac": "LjtublVo7f29ztAZq1aVT1W9lXX7JoBwBp1hrNFGFoF5URBjSXKtAJpn1ejXrG+Mh4pMI0samNlpdmogtBabuw==", "scannerId": "51c2df21-a7f3-4b92-a7b2-3d221ced61ae", "barcodeType": "EAN13", "barcodeData": "90834098394" }