A wrapper for the BitPay API