계좌 실명조회
GET
/v2/api/bacverification
Code sample: Shell / cURL
curl --request GET \ --url 'https://gateway.checkone.co.kr/v2/api/bacverification?bankCode=004&accountNumber=12345678901234&identityNo=900101&accountName=%ED%99%8D%EA%B8%B8%EB%8F%99' \ --header 'Authorization: Bearer <token>'Authorization: Bearer {access_token} 헤더가 필요합니다. 토큰 scope는 ALL 또는 PVERIFICATION이어야 합니다.
검증에 실패하면 HTTP 400과 본문 invalid request : {메시지}를 반환합니다.
Authorizations
섹션 제목: “Authorizations”Parameters
섹션 제목: “Parameters”Query Parameters
섹션 제목: “Query Parameters”bankCode
required
string
은행 코드 3자리 숫자
Example
004accountNumber
required
string
계좌번호. 하이픈 없이 숫자 8~16자리
Example
12345678901234identityNo
required
string
생년월일 6자리(YYMMDD) 또는 사업자번호 10자리 숫자
Example
900101accountName
required
string
예금주명. 서버는 일치 여부를 비교하지 않습니다.
Example
홍길동pgName
string
감사/로그용 값
clientId
string
감사/로그용 값
pgFunction
string
감사/로그용 값
Responses
섹션 제목: “Responses”200
섹션 제목: “200”조회 결과. code가 0000이면 성공입니다.
Media typeapplication/json
object
code
결과 코드.
0000 성공, 9998 실명번호 형식 오류, 9997 계좌번호 형식 오류, 710 거래정지 또는 계좌정보 오류,
612 계좌정보 오류, B001 URL 형식 오류, B002 JSON 파싱 오류, B003 내부 시스템 오류.
그 외 코드는 원천 기관의 코드와 메시지를 그대로 전달합니다.
string
flag
code가 0000이면 Y, 아니면 N
string
message
결과 메시지
string
transactionId
거래 식별자
string
holderName
성공 시 은행이 돌려준 예금주명, 실패 시 빈 문자열
string
Examples
성공
{ "code": "0000", "flag": "Y", "message": "정상", "transactionId": "1234567890", "holderName": "홍길동"}실명번호 형식 오류
{ "code": "9998", "flag": "N", "message": "실명번호불일치(생년월일6자또는사업자번호)", "transactionId": "1234567891", "holderName": ""}400
섹션 제목: “400”파라미터 검증 실패. 본문은 invalid request : {메시지} 문자열입니다.
Media typetext/plain
string
Example
invalid request : bankCode must match "^\d{3}$"401
섹션 제목: “401”토큰 서명 또는 만료 오류. 본문 없음
