getPriceList

Prev Next

Available in Classic and VPC

View a list of pricing plans.

Request

The following describes the request format for the endpoint. The request format is as follows:

Method URI
GET /product/getPriceList

Request headers

For headers common to all List price APIs, see List price common headers.

Request query parameters

The following describes the parameters.

Field Type Required Description
priceNoList.N List<String> Required List of price numbers to view
  • 1 - 99
promiseNoList.N List<String> Optional List of contract numbers to view
payCurrencyCode String Optional Payment currency code
  • KRW | USD | JPY
responseFormatType String Optional Response result format
  • xml (default) | json

Request example

The following is a sample request.

curl --location 'https://billingapi.apigw.ntruss.com/billing/v1/product/getPriceList??priceNoList.1=14738'
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Sub Account Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'

Response

The following describes the response format.

Response body

See PriceList for the response body.

Response status codes

For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

Response example

The following is a sample response.

<?xml version="1.0" encoding="UTF-8"?>
<getPriceListResponse>
    <requestId>27951536-****-****-****-34294759b7f6</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>1</totalRows>
    <priceList>
        <price>
            <priceNo>14738</priceNo>
            <priceType>
                <code>FXSUM</code>
                <codeName>Monthly flat rate</codeName>
            </priceType>
            <region>
                <regionNo>1</regionNo>
                <regionCode>KR</regionCode>
                <regionName>Korea</regionName>
            </region>
            <chargingUnitType>
                <code>TIME</code>
                <codeName>Time</codeName>
            </chargingUnitType>
            <ratingUnitType>
                <code>POINT</code>
                <codeName>Point unit</codeName>
            </ratingUnitType>
            <chargingUnitBasicValue>0</chargingUnitBasicValue>
            <productRatingType>
                <code>VSVR</code>
                <codeName>Server (VPC) Usage</codeName>
            </productRatingType>
            <unit>
                <code>USAGE_MM</code>
                <codeName>Usage time (per month)</codeName>
            </unit>
            <price>4168368</price>
            <promiseList>
                <promise>
                    <promiseProductType/>
                    <discountProcessMethod/>
                    <discountAmount>0</discountAmount>
                </promise>
            </promiseList>
            <conditionType>
                <code>SVR_ST_PRC</code>
                <codeName>Server Stop Price</codeName>
            </conditionType>
            <conditionPrice>4168368</conditionPrice>
            <priceDescription>Usage time (day) * ( Price (month) / full days )</priceDescription>
            <freeUnit/>
            <freeValue>0</freeValue>
            <meteringUnit>
                <code>USAGE_SEC</code>
                <codeName>Usage time (per second)</codeName>
            </meteringUnit>
            <startDate>2020-12-07T00:00:00+0900</startDate>
            <priceAttribute/>
            <priceVersionName></priceVersionName>
            <payCurrency>
                <code>KRW</code>
                <codeName>South Korea Won</codeName>
            </payCurrency>
            <periodUnitList/>
            <countryUnitList/>
            <packageUnitList/>
        </price>
    </priceList>
</getPriceListResponse>