Exemple #1
0
        public String requestVerifyAuth(String ClientCode, RequestVerifyAuth requestObj)
        {
            if (String.IsNullOrEmpty(ClientCode))
            {
                throw new KakaocertException(-99999999, "이용기관코드가 입력되지 않았습니다.");
            }
            if (requestObj == null)
            {
                throw new KakaocertException(-99999999, "본인인증 요청정보가 입력되지 않았습니다.");
            }


            String PostData = toJsonString(requestObj);

            ReceiptIDResponse response = httppost <ReceiptIDResponse>("/SignIdentity/Request", ClientCode, "", PostData, "");;

            return(response.receiptId);
        }
Exemple #2
0
        public String requestCMS(String ClientCode, RequestCMS requestObj)
        {
            if (String.IsNullOrEmpty(ClientCode))
            {
                throw new KakaocertException(-99999999, "이용기관코드가 입력되지 않았습니다.");
            }
            if (requestObj == null)
            {
                throw new KakaocertException(-99999999, "자동이체 출금동의 요청정보가 입력되지 않았습니다.");
            }


            String PostData = toJsonString(requestObj);

            ReceiptIDResponse response = httppost <ReceiptIDResponse>("/SignDirectDebit/Request", ClientCode, "", PostData, "");;

            return(response.receiptId);
        }