# 프로모션 코드 확인 코드가 프로모션 코드 또는 쿠폰 코드인지 여부와 사용자가 코드를 적용할 수 있는지 여부를 결정합니다. Endpoint: GET /v2/project/{project_id}/promotion/code/{code}/verify Version: 2.0.0 Security: XsollaLoginUserJWT ## Path parameters: - `project_id` (integer, required) 프로젝트 ID입니다. 이 매개 변수는 관리자 페이지의 프로젝트 이름 옆에서 확인할 수 있습니다. Example: 44056 - `code` (string, required) 대/소문자를 구분하는 고유한 코드입니다. 문자와 숫자를 포함합니다. Example: "WINTER2021" ## Response 200 fields (application/json): - `code` (string) 고유한 대/소문자 구분 코드입니다. 문자와 숫자를 포함합니다. Example: "WINTER2021" - `rewards` (any) - `type` (string) 코드 유형: promocode/coupon. ## Response 401 fields (application/json): - `errorCode` (integer) Example: 1501 - `errorMessage` (string) Example: "[0401-1501]: Authorization failed: Provide authorization" - `statusCode` (integer) Example: 401 ## Response 403 fields (application/json): - `errorCode` (integer) - `errorMessage` (string) Example: "Authorization header not sent." - `statusCode` (integer) Example: 403 - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x" ## Response 404 fields (application/json): - `errorCode` (integer) Example: 9811 - `errorMessage` (string) Example: "[0401-9811]: Code not found." - `statusCode` (integer) Example: 404 - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x" ## Response 422 fields (application/json): - `errorCode` (integer) - `errorMessage` (string) - `statusCode` (integer)