Repository navigation
Fix: 가상계좌 발급 API를 현행 엔드포인트로 수정 - #164
Merged
roeniss merged 2 commits intoMay 10, 2026
Merged
Conversation
기존 /kbank.do?method=kbankInit (POST) 엔드포인트는 IP 차단 정책으로 인해 동작하지 않는 문제가 있었습니다. 실제 동행복권 충전 페이지(/mypage/mndpChrg)의 JS를 분석한 결과 현행 엔드포인트는 아래와 같이 변경되어 있었습니다: - GET /mypage/kbankInit.do → reqVO(계좌번호·거래 파라미터) 획득 - GET /mypage/kbankProcess.do → resVO(최종 계좌번호) 획득 응답이 HTML 파싱 방식에서 JSON API 방식으로 바뀐 점도 함께 반영했습니다. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Owner
|
@seovalue CI 체크 부탁드립니다! |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Owner
|
감사합니다! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
문제
기존
assign_virtual_account는/kbank.do?method=kbankInit(POST) 엔드포인트를 사용했으나, IP 차단 정책으로 인해 동작하지 않는 문제가 있었습니다.원인 분석
실제 동행복권 충전 페이지(
/mypage/mndpChrg)의 JavaScript를 분석한 결과, 현행 API 엔드포인트가 변경되어 있었습니다.구버전 (동작 안 함)
신버전 (현행)
응답 포맷도 HTML 파싱에서 JSON API 방식으로 변경되었습니다.
변경 사항
_assign_virtual_account_1,_assign_virtual_account_2URL 신버전으로 교체data=→params=변경resultCode == FAIL처리 및 명확한 에러 메시지 추가테스트
실제 계정으로 호출하여
[케이뱅크] XXX-XXXX-XXX-XXXX형태의 계좌번호 정상 반환 확인.