Is there an API I can use to customize the scanner behaviour?

Yes, you can directly program the behaviour of the scanner if he's able to change the app. The API itself is our Cordova API. As a matter of fact, one of the 3 demo pages after signup works exactly like that.