BillingPrice
Catalog prices for one product type.
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
GET |
/billing/price/{type} |
load |
OK |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
billing_price, err := client.BillingPrice(nil).Load(map[string]any{"type": "example", "name": []any{}, "process": []any{}}, nil)
if err != nil {
panic(err)
}
fmt.Println(billing_price)
Lua
Construct client as shown in the Lua setup, then call the operations:
local billing_price, err = client:BillingPrice():load({ type = "example", name = {}, process = {} })
PHP
Construct client as shown in the PHP setup, then call the operations:
$billing_price = $client->BillingPrice()->load(["type" => "example", "name" => [], "process" => []]);
Python
Construct client as shown in the Python setup, then call the operations:
billing_price = client.BillingPrice().load({"type": "example", "name": [], "process": []})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
billing_price = client.BillingPrice.load({ "type" => "example", "name" => [], "process" => [] })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const billing_price = await client.BillingPrice().load({ type: "example", name: [], process: [] })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
currency |
string |
Yes | Currency |
grid |
string |
Yes | Grid |
products |
array |
Yes | Products |
taxes |
array |
Yes | Taxes |
load
GET /billing/price/{type}
Operation ID: getBillingPriceType.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
type |
path |
enum: cloud, domain, domain_option, issued-cert, mailboxv2, openstack, ... |
Yes | |
name |
query |
array of string |
Yes | |
processes |
query |
array of string |
Yes | |
active_phase |
query |
boolean |
No | |
country |
query |
string |
No | |
currency |
query |
string |
No | |
discounts |
query |
array of string |
No | |
duration_unit |
query |
string |
No | |
extension |
query |
string |
No | |
features |
query |
boolean |
No | |
grid |
query |
string |
No | |
lang |
query |
string |
No | |
max_duration |
query |
integer |
No | |
page |
query |
integer |
No | |
per_page |
query |
integer |
No | |
prices_at |
query |
string (date-time) |
No | |
sharing_id |
query |
string |
No |
Responses
200: OK
application/json
| Property | Type | Required | Description |
|---|---|---|---|
currency |
string |
Yes | |
grid |
string |
Yes | |
products |
array of object |
Yes | |
products[].name |
string |
Yes | |
products[].phases |
array of object |
Yes | |
products[].phases[].ends_at |
string (date-time) |
No | |
products[].phases[].name |
string |
Yes | |
products[].phases[].starts_at |
string (date-time) |
Yes | |
products[].prices |
array of object |
Yes | |
products[].prices[].discount |
boolean |
Yes | |
products[].prices[].duration_unit |
string |
Yes | |
products[].prices[].features |
array of object |
Yes | |
products[].prices[].features[].name |
string |
Yes | |
products[].prices[].features[].name_label |
string |
No | |
products[].prices[].features[].type |
enum: boolean, string, int, float |
Yes | |
products[].prices[].features[].value |
string |
Yes | |
products[].prices[].features[].value_label |
string |
No | |
products[].prices[].max_duration |
integer |
Yes | |
products[].prices[].min_duration |
integer |
Yes | |
products[].prices[].normal_price_after_taxes |
number |
No | |
products[].prices[].normal_price_before_taxes |
number |
No | |
products[].prices[].options |
object |
Yes | |
products[].prices[].options.addresses |
string |
No | |
products[].prices[].options.addresses_label |
string |
No | |
products[].prices[].options.commitment |
boolean |
No | |
products[].prices[].options.cores |
integer |
No | |
products[].prices[].options.duration_change |
string |
No | |
products[].prices[].options.duration_change_label |
string |
No | |
products[].prices[].options.extension |
string |
No | |
products[].prices[].options.force_registration_display |
boolean |
No | |
products[].prices[].options.memory |
integer |
No | |
products[].prices[].options.name_label |
string |
No | |
products[].prices[].options.offer |
string |
No | |
products[].prices[].options.offer_label |
string |
No | |
products[].prices[].options.phase |
string |
No | |
products[].prices[].options.sgc |
boolean |
No | |
products[].prices[].options.sgc_label |
string |
No | |
products[].prices[].options.size |
string |
No | |
products[].prices[].options.size_label |
string |
No | |
products[].prices[].options.trial |
boolean |
No | |
products[].prices[].options.value |
string |
No | |
products[].prices[].options.warranty |
string |
No | |
products[].prices[].options.warranty_label |
string |
No | |
products[].prices[].price_after_taxes |
number |
Yes | |
products[].prices[].price_before_taxes |
number |
Yes | |
products[].prices[].type |
string |
No | |
products[].process |
string |
Yes | |
products[].status |
string |
Yes | |
products[].taxes |
array of object |
Yes | |
products[].taxes[].name |
string |
Yes | |
products[].taxes[].name_label |
string |
No | |
products[].taxes[].rate |
number |
Yes | |
products[].taxes[].type |
string |
Yes | |
taxes |
array of object |
Yes | |
taxes[].name |
string |
Yes | |
taxes[].name_label |
string |
No | |
taxes[].rate |
number |
Yes | |
taxes[].type |
string |
Yes |
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |