Skip to content

Metalab change machine, a proof of concept using the Payout JSON API

Notifications You must be signed in to change notification settings

sixtyeight/kassomat-changeomatic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

changeomatic

Metalab change machine, a proof of concept using the Payout JSON API

screenshot

Example trace, showing the exchange of a 10 Euro note

"PUBLISH" "validator-event" "{\"event\":\"reading\"}"
"PUBLISH" "validator-event" "{\"event\":\"reading\"}"
"PUBLISH" "validator-event" "{\"event\":\"read\",\"amount\":1000,\"channel\":2}"
"PUBLISH" "validator-event" "{\"event\":\"stacking\"}"
"PUBLISH" "validator-event" "{\"event\":\"stacking\"}"
"PUBLISH" "validator-event" "{\"event\":\"credit\",\"amount\":1000,\"channel\":2}"
"PUBLISH" "hopper-request" "{\"cmd\":\"do-payout\",\"msgId\":\"de21cbee-7bef-4786-935a-0e84231ce916\",\"amount\":1000}"
"PUBLISH" "hopper-response" "{\"correlId\":\"de21cbee-7bef-4786-935a-0e84231ce916\",\"result\":\"ok\"}"
"PUBLISH" "hopper-event" "{\"event\":\"dispensing\",\"amount\":0}"
"PUBLISH" "validator-event" "{\"event\":\"stacking\"}"
"PUBLISH" "validator-event" "{\"event\":\"stacked\"}"
"PUBLISH" "hopper-event" "{\"event\":\"dispensing\",\"amount\":0}"
"PUBLISH" "hopper-event" "{\"event\":\"dispensing\",\"amount\":100}"
"PUBLISH" "hopper-event" "{\"event\":\"dispensing\",\"amount\":900}"
"PUBLISH" "hopper-event" "{\"event\":\"dispensing\",\"amount\":1000}"
"PUBLISH" "hopper-event" "{\"event\":\"cashbox paid\",\"amount\":0,\"cc\":\"EUR\"}"
"PUBLISH" "hopper-event" "{\"event\":\"dispensed\",\"amount\":1000}"

About

Metalab change machine, a proof of concept using the Payout JSON API

Resources

Stars

Watchers

Forks

Packages

No packages published