Operator

Platform operators: the price rule of a TLD (fixed prices or Dynadot + margin; automatic or by hand; sold or not)

put/operator/domain-registrar/tlds/{tld}

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/operator/domain-registrar/tlds/{tld}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

tldstring required

A TLD such as se or co.uk, or *

Request body

enabledboolean required
fulfillment'auto' | 'manual' required
currencystring required

lowercase ISO 4217 code, e.g. usd or sek

registerPriceinteger nullable

integer minor units of currency (cents, öre)

renewPriceinteger nullable

integer minor units of currency (cents, öre)

marginPercentnumber nullable
marginFixedinteger nullable

integer minor units of currency (cents, öre)

whoisPrivacyboolean
notestring nullable
reasonstring required

why (shown in the operator audit log)

Response

Saved

keyringConfiguredboolean required

the platform key (ENCRYPTION_KEY) that seals stored keys is set

paymentMode'stripe' | 'manual' required

stripe: paid with the team's card or a payment link; manual: no online payment on this server: our team is told about every order, contacts the team with the payment details and confirms the payment

egressIpstring nullable required

the address Dynadot sees: whitelist it under Tools → API at Dynadot

Changes

No recorded changes to this operation across all 1 revision of this API.