# ID로 현재 사용자의 혜택 체인 가져오기 혜택 체인의 ID로 현재 사용자의 혜택 체인을 가져옵니다. Endpoint: GET /v2/project/{project_id}/user/offer_chain/{offer_chain_id} Version: 2.0.0 Security: XsollaLoginUserJWT ## Path parameters: - `project_id` (integer, required) 프로젝트 ID입니다. 이 매개 변수는 관리자 페이지의 프로젝트 이름 옆에서 확인할 수 있습니다. Example: 44056 - `offer_chain_id` (integer, required) 혜택 체인 ID입니다. Example: 101 ## Response 200 fields (application/json): - `date_end` (string,null) 혜택 체인이 종료되는 날짜입니다. null일 수 있습니다. date_end이(가) null인 경우 혜택 체인에는 기간 제한이 없습니다. Example: "2020-04-15T18:16:00+05:00" - `date_start` (string) 혜택 체인이 시작되는 날짜입니다. Example: "2020-04-15T18:16:00+05:00" - `description` (string,null) 혜택 체인의 설명입니다. Example: "Major weekly quest" - `id` (integer) 혜택 체인 ID입니다. Example: 9 - `name` (string) 혜택 체인의 이름입니다. Example: "Weekly quest" - `next_step_number` (integer,null) 다음 혜택 체인의 단계 번호입니다. 혜택 체인이 완료된 경우 null입니다. Example: 1 - `order` (integer) 배열 순서를 정의합니다. Example: 1 - `recurrent_schedule` (object,null) 혜택 체인의 재설정 기간입니다. - `recurrent_schedule.interval_type` (string) 혜택 체인의 재설정 빈도입니다. Enum: "weekly", "monthly", "hourly" - `recurrent_schedule.reset_next_date` (integer) 유닉스 타임 스탬프 형식으로 표시한 다음에 혜택 체인이 재설정되는 날짜와 시간입니다. 예를 들어, 월간 혜택 체인의 재설정은 2024년 3월 1일 01:00(쿠알라룸푸르 시간(GMT+8))에 시작됩니다. 다음 재설정은 2024년 4월 1일 01:00(쿠알라룸푸르 시간(GMT+8))에 진행하며, 이는 2024년 3월 31일 17:00 GMT+0 또는 유닉스 타임 스탬프 형식으로 1711904400000에 해당합니다. 예: 1711904400000 - `steps` (array) - `steps.is_claimed` (boolean) 단계 리워드가 청구되었는지 또는 구매되었는지를 나타냅니다. - `steps.is_free` (boolean) 혜택 체인 단계가 무료인지 여부를 나타냅니다.true인 경우 무료 혜택 체인 단계 신청 호출을 사용하여 해당 단계를 신청해야 합니다.false인 경우 유료 혜택 체인 단계 주문 생성 호출을 사용하여 구매해야 합니다. - `steps.items` (array) - `steps.items.bundle_type` (string,null) Enum: "standard", "virtual_currency_package" - `steps.items.content` (array,null) - `steps.items.description` (string,null) 아이템 설명입니다. - `steps.items.image_url` (string,null) 이미지 URL입니다. Example: "https://image.example.com" - `steps.items.is_free` (boolean) true일 경우 아이템은 무료입니다. - `steps.items.item_id` (integer) 내부의 고유 아이템 ID입니다. Example: 1 - `steps.items.name` (string) 아이템 이름입니다. - `steps.items.quantity` (integer) 아이템의 개수입니다. Example: 1 - `steps.items.sku` (string) 고유 아이템 ID입니다. SKU는 소문자 및 대문자 라틴 영숫자, 마침표, 대시 및 밑줄만 포함할 수 있습니다. Example: "booster_mega_1" - `steps.items.type` (string) 아이템 유형: virtual_good/virtual_currency/bundle/unit. - `steps.step_loyalty_rewards` (array,null) - `steps.step_loyalty_rewards.amount` (integer) 로열티 포인트 개수. Example: 1 - `steps.step_loyalty_rewards.description` (string) 로열티 포인트 설명. Example: "First Loyalty Point Desc" - `steps.step_loyalty_rewards.name` (string) 로열티 포인트 이름. Example: "First Loyalty Point" - `steps.step_loyalty_rewards.sku` (string) 로열티 포인트의 SKU. Example: "0c745ef0-4243-46e1-aa90-54dee07da622" - `steps.step_number` (integer) 단계 번호입니다. Example: 2 - `steps.step_price` (object,null) - `steps.step_price.amount` (number, required) 실제 화폐로 표시된 단계 가격입니다. Example: 99.99 - `steps.step_price.currency` (string, required) 아이템 가격 통화입니다. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)에 따른 3자리 코드입니다. Example: "USD" - `steps.step_vp_rewards` (array,null) 리워드 시스템에서 리워드로 부여되는 가치 포인트의 배열입니다. - `steps.step_vp_rewards.amount` (integer) 가치 포인트의 금액입니다. - `steps.step_vp_rewards.is_clan` (boolean) 값 포인트가 클랜 보상 체인에서 사용되는지 여부입니다. Example: true - `steps.step_vp_rewards.name` (string) 가치 포인트 이름입니다. - `steps.step_vp_rewards.sku` (string) 고유 가치 포인트 ID입니다. ## Response 404 fields (application/json): - `errorCode` (integer) Example: 1102 - `errorMessage` (string) Example: "[0401-1102]: Unprocessable Entity. The property `property_name` is required" - `errorMessageExtended` (object,null) - `statusCode` (integer) Example: 422 - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x"