/*
  * 계좌 등록, 수정 및 삭제할 수 있는 계좌 관리 팝업 URL을 반환합니다.
  * - 반환되는 URL은 보안 정책상 30초 동안 유효하며, 시간을 초과한 후에는 해당 URL을 통한 페이지 접근이 불가합니다.
  * - https://docs.popbill.com/easyfinbank/dotnetcore/api#GetBankAccountMgtURL
  */
 public IActionResult GetBankAccountMgtURL()
 {
     try
     {
         var result = _easyFinBankService.GetBankAccountMgtURL(corpNum, userID);
         return(View("Result", result));
     }
     catch (PopbillException pe)
     {
         return(View("Exception", pe));
     }
 }
Ejemplo n.º 2
0
        private void btnGetBankAccountMgtURL_Click(object sender, EventArgs e)
        {
            /*
             * 은행 계좌 관리 팝업 URL을 반환한다.
             */

            try
            {
                String url = easyFinBankService.GetBankAccountMgtURL(txtCorpNum.Text, txtUserId.Text);

                MessageBox.Show(url, "계좌 관리 팝업 URL");
            }
            catch (PopbillException ex)
            {
                MessageBox.Show("응답코드(code) : " + ex.code.ToString() + "\r\n" +
                                "응답메시지(message) : " + ex.Message, "정액제 서비스 신청 팝업 URL");
            }
        }