API

AcmePrice

ACME catalog prices, and a quote for a list of domains (create).

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /acme/quote create OK
GET /acme/catalog list 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:

acme_prices, err := client.AcmePrice(nil).List(map[string]any{"country": "example", "currency": "example", "duration": "example", "grid": "example", "process": "example", "provider": "example", "sharing_id": "example", "validation_type": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(acme_prices)
created, err := client.AcmePrice(nil).Create(map[string]any{"sharing_id": "example", "country": "example", "currency": "example", "domains": []any{}, "duration": "example", "grid": "example", "process": "example", "provider": "example", "validation_type": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)

Lua

Construct client as shown in the Lua setup, then call the operations:

local acme_prices, err = client:AcmePrice():list({ country = "example", currency = "example", duration = "example", grid = "example", process = "example", provider = "example", sharing_id = "example", validation_type = "example" })
local created, err = client:AcmePrice():create({ sharing_id = "example", country = "example", currency = "example", domains = {}, duration = "example", grid = "example", process = "example", provider = "example", validation_type = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$acme_prices = $client->AcmePrice()->list(["country" => "example", "currency" => "example", "duration" => "example", "grid" => "example", "process" => "example", "provider" => "example", "sharing_id" => "example", "validation_type" => "example"]);
$created = $client->AcmePrice()->create(["sharing_id" => "example", "country" => "example", "currency" => "example", "domains" => [], "duration" => "example", "grid" => "example", "process" => "example", "provider" => "example", "validation_type" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

acme_prices = client.AcmePrice().list({"country": "example", "currency": "example", "duration": "example", "grid": "example", "process": "example", "provider": "example", "sharing_id": "example", "validation_type": "example"})
created = client.AcmePrice().create({ "sharing_id": "example", "country": "example", "currency": "example", "domains": [], "duration": "example", "grid": "example", "process": "example", "provider": "example", "validation_type": "example" })

Ruby

Construct client as shown in the Ruby setup, then call the operations:

acme_prices = client.AcmePrice.list({ "country" => "example", "currency" => "example", "duration" => "example", "grid" => "example", "process" => "example", "provider" => "example", "sharing_id" => "example", "validation_type" => "example" })
created = client.AcmePrice.create({ "sharing_id" => "example", "country" => "example", "currency" => "example", "domains" => [], "duration" => "example", "grid" => "example", "process" => "example", "provider" => "example", "validation_type" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const acme_prices = await client.AcmePrice().list({ country: "example", currency: "example", duration: "example", grid: "example", process: "example", provider: "example", sharing_id: "example", validation_type: "example" })
const created = await client.AcmePrice().create({ sharing_id: "example", country: "example", currency: "example", domains: [], duration: "example", grid: "example", process: "example", provider: "example", validation_type: "example" })

Fields

Field Type Required Description
country string Yes Country
currency string Yes Currency
domains array Yes Domains
duration string Yes Duration
duration_unit string Yes Duration Unit
grid string Yes Grid
max_duration integer Yes Max Duration
min_duration integer Yes Min Duration
price_after_taxes string Yes Price After Taxes
price_before_taxes string Yes Price Before Taxes
process string Yes Process
product object Yes Product
provider string Yes Provider
tax_rate string Yes Tax Rate
taxes array Yes Taxes
validation_type string Yes Validation Type

create

POST /acme/quote

Operation ID: postAcmeQuote.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
sharing_id query string Yes

Request body

application/json

Property Type Required Description
country string Yes
currency string Yes
domains array of string Yes
duration string Yes
grid string Yes
process string Yes
provider string Yes
validation_type string Yes

Responses

200: OK

application/json

Property Type Required Description
[].currency string Yes
[].duration_unit string Yes
[].grid enum: A, B, C, D, E, F, ... Yes
[].max_duration integer Yes
[].min_duration integer Yes
[].price_after_taxes string Yes
[].price_before_taxes string Yes
[].process enum: add_fqdn, add_wildcard Yes
[].product object Yes
[].product.name string Yes
[].product.params object Yes
[].product.params.provider enum: sectigo, digicert Yes
[].product.params.validation_type enum: dv, ov Yes
[].quantity integer Yes
[].tax_rate string Yes
[].taxes array of object Yes
[].taxes[].label string Yes
[].taxes[].name string Yes
[].taxes[].rate string 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

list

GET /acme/catalog

Operation ID: getAcmeCatalog.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
country query string Yes
currency query string Yes
duration query string Yes
grid query string Yes
process query string Yes
provider query string Yes
sharing_id query string Yes
validation_type query string Yes

Responses

200: OK

application/json

Property Type Required Description
[].currency string Yes
[].duration_unit string Yes
[].grid enum: A, B, C, D, E, F, ... Yes
[].max_duration integer Yes
[].min_duration integer Yes
[].price_after_taxes string Yes
[].price_before_taxes string Yes
[].process enum: add_fqdn, add_wildcard Yes
[].product object Yes
[].product.name string Yes
[].product.params object Yes
[].product.params.provider enum: sectigo, digicert Yes
[].product.params.validation_type enum: dv, ov Yes
[].tax_rate string Yes
[].taxes array of object Yes
[].taxes[].label string Yes
[].taxes[].name string Yes
[].taxes[].rate string 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