token_scan method which is used to scan a token from a customers mobile device. Calling token_scan will trigger the
scanner to begin listening for scans and the red scanning light will be activated for the duration of the request.
token_scan
Params
How long to wait before giving up the scan attempt.
How many attempts to scan a token should be made
Used to specify the token provider.Available options:
giftaway, platform, sharetreats, pluxee, giftedResponse
Whether or not a token was scanned
A failure message if the scan attempt failed
The encoded token data if successful
