feat: Phase 8 SaaS 확장 - 구독관리/결제내역 API 추가

- 사용량 조회 API (GET /subscriptions/usage)
- 데이터 내보내기 API (POST/GET /subscriptions/export)
- 결제 명세서 API (GET /payments/{id}/statement)
- DataExport 모델 및 마이그레이션 추가
This commit is contained in:
2025-12-19 16:53:49 +09:00
parent 0d49e4cc75
commit abaff1286e
13 changed files with 868 additions and 1 deletions

View File

@@ -295,4 +295,20 @@
'already_withdrawn' => '이미 탈퇴한 계정입니다.',
'cannot_withdraw' => '탈퇴할 수 없는 상태입니다.',
],
// 구독 관련
'subscription' => [
'already_active' => '이미 활성화된 구독이 있습니다.',
'not_cancellable' => '취소할 수 없는 상태입니다.',
'not_renewable' => '갱신할 수 없는 상태입니다.',
'not_suspendable' => '일시정지할 수 없는 상태입니다.',
'not_resumable' => '재개할 수 없는 상태입니다.',
],
// 데이터 내보내기 관련
'export' => [
'already_in_progress' => '이미 진행 중인 내보내기가 있습니다.',
'not_found' => '내보내기 요청을 찾을 수 없습니다.',
'failed' => '내보내기 처리 중 오류가 발생했습니다.',
],
];