OpenAPI

HOME > OpenAPI > 계좌유형조회

계좌유형조회

각은행별 계좌에 대한 유형정보를 제공합니다.


1 요청URL
GET
POST
    URL
  • http://ds.gscms.co.kr:8888/Rest/api/AccountType?type={xml or json}&sessionID=공개키
  • 샘플
  • http://ds.gscms.co.kr:8888/Rest/api/AccountType?type=xml&sessionID=test
  • [application/x-www-form-urlencoded]
  • path01=023&path02=26620034832
  • [application/xml]
  • <R><path01>023</path01><path02>26620034832</path02></R>
  • [application/json]
  • {"path01":"023","path02":"26620034832"}

  • 주의사항
  • filename, type, eCode, sessionID, subFileName, wcfName 요청변수명은 사용이 불가하며,
  • path01 ~ path20은 Path에서 사용하지 않을 경우 사용가능.
  • 요청변수명 중복사용시 Query보다 Body가 우선함.

2 요청변수
구분 요청변수 변수명 유형 필수 샘플값 설명
Path fileName 요청 업무 string true AccountType
AccountType
추가/변경 가능
path01 은행코드 int true 023 은행코드3자리
path02 계좌번호 string true 26620034832 조회계좌번호
Query type응답형식stringtruexmlxml or json
eCode 법인코드 string false Dataservice 요청 처리하고자 하는 법인코드
sessionID 공개키 string true test 접근하려는 연계시스템 또는 사용자에 부여하는 Key값
subFileName 요청 업무(구분) string false 088 요청 업무 세부 구분 코드(예-은행코드)

3 출력결과필드
출력변수 유형 샘플값 설명
R_CODE responseindex 0000 처리결과코드
R_MSG responseindex 정상 처리되었습니다 처리결과메세지
은행코드 variable
계좌번호 variable
수정은행코드 responseindex
수정계좌번호 responseindex
계좌과목코드 responseindex
계좌구분 responseindex
계좌구분기타 responseindex
가상계좌가능여부 responseindex
출금이체가능여부 responseindex
입금이체가능여부 responseindex
부가서비스가능여부 responseindex
통합계좌정보 responseindex
비고 responseindex

4 추가응답코드
  • 개발가이드 페이지의 기본응답코드외 해당 업무특성상 추가되는 응답코드
  • 응답코드 응답메세지 조치 방안

    5 Test API
    Header
    Key Value 비고
    Content-Type application/x-www-form-urlencoded application/xml
    application/json
    Authorization 토큰 인증용 헤더(Bearer + ' ' + 발급토큰)
    client_id 접속회원ID
    client_secret 접속비밀번호
    session_id Session ID
    user-tr-no 요청자 거래고유번호(요청자 생성)


  • [GET] http://ds.gscms.co.kr:8888/Rest/api/AccountType



  • Response


  • [POST] http://ds.gscms.co.kr:8888/Rest/api/AccountType?type=json&sessionID=test


  • Body
    Key Value 비고
    path01 은행코드3자리
    path02 조회계좌번호


    Response