Register (domain)

Submits a new registration or transfer order that obeys the reseller's 'process immediately' flag setting.

Helpful Links

TLD Reference Chart - opensrs.help/tlds

Request parameters for sw_register (domain)

Standard parameters

  • action = sw_register
  • object = domain
  • registrant_ip = valid IP address of the registrant (optional)

Attributes

Parameters within the attributes associative array are described below.

Parameter nameObligationDefinition/Value
affiliate_idOptionalThe unique identifier of an RSP's affiliate, which allows the RSP to track orders coming through different affiliates. Specify a valid affiliate ID (max 256 char).
auth_infoOptional for transfer ordersThe transfer authcode for the domain. If provided, the authcode field will be pre-filled when the registrant clicks on the transfer approval link.
auto_renewOptionalUsed to set domain to auto-renew.
0—Do not auto-renew
1—Auto-renew
change_contactOptionalUsed to change contact information for
.ORG, .INFO, .BIZ, .BE, .CN, .EU, .IT, .ME, .MOBI, .UK, and .US domains during a transfer or after transfer completion. Contact changes are always applied for all other TLDs except for .CA, which does not allow contact changes during the transfer.

0—Do not change contact set

1—Apply new contact set when transfer completes.
Value is always set to 1 for .CC, .TV, .COM, .NET, and .NAME
commentsOptionalAdds additional notes to the order, for
example, the additional residency information that is required for .FR domain registrations.
contact_setRequiredA collection of associative arrays containing contact information for each contact type (owner, admin, billing, tech). See "Contact Set".

Notes:
For .CA, .ES, .MX, and .US registrations, state
is required.

For .NL, state is NOT required.

For .ES domains registrations, the postal code must correspond to the province for each of the contacts. See “.ESpostalcodes” for a list of the postal code prefixes that apply to each province.

For .IT domain registrations, if the entity_type is anything other than 1, org_name is required, and you must include the admin associative array. If entity_type = 1, the admin contact is assumed to be the same as the owner and you do not need to submit it.
custom_ nameserversNameservers
Required for domain registrations
An indication of whether to use the RSP's default nameservers, or those provided in the 'sw_register' request.

0—Use reseller's default nameservers. If set to 0 and default nameservers are not defined, no nameservers are associated with the domain.

Note: .TEL always uses the default nameservers, so this value should be 0 for .TEL registrations. Any nameservers submitted for .TEL will be ignored.

1—Use nameservers provided in request.
custom_transfer_nameserversRequired for .EU transfers - If not submitted, the nameserver list is ignoredThis flag is only used if reg_type = transfer, and indicates whether to use the nameservers provided in the request.

0—Use the domain's existing nameservers and ignore nameservers provided in request.

1—Use nameservers provided in request. A minimum of two nameservers must be provided. If no nameservers are supplied, domain's nameservers are used.

Note: For .EU transfers, this parameter must always be set to 1.
custom_tech_contactRequired for
domain
registrations
An indication of whether to use the RSP's tech contact info, or the tech contact info provided in the 'sw_register' request.

0—Use reseller's tech contact info.

1—Use tech contact info provided in
request.
dns_templateOptionalSpecify the name of the DNS template that you want to use to enable DNS and assign initial DNS records, or specify blank to enable DNS without defining any records.

Note: You must enter the word blank preceded and followed by asterisks.

The template name can be a maximum of 50 characters.

If this parameter is specified, the nameservers are automatically set to the nameservers for the DNS service:
ns1.systemdns.com
ns2.systemdns.com
ns3.systemdns.com

For information on creating a DNS template,
see the
reseller's Guide to Domain Name
Registration and Management.*
domainRequired for domain registrations and domain vetted certificatesThe domain name to be acted upon in the sw_register request.
encoding_typeOptionalThe encoding type for the domain.

Submit a valid three-character language tag. For a list of allowed values, see "Appendix C: EncodingTypesforIDNs".

If you submit the reg_domain parameter to link two profiles, and the previously registered domain contains multilingual characters, the reg_domain value must also be in Punycode format.

For a list of the languages supported for each TLD, see the gTLDandccTLDReferenceCharton the OpenSRS website.
f_lock_domainOptionalAllows you to lock the domain so that it cannot be transferred away. To allow a transfer on a locked domain, the domain must first be unlocked. Even if submitted, this setting is not applied to TLDs where locking is not supported such as .DE, .UK, .CH, .NL, .FR, IT, BE, and AT.

0—Donotlockdomain
1—Lockdomain
f_parkpOptionalEnables the Parked Pages Program. When the Parked Pages Program is enabled, a customized page containing contextual ads is displayed. The ads generate revenue whenever a visitor clicks on one of the links, and that revenue is shared with you, the reseller.

Important: Enabling Parked Pages changes the nameservers of that domain, and any existing website will not display.

Parked Pages functionality is available for new and transferred domain registrations for these TLDs: .COM, .NET, .ORG, .INFO, .BIZ,
.MOBI, .NAME, .ASIA, .BE, .BZ, .CA, .CC,
.CO, .EU, .IN, .ME, .NL, .TV, .UK, .US, .WS and .XXX .

If Parked Pages is enabled, DNS settings entered at registration are saved for future use and the Parked Pages nameservers are used instead.

For transfers, the DNS settings that were entered with the transfer request are used. If DNS settings were not submitted at the time of transfer, the pre-transfer DNS settings are used. If the domain was using the Parked Pages DNS at the time of transfer, and DNS settings are not provided, the domain continues to use the Parked Pages DNS.
Y—Enable Parked Pages for the domain
N—Do not enable Parked Pages for the domain; this is the default.
f_whois_privacyOptionalAllows you to enable WHOIS Privacy for new .COM, .NET, .ORG, .INFO, .BIZ, .NAME, .ME, .MOBI, .CC, .CO, and .TV registrations.

0—Disable
1—Enable
handleRequiredIndicates how to process the order.

save—Pend the order for later approval
by the RSP.
process—Proceed with the order immediately.
Intended_useOptionalIntended_use attribute is optional, but it is recommended that you submit an appropriate response for your .scot registration. If no response is submitted, OpenSRS will send one on your behalf, but we cannot guarantee it will be accepted by the registry.

* It is a free form text field in API and Control Panel.


<dt_assoc>
the
domain will support trade and development in Scotland
</dt_assoc>
link_domainsOptionalIndicates whether to link this domain with others.

This parameter is only used when ordering multiple domains over multiple calls to sw_register. Also, it is only used if the user does not wish to associate the new registrations with an existing domain/profile in OpenSRS. The first sw_register call to OpenSRS should have link_domains set to 1. The return to this call contains an OpenSRS order ID. This value is used as the master_order_id in the subsequent calls to sw_register for the remainder of the domain list list.

0—Donotlinkdomains

1—Link domains. If set to 1, the
reg_domain field should not be specified.

Note: Only the first call to sw_register should contain the attribute link_domains.
master_order_idRequired for domain registrations if link_domains =1The order ID returned by the first sw_register call for a group of domains that are to be linked (via the link_domains parameter).
nameserver_listRequired for .EU transfersA list of nameserver pairs, each of which contain a nameserver's name and sort order. (Minimum two required). For allowed values, see the Nameserver_list table below.

If dns_template is specified, the nameservers are automatically set to the nameservers for the DNS service:
ns1.systemdns.com
ns2.systemdns.com
* ns3.systemdns.com

Important: For .EU transfers, if nameservers are not provided, the domain name will be stripped of its existing nameservers and will not have any nameservers.
ownerconfirm addressRequired for .DE, .BE, .EU, and .IT transfersThe email address to which to send messages regarding a .BE, .DE, .EU or .IT transfer.

Note: The email address provided is used for the current transfer only, and not for future messages.
periodRequired for new domain registrations onlyThe length of the registration period. Allowed values are 1 – 10, depending on the TLD, that is, not all registries allow for a 1-year registration. The default is 2, which is valid for all TLDs.
premium_price_to_verifyOptional - used only if reg_type = premiumSubmits the premium domain price and verifies that it is the same as the list price. If the submitted price does not match the Tucows list price, the command will fail.

Allowed value is the price for the premium domain, in the format nnn.nn.
reg_domainOptionalAn existing, active domain name in OpenSRS that is owned by the registrant. Providing this parameter links the newly registered or transferred domain to the profile of the existing domain.
reg_usernameRequired for domain registrationsThe username of the registrant.
You can use any of the following alphanumeric characters: A-Z, a-z, 0-9.
reg_passwordRequired for domain registrationsThe registrant's password.
You can use any of the following alphanumeric characters and symbols: A-Z, a-z, 0-9, ! @$^,.~|=-+_{}#"
reg_typeRequired for domain registrationsThe type of registration being requested:

landrush—Submit a request for a domain during its landrush period

new—A new registration

premium—Register a Premium domain name

transfer—Transfer a domain into OpenSRS

sunrise—Submit a request for a domain during its sunrise period

whois_privacy—Enable WHOIS Privacy for an existing domain. DEPRECATED.
tld_dataRequired for:
.AERO, .AR, .ASIA, .AU, .BR, .CL, .COOP, .DE, .DK, .FI, .FR, .HK, .HU, .IT, .JOBS, .LV, .MX, .MY, .NO, .NU, .NYC, .PM, .PRO, .PT, .RE, .RO, .RU, .SE, .SG, .TF, .US. .WF, .YT, and .ZA domains. Optional for .XXX domains.
An associative array that contains additional information required by the registry, such as the residency of the registrant. If you submit a request that contains this array, you must also include data = tld_data.
Allowed values are:

au_registrant_info—Eligibility requirements for .AU registrants.

ced_info—Charter Eligibility Declaration
(CED) information for .ASIA domains.

ipr_data—Sponsored Community information associated with .XXX
domains.

it_registrant_info—Regional presence requirements for .IT domains.

nexus—American presence requirements for .US domains.

professional_data—The professional designation information that is
associated with the .PRO domain.

* registrant_extra_info—Regional presence requirements for various ccTLDs such as .FR and .NYC, or industry requirements for .JOBS domains or .AERO domains.

For information on the allowed values for each of these, see TLD Data.
trademark_smdRequired for Sunrise orders of the new gTLDsThe Signed Mark Data (SMD) that is issued by the Trademark Clearinghouse (TMCH) when the corresponding trademark is registered with TMCH, and which serves as proof of trademark rights.

When submitting sunrise orders for the new gTLDs, you must also submit the following parameters and values: reg_type = sunrise and handle = save.
legal_typeRequired for .CA registrations and transfersDomain name owner's legal classification.

Possible values are as follows

ABO—Aboriginal
ASS—Association
CCO—Canadian Corporation
CCT—Canadian Citizen
EDU—Educational Institution
GOV—Government
HOP—Hospital
INB—Indian Band
LAM—Library, Archive, or Museum
LGR—Legal Representative
MAJ—His Majesty the King
OMK—Protected by Trademarks Act
PLT—Political Party
PRT—Partnership
RES—Permanent Resident
TDM—Trademark Owner
TRD—Trade Union
TRS—Trust

Please note: To change the legal type of a .CA domain during a transfer from another registrar, you must also submit the change_contact parameter.

Nameserver pair

Each element of the nameserver_list array contains the following pair, expressed as an associative array:

Parameter nameObligationDefinition/Value
nameRequiredThe fully qualified domain of the nameserver.
sortorderRequiredThe sort order of the nameserver.

sortorder values must start at 1 and should not contain any gaps in sequence.

Response parameters for sw_register (domain)

The Reseller Agent (RSA) can respond with a 250 response_code, which indicates that the action was submitted for processing in an asynchronous registry. When the registry's reply is received by OpenSRS, it is processed. Performing a get userinfo command indicates if there is an action currently waiting on a domain.

Standard parameters

  • action = reply
  • object = domain or trust_service
  • is_success = a Boolean is returned, indicating success or failure of the request
  • response_code = response code indicating outcome of the request
  • response_text = message describing the outcome of the request

Domain order attributes

If the request is successful, the attributes associative array may include the following:

Parameter nameObligationDefinition/Value
admin_emailOptionalReturns the admin email contact from the order.
async_reasonReturned for asynchronous requestsIndicates the reason that the request was asynchronous. Allowed values are:

general—Order was submitted to an asynchronous registry.
has_claim—Registrant action required before order can complete.
cancelled_ordersOptionalA list of pending orders for this domain that are cancelled by the successful registration of the domain.
errorReturned when an order fails.A text description of the errors that occurred in a failed transaction.
forced_pendingReturned if the order has been forced to pending queue.Orders that cannot be processed (insufficient funds, domain already taken, and so on) are forced to the pending queue.
idReturned if
is_success = true
The ID of the order, which can be used in RWI queries.
queue_request_idReturned if the order has been queued.The ID of the request as it appears in the queue.
registration_codeReturned if
is_success = true
The registration code returned by the registry.
registration_textReturned if is_success = trueThe registration text returned by the registry.
transfer_idReturned if
reg_type=transfer
ID number of the transfer.
whois_privacy_stateReturned if is_success = trueReturns the state of WHOIS Privacy. Allowed values are enabled, disabled, enabling (in process), or disabling (in process).

Domain registration examples

For domain = .COM, .NET, .ORG, .INFO, .BIZ, .NAME, .ME, and .MOBI

Example 1

About this example:

  • This is a new domain name registration.
  • This registration creates a new user profile.
  • No custom tech contact is set.
  • Custom nameservers are set.
  • WHOIS Privacy feature enabled at time of registration.
  • Parked Pages service activated (for qualifying TLDs).
  • User is requesting the domain to lock once it is registered.
  • Two pending orders are cancelled by the successful registration of this
    domain.

Request

<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
 <header>
  <version>0.9</version>
  </header>
 <body>
  <data_block>
   <dt_assoc>
    <item key="protocol">XCP</item>
    <item key="object">DOMAIN</item>
    <item key="action">SW_REGISTER</item>
    <item key="attributes">
     <dt_assoc>
      <item key="f_parkp">Y</item>
      <item key="affiliate_id"></item>
      <item key="auto_renew"></item>
      <item key="comments">Sample comment</item>
      <item key="domain">example2rwetw42tt4t.com</item>
      <item key="reg_type">new</item>
      <item key="reg_username">daniel</item>
      <item key="reg_password">adf3wyt444fvfc3</item>
      <item key="f_whois_privacy">1</item>
      <item key="period">1</item>
      <item key="link_domains">0</item>
      <item key="custom_nameservers">1</item>
      <item key="f_lock_domain">1</item>
      <item key="reg_domain"></item>
      <item key="contact_set">
       <dt_assoc>
        <item key="admin">
         <dt_assoc>
          <item key="country">US</item>
          <item key="address3">Admin</item>
          <item key="org_name">Example Inc.</item>
          <item key="phone">+1.4165550123x1812</item>
          <item key="state">CA</item>
          <item key="address2">Suite 100</item>
          <item key="last_name">Adams</item>
          <item key="email">[email protected]</item>
          <item key="city">Santa Clara</item>
          <item key="postal_code">90210</item>
          <item key="fax">+1.4165550125</item>
          <item key="address1">32 Oak Street</item>
          <item key="first_name">Adler</item>
         </dt_assoc>
        </item>
        <item key="owner">
         <dt_assoc>
          <item key="country">US</item>
          <item key="address3">Owner</item>
          <item key="org_name">Example Inc.</item>
          <item key="phone">+1.4165550123x1902</item>
          <item key="state">CA</item>
          <item key="address2">Suite 500</item>
          <item key="last_name">Ottway</item>
          <item key="email">[email protected]</item>
          <item key="city">SomeCity</item>
          <item key="postal_code">90210</item>
          <item key="fax">+1.4165550124</item>
          <item key="address1">32 Oak Street</item>
          <item key="first_name">Owen</item>
         </dt_assoc>
        </item>
        <item key="billing">
         <dt_assoc>
          <item key="country">US</item>
          <item key="address3">Billing</item>
          <item key="org_name">Example Inc.</item>
          <item key="phone">+1.4165550123x1248</item>
          <item key="state">CA</item>
          <item key="address2">Suite 200</item>
          <item key="last_name">Burton</item>
          <item key="email">[email protected]</item>
          <item key="city">Santa Clara</item>
          <item key="postal_code">90210</item>
          <item key="fax">+1.4165550136</item>
          <item key="address1">32 Oak Street</item>
          <item key="first_name">Bill</item>
         </dt_assoc>
        </item>
       </dt_assoc>
      </item>
      <item key="nameserver_list">
       <dt_array>
        <item key="0">
         <dt_assoc>
          <item key="name">ns1.systemdns.com</item>
          <item key="sortorder">1</item>
         </dt_assoc>
        </item>
        <item key="1">
         <dt_assoc>
          <item key="name">ns2.systemdns.com</item>
          <item key="sortorder">2</item>
         </dt_assoc>
        </item>
       </dt_array>
      </item>
      <item key="encoding_type"></item>
      <item key="custom_tech_contact">0</item>
     </dt_assoc>
    </item>
   </dt_assoc>
  </data_block>
 </body>
</OPS_envelope>

Response

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">
Domain registration successfully completed. WHOIS Privacy successfully enabled. Domain successfully locked.
</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="admin_email">[email protected]</item>
                        <item key="whois_privacy_state">enabled</item>
                        <item key="registration_text">Domain registration successfully completed. WHOIS Privacy successfully enabled. Domain
successfully locked.</item>
                        <item key="registration_code">200</item>
                        <item key="id">3735281</item>
                        <item key="cancelled_orders">
                            <dt_array>
                                <item key="0">3764860</item>
                                <item key="1">3764861</item>
                            </dt_array>
                        </item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

Example 2

About this example:

  • This is a new domain name registration.
  • This registration is based on another domain (example.com).
  • No custom tech contact is set.
  • DNS template is applied.

Request

<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
 <header>
  <version>0.9</version>
  </header>
 <body>
  <data_block>
   <dt_assoc>
    <item key="protocol">XCP</item>
    <item key="object">DOMAIN</item>
    <item key="action">SW_REGISTER</item>
    <item key="attributes">
     <dt_assoc>
      <item key="reg_username">daniel</item>
      <item key="reg_password">adf3wyt444fvfc3</item>
      <item key="period">10</item>
      <item key="dns_template">newdnstemplate</item>
      <item key="affiliate_id"></item>
      <item key="link_domains">0</item>
      <item key="custom_nameservers">0</item>
      <item key="auto_renew"></item>
      <item key="f_lock_domain">0</item>
      <item key="domain">example2342343333.net</item>
      <item key="reg_type">new</item>
      <item key="contact_set">
       <dt_assoc>
        <item key="owner">
         <dt_assoc>
          <item key="country">US</item>
          <item key="address3">Owner</item>
          <item key="org_name">Example Inc.</item>
          <item key="phone">+1.4165550123x1902</item>
          <item key="last_name">Ottway</item>
          <item key="address2">Suite 500</item>
          <item key="state">CA</item>
          <item key="email">[email protected]</item>
          <item key="city">SomeCity</item>
          <item key="postal_code">90210</item>
          <item key="fax">+1.4165550124</item>
          <item key="address1">32 Oak Street</item>
          <item key="first_name">Owen</item>
         </dt_assoc>
        </item>
        <item key="admin">
         <dt_assoc>
          <item key="country">US</item>
          <item key="address3">Admin</item>
          <item key="org_name">Example Inc.</item>
          <item key="phone">+1.4165550123x1812</item>
          <item key="last_name">Adams</item>
          <item key="address2">Suite 100</item>
          <item key="state">CA</item>
          <item key="email">[email protected]</item>
          <item key="city">Santa Clara</item>
          <item key="postal_code">90210</item>
          <item key="fax">+1.4165550125</item>
          <item key="address1">32 Oak Street</item>
          <item key="first_name">Adler</item>
         </dt_assoc>
        </item>
        <item key="billing">
         <dt_assoc>
          <item key="country">US</item>
          <item key="address3">Billing</item>
          <item key="org_name">Example Inc.</item>
          <item key="phone">+1.4165550123x1248</item>
          <item key="last_name">Burton</item>
          <item key="address2">Suite 200</item>
          <item key="state">CA</item>
          <item key="email">[email protected]</item>
          <item key="city">Santa Clara</item>
          <item key="postal_code">90210</item>
          <item key="fax">+1.4165550136</item>
          <item key="address1">32 Oak Street</item>
          <item key="first_name">Bill</item>
         </dt_assoc>
        </item>
       </dt_assoc>
      </item>
      <item key="reg_domain">example2rwetw42tt4t.com</item>
      <item key="encoding_type"></item>
      <item key="custom_tech_contact">0</item>
     </dt_assoc>
    </item>
   </dt_assoc>
  </data_block>
 </body>
</OPS_envelope>

Response

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">REPLY</item>
                <item key="object">DOMAIN</item>
                <item key="is_success">1</item>
                <item key="response_code">200</item>
                <item key="response_text">Domain registration successfully completed.</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="registration_code">435</item>
                        <item key="id">3735283</item>
                        <item key="forced_pending">3735283</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

Example 3

About this example:

  • This is a new domain name registration.
  • No custom tech contact is set.
  • DNS is enabled but no records are defined.

Request

<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
 <header>
  <version>0.9</version>
  </header>
 <body>
  <data_block>
   <dt_assoc>
    <item key="protocol">XCP</item>
    <item key="object">DOMAIN</item>
    <item key="action">SW_REGISTER</item>
    <item key="attributes">
     <dt_assoc>
      <item key="f_parkp">Y</item>
      <item key="reg_username">daniel</item>
      <item key="reg_password">sadfl222ksdflsdkjf</item>
      <item key="dns_template">*blank*</item>
      <item key="affiliate_id"></item>
      <item key="auto_renew"></item>
      <item key="domain">example.com</item>
      <item key="reg_type">new</item>

      <item key="f_whois_privacy">1</item>
      <item key="period">1</item>
      <item key="link_domains">0</item>
      <item key="custom_nameservers">1</item>
      <item key="f_lock_domain">1</item>
      <item key="reg_domain"></item>
      <item key="encoding_type"></item>
      <item key="custom_tech_contact">0</item>
      <item key="contact_set">
       <dt_assoc>
        <item key="owner">
         <dt_assoc>
          <item key="country">US</item>
          <item key="address3">Owner</item>
          <item key="org_name">Example Inc.</item>
          <item key="phone">+1.4165550123x1902</item>
          <item key="last_name">Ottway</item>
          <item key="address2">Suite 500</item>
          <item key="state">CA</item>
          <item key="email">[email protected]</item>
          <item key="city">SomeCity</item>
          <item key="postal_code">90210</item>
          <item key="fax">+1.4165550124</item>
          <item key="address1">32 Oak Street</item>
          <item key="first_name">Owen</item>
         </dt_assoc>
        </item>
        <item key="admin">
         <dt_assoc>
          <item key="country">US</item>
          <item key="address3">Admin</item>
          <item key="org_name">Example Inc.</item>
          <item key="phone">+1.4165550123x1812</item>
          <item key="last_name">Adams</item>
          <item key="address2">Suite 100</item>
          <item key="state">CA</item>
          <item key="email">[email protected]</item>
          <item key="city">Santa Clara</item>
          <item key="postal_code">90210</item>
          <item key="fax">+1.4165550125</item>
          <item key="address1">32 Oak Street</item>
          <item key="first_name">Adler</item>
         </dt_assoc>
        </item>
        <item key="billing">
         <dt_assoc>
          <item key="country">US</item>
          <item key="address3">Billing</item>
          <item key="org_name">Example Inc.</item>
          <item key="phone">+1.4165550123x1248</item>
          <item key="last_name">Burton</item>
          <item key="address2">Suite 200</item>
          <item key="state">CA</item>
          <item key="email">[email protected]</item>
          <item key="city">Santa Clara</item>
          <item key="postal_code">90210</item>
          <item key="fax">+1.4165550136</item>
          <item key="address1">32 Oak Street</item>
          <item key="first_name">Bill</item>
         </dt_assoc>
        </item>
       </dt_assoc>
      </item>

     </dt_assoc>
    </item>
   </dt_assoc>
  </data_block>
 </body>
</OPS_envelope>

Response

<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">Domain registration successfully completed
Domain successfully locked.
Whois Privacy successfully enabled.</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="admin_email">[email protected]</item>
                        <item key="registration_text">Domain registration successfully completed
Domain successfully locked.
Whois Privacy successfully enabled.</item>
                        <item key="registration_code">200</item>
                        <item key="id">177411</item>
                    </dt_assoc>
                </item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

What’s Next