Skip to content

Scan packaging for reward

POST
/me/packaging/scan

Scans reusable packaging at a drop point and issues a reward (voucher or ticket) to the user. Creates an anonymous account if not authenticated.

object
barcode
required
string
/:^[0-9]{2}.{2}([0-9A-Z]{26}|[0-9]{2,5})$/
drop_point_location_id
required
string
hardware_id
required
string
object
created_at
required
string format: time
data
required
Any of:
object
code
required
Any of:
null
conditions
required
Any of:
null
expires_at
required
Any of:
null
shop
required
object
description
required
Any of:
null
logo_url
required
Any of:
null
name
required
Any of:
null
website
required
Any of:
null
value
required
Any of:
null
value_data
required
Any of:
null
deleted_at
required
Any of:
null
id
required
string
/:^[0-9A-Z]{26}$/
type
required
string
Allowed values: Voucher Ticket
updated_at
required
string format: time
object
message
required
string