--- title: "Billing 개요" slug: "pub-billing-v2-overview" updated: 2026-11-24T09:24:15Z published: 2026-11-24T09:24:15Z canonical: "api.ncloud-docs.com/pub-billing-v2-overview" --- > ## 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. # Billing 개요 이 가이드는 API 명세를 기반으로 자동 생성했습니다. VPC 환경에서 이용 가능합니다. Ncloud API 표준 규격을 적용한 API입니다. Billing은 이용 요금과 사용량, 할인 내역 확인을 지원하는 네이버 클라우드 플랫폼의 서비스입니다. Billing 서비스에서는 비용·사용량, 할인, 상품 요금, 공통 코드 조회 기능에 대한 API를 RESTful 형태로 제공합니다. | | v1 | v2 | | --- | --- | --- | | 제공하는 API | List Price·Cost and Usage·Discount 세 가이드로 나누어 제공 | Billing 하나로 통합하여 상품 요금, 비용·사용량, 할인, 공통 코드 조회 제공 | | 호출 방식 | 동작 이름을 경로로 쓰는 GET 요청(예. `/cost/getDemandCostList`) | 자원 경로를 쓰는 RESTful GET 요청(예. `/demand-costs`) | | 응답 형식 | XML 기본, `responseFormatType=json` 지정 시 JSON | JSON | | 목록 조회 | 페이지 번호 방식(`pageNo`·`pageSize`, 전체 건수 `totalRows`) | 커서 방식(`nextToken`·`pageSize`) | | 조회 월 형식 | `yyyyMM`(예. `202401`) | `yyyy-MM`(예. `2024-01`) | | 오류 응답 | Ncloud API 공통 응답 상태 코드 | 표준 오류 응답(`error.errorCode`·`error.message`) | | Sub Account 권한 | v1 Action | v2 전용 Action으로, 서브 계정에 v2 Action 정책을 새로 부여해야 함 | ## Billing 공통 설정 Billing API에서 공통으로 사용하는 요청 형식과 응답 형식을 설명합니다. ### 요청 공통 요청 형식을 설명합니다. #### API URL 요청 API URL은 다음과 같습니다. ``` https://billingapi.apigw.ntruss.com/billing/v2 ``` #### 요청 헤더 요청 헤더에 대한 설명은 다음과 같습니다. | 필드 | 필수 여부 | 설명 | | --- | --- | --- | | `x-ncp-apigw-timestamp` | Required | 1970년 1월 1일 00:00:00 협정 세계시(UTC)부터의 경과 시간(밀리초) - API Gateway 서버와 5분 이상 시간 차 발생 시 유효하지 않은 요청으로 간주 - Unix Timestamp 형식 | | `x-ncp-iam-access-key` | Required | 네이버 클라우드 플랫폼에서 발급받은 Access Key - Access Key 발급 및 확인: [인증키 생성](/docs/common-ncpapi#1%EC%9D%B8%EC%A6%9D%ED%82%A4%EC%83%9D%EC%84%B1) 참조 | | `x-ncp-apigw-signature-v2` | Required | 네이버 클라우드 플랫폼에서 발급받은 Access Key에 맵핑되는 Secret Key 및 HMAC 암호화 알고리즘(HmacSHA256)으로 요청 정보를 암호화한 후 Base64로 인코딩한 서명 - 서명 생성: [시그니처 생성](/docs/common-ncpapi#%EC%8B%9C%EA%B7%B8%EB%8B%88%EC%B2%98%EC%83%9D%EC%84%B1) 참조 | | `x-ncp-lang` | Optional | 응답 표시명(`*Name` 필드)의 언어. BCP 47 언어 태그이며 대소문자를 구분하지 않음 코드 표시명은 지정한 언어로, 그 언어의 표시명이 등록되지 않은 코드는 영어 표시명으로 반환. 코드 값(`*Code`)과 상품명(`productName`)·요금 설명처럼 서비스에 등록된 텍스트는 언어와 관계없이 같음 - `en-US`: 영어 - `ko-KR`: 한국어 - `ja-JP`: 일본어 | ### 응답 공통 응답 형식을 설명합니다. #### 응답 헤더 응답 헤더에 대한 설명은 다음과 같습니다. | 필드 | 필수 여부 | 설명 | | --- | --- | --- | | `x-ncp-request-id` | - | 서버가 생성한 요청 추적 ID. 문의 시 이 값을 함께 전달 (200, 400, 401, 403, 404, 500 응답) | #### 응답 바디 API가 반환하는 공통 응답 바디는 다음과 같습니다. | 응답 | 사용하는 API | 설명 | | --- | --- | --- | | [기본 오류 응답](/docs/type-error-response#Error) | 모든 API | 호출에 실패하면 `error`에 오류 정보를 담아 반환 | #### 응답 상태 코드 응답 상태 코드에 대한 설명은 다음과 같습니다. | HTTP 상태 코드 | 코드 | 메시지 | 설명 | | --- | --- | --- | --- | | 200 | - | - | 요청 처리 성공 | | 400 | `InvalidParameter` | `The specified parameter is invalid.` | 각 API 문서의 응답 상태 코드를 참조 | | 400 | `InvalidNextToken` | `You have provided an invalid pagination token in your request.` | 각 API 문서의 응답 상태 코드를 참조 | | 401 | `Unauthorized` | `Authentication credentials are missing or invalid.` | 인증 정보가 없거나 올바르지 않은 경우 | | 403 | `Forbidden` | `You do not have sufficient permissions to perform this action.` | 각 API 문서의 응답 상태 코드를 참조 | | 403 | `AccessDenied` | `The request was denied by an access policy.` | 각 API 문서의 응답 상태 코드를 참조 | | 404 | `ResourceNotFound` | `The specified resource could not be found.` | 각 API 문서의 응답 상태 코드를 참조 | | 500 | `InternalServerError` | `The request processing has failed because of an unknown error, exception, or failure.` | 요청을 처리하는 중 오류가 발생한 경우. 잠시 후 다시 요청 | 참고 네이버 클라우드 플랫폼에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Ncloud API 응답 상태 코드](/docs/common-ncpapi#3%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ## Billing API Billing 서비스에서 제공하는 API에 대한 설명은 다음과 같습니다. ### Cost and Usage #### Demand Cost Demand Cost 관련 API에 대한 설명은 다음과 같습니다. | API | 설명 | | --- | --- | | [getDemandCost](/docs/pub-billing-v2-demand-cost-getdemandcost) | 회원 청구 비용 조회 | | [listDemandCosts](/docs/pub-billing-v2-demand-cost-listdemandcosts) | 회원 청구 비용 목록 조회 | #### Item Group Cost Item Group Cost 관련 API에 대한 설명은 다음과 같습니다. | API | 설명 | | --- | --- | | [getBillingItemGroupCost](/docs/pub-billing-v2-item-group-cost-getbillingitemgroupcost) | 과금항목그룹 비용 조회 | | [listBillingItemGroupCosts](/docs/pub-billing-v2-item-group-cost-listbillingitemgroupcosts) | 과금항목그룹 비용 목록 조회 | #### Item Cost Item Cost 관련 API에 대한 설명은 다음과 같습니다. | API | 설명 | | --- | --- | | [getBillingItemCost](/docs/pub-billing-v2-item-cost-getbillingitemcost) | 과금항목 비용 조회 | | [listBillingItemCosts](/docs/pub-billing-v2-item-cost-listbillingitemcosts) | 과금항목 비용 목록 조회 | #### Item Resource Usage Item Resource Usage 관련 API에 대한 설명은 다음과 같습니다. | API | 설명 | | --- | --- | | [listBillingItemResourceUsages](/docs/pub-billing-v2-item-resource-usage-listbillingitemresourceusages) | 과금항목 리소스 사용량 목록 조회 (월별) | | [listDailyBillingItemResourceUsages](/docs/pub-billing-v2-item-resource-usage-listdailybillingitemresourceusages) | 과금항목 리소스 사용량 목록 조회 (일별) | ### Discount #### Discount Discount 관련 API에 대한 설명은 다음과 같습니다. | API | 설명 | | --- | --- | | [listDiscounts](/docs/pub-billing-v2-discount-listdiscounts) | 할인 목록 조회 | #### Credit Discount Credit Discount 관련 API에 대한 설명은 다음과 같습니다. | API | 설명 | | --- | --- | | [getCreditDiscount](/docs/pub-billing-v2-credit-discount-getcreditdiscount) | 크레딧 조회 | | [listCreditDiscountApplications](/docs/pub-billing-v2-credit-discount-listcreditdiscountapplications) | 크레딧 적용 이력 조회 | | [listCreditDiscounts](/docs/pub-billing-v2-credit-discount-listcreditdiscounts) | 크레딧 목록 조회 | #### Coin Discount Coin Discount 관련 API에 대한 설명은 다음과 같습니다. | API | 설명 | | --- | --- | | [getCoinDiscount](/docs/pub-billing-v2-coin-discount-getcoindiscount) | 코인 조회 | | [listCoinDiscountApplications](/docs/pub-billing-v2-coin-discount-listcoindiscountapplications) | 코인 적용 이력 조회 | | [listCoinDiscounts](/docs/pub-billing-v2-coin-discount-listcoindiscounts) | 코인 목록 조회 | #### Product Discount Product Discount 관련 API에 대한 설명은 다음과 같습니다. | API | 설명 | | --- | --- | | [getProductDiscount](/docs/pub-billing-v2-product-discount-getproductdiscount) | 상품 할인 조회 | | [listProductDiscountApplications](/docs/pub-billing-v2-product-discount-listproductdiscountapplications) | 상품 할인 적용 이력 조회 | | [listProductDiscounts](/docs/pub-billing-v2-product-discount-listproductdiscounts) | 상품 할인 목록 조회 | ### Product Product 관련 API에 대한 설명은 다음과 같습니다. | API | 설명 | | --- | --- | | [getProduct](/docs/pub-billing-v2-product-getproduct) | 상품 조회 | | [listProducts](/docs/pub-billing-v2-product-listproducts) | 상품 및 요금 목록 조회 | ### Common #### Cost Relation Code Cost Relation Code 관련 API에 대한 설명은 다음과 같습니다. | API | 설명 | | --- | --- | | [listCostRelationCodes](/docs/pub-billing-v2-cost-relation-code-listcostrelationcodes) | 비용 연관 코드 목록 조회 | #### Category Category 관련 API에 대한 설명은 다음과 같습니다. | API | 설명 | | --- | --- | | [listCategories](/docs/pub-billing-v2-category-listcategories) | 상품 카테고리 목록 조회 | #### Region Region 관련 API에 대한 설명은 다음과 같습니다. | API | 설명 | | --- | --- | | [listRegions](/docs/pub-billing-v2-region-listregions) | 리전 목록 조회 | #### Code Code 관련 API에 대한 설명은 다음과 같습니다. | API | 설명 | | --- | --- | | [listCodes](/docs/pub-billing-v2-code-listcodes) | 코드 목록 조회 | ## Billing 연관 리소스 Billing API에 대한 사용자의 이해를 돕기 위해 다양한 연관 리소스를 제공하고 있습니다. - Billing API 사용 방법 - [API 개요](/docs/common-ncpapi): 네이버 클라우드 플랫폼에서 발급받은 Access Key, Secret Key 발급 및 확인, 요청 헤더에 필요한 서명 생성 방법 - [Sub Account 사용 가이드](https://guide.ncloud-docs.com/docs/subaccount-overview): 서브 계정의 Access Key 발급 및 확인 방법 - [API Gateway 사용 가이드](https://guide.ncloud-docs.com/docs/apigw-apigw-1): 요청 헤더에 필요한 API Key 확인 방법 - Billing 서비스 사용 방법 > **[작성 필요]** 아래 항목은 주소가 작성되지 않았습니다. - Billing 사용 가이드 (작성 필요): 네이버 클라우드 플랫폼 콘솔에서 Billing 사용하는 방법 - [Ncloud 사용 환경 가이드](https://guide.ncloud-docs.com/docs/environment-environment-1-1): VPC, Classic 환경 및 지원 여부에 대한 가이드 - 요금 소개, 특징, 상세 기능 (작성 필요): Billing의 요금 체계, 특징, 상세 기능 요약 - 서비스 최신 소식 (작성 필요): Billing 관련 최신 소식 - [자주 하는 질문](https://www.ncloud.com/support/faq/bill): Billing 사용자들이 자주 하는 질문 - [문의하기](https://www.ncloud.com/support/question/service): 사용 가이드를 통해서도 궁금증이 해결되지 않는 경우 직접 문의