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

@@ -85,4 +85,14 @@ public function refund(PaymentActionRequest $request, int $id): JsonResponse
return ApiResponse::handle('message.payment.refunded', $result);
}
/**
* 결제 명세서 조회
*/
public function statement(int $id): JsonResponse
{
$result = $this->paymentService->statement($id);
return ApiResponse::handle('message.fetched', $result);
}
}