/* * 등록된 계좌를 삭제합니다. * - 정액제가 아닌 종량제 이용 시에만 등록된 계좌를 삭제할 수 있습니다. * - 정액제 이용 시 정액제 해지요청(CloseBankAccount API) 함수를 사용하여 정액제를 해제할 수 있습니다. * - https://docs.popbill.com/easyfinbank/dotnetcore/api#DeleteBankAccount */ public IActionResult DeleteBankAccount() { // 기관코드 // 산업은행-0002 / 기업은행-0003 / 국민은행-0004 /수협은행-0007 / 농협은행-0011 / 우리은행-0020 // SC은행-0023 / 대구은행-0031 / 부산은행-0032 / 광주은행-0034 / 제주은행-0035 / 전북은행-0037 // 경남은행-0039 / 새마을금고-0045 / 신협은행-0048 / 우체국-0071 / KEB하나은행-0081 / 신한은행-0088 /씨티은행-0027 string BankCode = ""; // 계좌번호, 하이픈('-') 제외 string AccountNumber = ""; try { var response = _easyFinBankService.DeleteBankAccount(corpNum, BankCode, AccountNumber); return(View("Response", response)); } catch (PopbillException pe) { return(View("Exception", pe)); } }