Conversation
- GET /api/settlements/account/detail 신규: 정보 변경 화면 prefill용 상세 조회 - INDIVIDUAL/BUSINESS 공통 필드 + 사업자 추가 필드 + status/isActive - business_number는 utils/masking.maskBusinessNumber로 123-45-****0 형태 마스킹 응답 - POST /register/business 케이스 분기 확장 - 최초 등록: 신규 row 생성 (PENDING, is_active=false) - 개인 → 사업자 전환: 기존 INDIVIDUAL row 삭제 후 BUSINESS PENDING 신규 생성 - 사업자 → 사업자 정보변경: 같은 row 덮어쓰기 + status=PENDING + is_active=false - businessNumber 중복 검증을 본인 row 제외로 수정 - businessLicenseUrl을 사업자→사업자 변경 시에만 optional 처리 (기존 URL 유지) - AlreadyRegistered 에러 제거 (변경 시나리오를 허용하기 위함) - POST /register/individual, /register/business 응답에 status + requiresApproval 추가 - 시나리오별 (APPROVED/false, PENDING/true)로 프론트 모달 분기 지원 - SettlementRepository.updateBusinessAccountForApproval 추가 - Swagger 갱신 (신규 endpoint, 응답 필드, 시나리오 설명) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
#470에서 호환 보존용으로 남겼던 폐기 13종 은행코드 맵을 운영 DB 점검 후 제거. - LEGACY_PAYPLE_BANKS, ALL_KNOWN_BANKS, isKnownBank 헬퍼 삭제 - 운영/dev DB 모두 폐기 코드(008/054~063/067/076/077) 사용 0건 확인 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
#470에서 PII 최소화로 birth_date 미저장 정책을 택했으나, 정보 변경 화면에서 계좌 재인증을 위해 birthDate prefill이 필요하다는 UX 이슈로 정책 변경. - SettlementAccount.birth_date 컬럼 저장 재개 - upsertIndividualAccount, createBusinessAccount, updateBusinessAccountForApproval에 birthDate 전달 - BUSINESS+CORPORATE는 사용자가 입력 안 하므로 null 그대로 - GET /account/detail 응답에 birthDate 평문 포함 (본인 조회 한정) - registerIndividual: payload.birthDate 누락 시 ValidationError - Swagger 갱신: birthDate 응답 필드 명세 후속: 본 컬럼은 평문 저장이므로 별도 이슈에서 AES-256-GCM + KMS 암호화 검토. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
[FEAT] 정산 - 판매자 정보 변경 화면 API 및 LEGACY 은행코드 정리 (#473)
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.
📌 기능 설명
📌 구현 내용
📌 구현 결과
📌 논의하고 싶은 점