Esempio n. 1
0
 /*
  * 예금주조회 API 서비스 과금정보를 확인합니다.
  * - https://docs.popbill.com/accountcheck/dotnetcore/api#GetChargeInfo
  */
 public IActionResult GetChargeInfo()
 {
     try
     {
         var response = _accountCheckService.GetChargeInfo(corpNum);
         return(View("GetChargeInfo", response));
     }
     catch (PopbillException pe)
     {
         return(View("Exception", pe));
     }
 }
Esempio n. 2
0
        /*
         * 예금주조회 API 서비스 과금정보를 확인합니다.
         * - https://docs.popbill.com/accountcheck/dotnetcore/api#GetChargeInfo
         */
        public IActionResult GetChargeInfo()
        {
            // 서비스 유형, 성명 / 실명 중 택 1
            string serviceType = "실명";

            try
            {
                var response = _accountCheckService.GetChargeInfo(corpNum, userID, serviceType);
                return(View("GetChargeInfo", response));
            }
            catch (PopbillException pe)
            {
                return(View("Exception", pe));
            }
        }