PayNow

WebstoreCustomDomainSslValidationRecordDto

Represents one record that has to be published to validate a custom domain's SSL certificate. Which fields are populated depends on the 'ssl' block's 'method'.

emailsstring[]Required
The addresses a validation link can be sent to. Empty when validation is not by email.
http_bodystringOptional
The body that URL has to return, or null when validation is not over HTTP.
http_urlstringOptional
The URL on the domain the token file has to be served from, or null when validation is not over HTTP.
txt_namestringOptional
The name to publish the DNS TXT record under, or null when validation is not by TXT record.
txt_valuestringOptional
The value that TXT record has to hold, or null when validation is not by TXT record.
Example
{
  "emails": [
    "string"
  ],
  "http_body": "string",
  "http_url": "string",
  "txt_name": "string",
  "txt_value": "string"
}