Cost and Usage overview

Prev Next

Overview

API that inquires usage / amount of contract used by Naver Cloud platform.
Billing API is provided in RESTful form.
It is made by calling the HTTP-style GET/POST method.

Common Settings

API URL

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

Request headers

Header Description
x-ncp-apigw-timestamp It shows the time elapsed since January 1, 1970 00:00:00 UTC in millisecond.
If the time differs from that of the API Gateway server by 5 minutes or more, then the request is considered invalid.
x-ncp-iam-access-key API Key issued by Naver Cloud Platform or AccessKey issued by IAM.
x-ncp-apigw-signature-v2 Signature used to encrypt the body of the example above with SecretKey that maps with AccessKey.
The HMAC encryption algorithm is HmacSHA256.

Operations

Common

API name Description
getContractSummaryList Look up the user contract summary list.
getCostRelationCodeList Check the list of cost-related codes.
getContractUsageList Look up the list of contract usage.
getContractUsageListByDaily Look up the list of contract usage.
getContractDemandCostList Look up the list of contract claim costs.
getProductDemandCostList Look up the list of product billing costs.
getDemandCostList Look up the list of billing costs.