Skip to content

Latest commit

 

History

History
102 lines (46 loc) · 2.08 KB

File metadata and controls

102 lines (46 loc) · 2.08 KB

Cost And Usage

개요

네이버 클라우드 플랫폼에서 사용한 계약의 사용량 / 이용금액을 조회하는 API입니다. Billing API 는 RESTful 형태로 제공됩니다. HTTP 방식의 GET/POST 메서드 호출을 통해서 이루어집니다.

공통 설정


공통 API

GET or POST
https://billingapi.apigw.ntruss.com

요청 헤더

헤더명 설명
x-ncp-apigw-timestamp 1970 년 1 월 1 일 00:00:00 협정 세계시(UTC)부터의 경과 시간을 밀리초(Millisecond)로 나타낸 것이다.
API Gateway 서버와 시간 차가 5 분 이상 나는 경우 유효하지 않은 요청으로 간주
x-ncp-iam-access-key 네이버 클라우드 플랫폼에서 발급받은 API Key 또는 IAM에서 발급받은 AccessKey
x-ncp-apigw-signature-v2 위 예제의 Body를 AccessKey와 맵핑되는 SecretKey로 암호화한 서명
HMAC 암호화 알고리즘은 HmacSHA256 사용

오퍼레이션

API :

/billing/v1/cost/getCostRelationCodeList

비용연관코드 리스트를 조회합니다.

/billing/v1/cost/getContractUsageList

계약 사용량 리스트를 조회합니다.

/billing/v1/cost/getContractDemandCostList

계약 청구 비용 리스트를 조회합니다.

/billing/v1/cost/getProductDemandCostList

상품 청구 비용 리스트를 조회

/billing/v1/cost/getDemandCostList

상품 청구 비용 리스트 조회