--- title: "Credit Discount" slug: "pub-billing-v2-type-creditdiscount" updated: 2026-11-24T09:24:15Z published: 2026-11-24T09:24:15Z canonical: "api.ncloud-docs.com/pub-billing-v2-type-creditdiscount" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Credit Discount 이 가이드는 API 명세를 기반으로 자동 생성했습니다. VPC 환경에서 이용 가능합니다. Ncloud API 표준 규격을 적용한 API입니다. CreditDiscount(네이버클라우드 정의 데이터 타입)에 대해 설명합니다. ## 스키마 정의 CreditDiscount의 구조는 다음과 같습니다. ``` { "memberNo": 2001234, "discountNo": 10877, "creditName": "2026 Sign-up Credit", "creditTypeCode": "FREE", "creditTypeName": "Free", "receivedAmount": 300000.0, "remainingAmount": 161112.0, "validityStartMonth": "2026-04", "validityEndMonth": "2026-09", "payCurrency": "KRW", "eligibleBillingItemGroups": [ { "billingItemGroupCode": "SVR", "billingItemGroupName": "Server", "regionCode": null }, { "billingItemGroupCode": "BST", "billingItemGroupName": "Block Storage", "regionCode": null } ] } ``` ## 스키마 필드 CreditDiscount의 필드에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `memberNo` | Integer (int64) | Required | 크레딧을 보유한 회원 번호 - <예시> 2001234 | | `discountNo` | Integer (int64) | Required | 크레딧 할인 번호 - <예시> 10877 | | `creditName` | String | Required | 크레딧 이름 - <예시> 2026 Sign-up Credit | | `creditTypeCode` | String | Required | 크레딧 유형 코드. 전체 값은 `GET /codes?codeType=CREDIT_TYPE`로 조회 - <예시> FREE | | `creditTypeName` | String | Required | `creditTypeCode`의 표시명 - <예시> Free | | `receivedAmount` | Number (double) | Required | 지급 금액 - <예시> 300000.0 | | `remainingAmount` | Number (double) | Required | 현재 잔액 - <예시> 161112.0 | | `validityStartMonth` | String | Required | 유효 시작월 - 패턴: `^\d{4}-(0[1-9]\\|1[0-2])$` - <예시> 2026-04 | | `validityEndMonth` | String | Required | 유효 종료월 - 패턴: `^\d{4}-(0[1-9]\\|1[0-2])$` - <예시> 2026-09 | | `payCurrency` | String | Required | 결제 통화. ISO 4217 통화 코드 - `KRW` \| `USD` \| `JPY` - `KRW`: 한국 원 - `USD`: 미국 달러 - `JPY`: 일본 엔 - <예시> KRW | | `eligibleBillingItemGroups` | List<[EligibleBillingItemGroup](/docs/pub-billing-v2-type-eligiblebillingitemgroup)> | Required | 크레딧을 적용할 수 있는 과금항목그룹 목록 - <예시> `[{"billingItemGroupCode": "SVR", "billingItemGroupName": "Server", "regionCode": null}, {"billingItemGroupCode": "BST", "billingItemGroupName": "Block Storage", "regionCode": null}]` | ## 연관 리소스 CreditDiscount와(과) 연관된 데이터 타입은 다음과 같습니다. - [EligibleBillingItemGroup](/docs/pub-billing-v2-type-eligiblebillingitemgroup)