Skip to main content

identity_documents_verifications

Creates, updates, deletes, gets or lists an identity_documents_verifications resource.

Overview

Nameidentity_documents_verifications
TypeResource
Idgodaddy.domains.identity_documents_verifications

Fields

The following fields are returned by SELECT queries:

Request was successful

NameDatatypeDescription
createdAtstring (iso-datetime)Timestamp indicating when the user created the identity document verification job
statusstring
tldstringTop level domain the current identity document verification is for

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_identity_document_verificationselectidentity_document_idX-Shopper-Id, tldsRetrieve a list of Verifications for the specified Identity Document
create_verificationinsertidentity_document_id, tldsX-Shopper-IdOnly one verification job is needed for one TLD, Top Level Domain, per identity document. Sending in request(s) with multiple domains for the same TLD, will not create multiple verification jobs. We accept domain names for the convenience of our customers so that they don't need to worry about parsing TLDs out of domain names

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
identity_document_idstringUnique id of an identity document
tldsarrayAn array of TLDs for which the verification was started. Alternately you can specify the whole domain from which the TLD will be extracted
X-Shopper-IdstringShopper ID of the owner of the identity document. This is only required if you are a Reseller managing identity documents for your customers. Use this header to pass in their subaccount ID
tldsarrayAn array of TLDs for which to retrieve identity document verification jobs. Alternately you can specify the whole domain from which the TLD will be extracted

SELECT examples

Retrieve a list of Verifications for the specified Identity Document

SELECT
createdAt,
status,
tld
FROM godaddy.domains.identity_documents_verifications
WHERE identity_document_id = '{{ identity_document_id }}' -- required
AND X-Shopper-Id = '{{ X-Shopper-Id }}'
AND tlds = '{{ tlds }}'
;

INSERT examples

Only one verification job is needed for one TLD, Top Level Domain, per identity document. Sending in request(s) with multiple domains for the same TLD, will not create multiple verification jobs. We accept domain names for the convenience of our customers so that they don't need to worry about parsing TLDs out of domain names

INSERT INTO godaddy.domains.identity_documents_verifications (
identity_document_id,
tlds,
X-Shopper-Id
)
SELECT
'{{ identity_document_id }}',
'{{ tlds }}',
'{{ X-Shopper-Id }}'
RETURNING
createdAt,
status,
tld
;