def get_payment(self, params): request = HipopayRequest('payment', params) request.get()
def get_refund(self, params): request = HipopayRequest('payment_refund', params) request.get()
def app_pay(self, params): params = self.if_cny(params) request = HipopayRequest('wechatpay/app/payment', params) request.post()
def get_bill(self, params): request = HipopayRequest('download_bill', params) request.get()
def merchant_scan_consumer(self, params): params = self.if_cny(params) request = HipopayRequest('wechatpay/barcode/payment', params) request.post()
def get_rate(self, params): request = HipopayRequest('wechatpay/forex_rate', params) request.get()
def consumer_scan_web(self, params): params = self.if_cny(params) request = HipopayRequest('wechatpay/web/payment', params) request.post()
def consumer_scan_device(self, params): params = self.if_cny(params) request = HipopayRequest('wechatpay/qrcode/payment', params) request.post()
def mini_program_pay(self, params): params = self.if_cny(params) request = HipopayRequest('wechatpay/mini_program/payment', params) request.post()
def merchant_scan_conumer(self, params): params = self.__is_hk(params) request = HipopayRequest('alipay/barcode/payment', params) request.post()
def consumer_scan_web(self, params): params = self.__is_hk(params) request = HipopayRequest('alipay/web/payment', params) request.post()
def consumer_scan_merchant(self, params): params = self.__is_hk(params) request = HipopayRequest('alipay/qrcode/payment', params) request.post()
def wap_pay(self, params): params = self.if_cny(params) params = self.__is_hk(params) request = HipopayRequest('alipay/wap/payment', params) request.post()