Skip to content

[Feat] 환불 접수 응답에 원주문 식별자 제공 - #138

Merged
ww123ok merged 2 commits into
developfrom
feat/137-refund-order-id
Nov 8, 2026
Merged

ww123ok merged 2 commits into
developfrom
feat/137-refund-order-id

Conversation

@ww123ok

@ww123ok ww123ok commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

PULL REQUEST

🎋 작업 브랜치

💡 작업동기

  • 환불이 완료·반려·철회되면 currentEstimate가 null이 되어, 기존 응답만으로는 어느 구매 주문의 환불인지 확인하기 어려웠습니다.
  • 환불 처리 상태와 관계없이 구매 주문과 환불 접수 내역을 연결할 수 있도록 합니다.

🔑 주요 변경사항

  • 환불 신청·동일 요청 재시도·상세·목록 응답에 결제 주문 조회와 동일한 공개 orderId를 최상위 필드로 추가했습니다.
  • 완료·반려·철회 후에도 orderId를 유지합니다. 같은 주문을 다시 신청한 경우 각 접수는 receiptId로 구분합니다.
  • 본인 주문·접수만 접근할 수 있는 기존 권한과 환불 산정·정산·탈퇴 판정을 유지했습니다.

🏞 스크린샷 (선택)

  • 없음

💬 리뷰 요구사항 (선택)

  • 환불 응답의 orderId가 모든 처리 상태에서 결제 조회의 공개 주문 UUID와 일치하는지 확인 부탁드립니다.
  • 반려·철회 후 재신청 시 같은 주문에 속한 각 접수를 receiptId로 구분할 수 있는지 확인 부탁드립니다.

@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ww123ok
ww123ok requested a review from befur1 November 8, 2026 13:05
@ww123ok ww123ok self-assigned this Nov 8, 2026
@ww123ok ww123ok added the FEAT label Nov 8, 2026
@ww123ok
ww123ok merged commit 91e2410 into develop Nov 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] 환불 접수 응답에 원주문 식별자 제공

1 participant