Implementation of public API of Bitbay.pl