A python class to use the BitPay payment API