Example #1
0
        public ResponseMessage <string> autoTransfer(string orderId, BigDecimal amount, CoinType coinType, string subCoinType, string address, string memo)
        {
            string callbackUrl = host + "/bipay/notify";

            try
            {
                ResponseMessage <string> resp = biPayClient.autoTransfer(orderId, amount, coinType.getCode(), subCoinType, address, callbackUrl, memo);
                return(resp);
            }
            catch (Exception e)
            {
                e.printStackTrace();
            }
            return(ResponseMessage.error("提交转币失败"));
        }