All domain commands: (check) (create) (delete) (info) (modify) (transfer) (renew) (undelete) (privacy) (autorenew)
The domain:transfer
command transfers a domain name that is not in your portfolio into your account. To accomplish this transfer, a valid auth code is needed for the domain name.
Exactly how a domain name is transferred depends on the registry and the extension of the domain name. Some domains are transferred immediately when the request is issued and the auth code is found to be correct. Other domain extensions require a validation process where the owner of the domain name is asked if he/she agrees with this transfer. A third type of transfer is where the domain name is transferred between 2 Metaregistrar customers. These transfers also take place immediately when the auth code is found to be correct.
The transfers with extra validation can be requested, but the outcome is not immediately known. For this, use the poll
command every now and then to see if the status of the transfer has changed. The poll message received will indicate if the transfer was succesful and if the domain name is now in your portfolio.
Please check this page to see the procedure on restarting the transfer process to resend the e-mails to registrant or admin-c.
Transferring a domain name works more or less like registering a domain name, except that the domain name already exists, and an authcode is needed to transfer the domain name into your portfolio. Since the standard EPP transfer command does not have room for the extra parameters, we put them in an extension.
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
xmlns:command-ext-domain="http://www.metaregistrar.com/epp/command-ext-domain-1.0"
xmlns:command-ext="http://www.metaregistrar.com/epp/command-ext-1.0">
<command>
<transfer op="request">
<domain:transfer>
<domain:name>docu-test-case.be</domain:name>
<domain:authInfo>
<domain:pw>abded</domain:pw>
</domain:authInfo>
</domain:transfer>
</transfer>
<extension>
<command-ext:command-ext>
<command-ext-domain:domain>
<command-ext-domain:transfer>
<command-ext-domain:ns>
<command-ext-domain:hostObj>ns1.metaregistrar.com</command-ext-domain:hostObj>
<command-ext-domain:hostObj>ns2.metaregistrar.com</command-ext-domain:hostObj>
</command-ext-domain:ns>
<command-ext-domain:registrant>RP01mS4QzdukMwTuVhN45E5m</command-ext-domain:registrant>
<command-ext-domain:contact type="admin">RP01mS4QzdukMwTuVhN45E5m</command-ext-domain:contact>
<command-ext-domain:contact type="tech">RP01mS4QzdukMwTuVhN45E5m</command-ext-domain:contact>
<command-ext-domain:contact type="billing">RP01mS4QzdukMwTuVhN45E5m</command-ext-domain:contact>
</command-ext-domain:transfer>
</command-ext-domain:domain>
</command-ext:command-ext>
</extension>
<clTRID>57d2a2344bb04</clTRID>
</command>
</epp>
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns:host="urn:ietf:params:xml:ns:host-1.0" xmlns:ext="http://www.metaregistrar.com/epp/ext-1.0" xmlns:command-ext="http://www.metaregistrar.com/epp/command-ext-1.0" xmlns:command-ext-domain="http://www.metaregistrar.com/epp/command-ext-domain-1.0" xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1" xmlns:rgp="urn:ietf:params:xml:ns:rgp-1.0">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<domain:trnData>
<domain:name><![CDATA[docu-test-case-transfer.nl]]></domain:name>
<domain:trStatus><![CDATA[serverApproved]]></domain:trStatus>
<domain:reID><![CDATA[mtrewoutdg]]></domain:reID>
<domain:reDate><![CDATA[2016-09-09T14:08:20.756130+0000]]></domain:reDate>
<domain:acID><![CDATA[mtrewoutdg]]></domain:acID>
</domain:trnData>
</resData>
<trID>
<svTRID>MTR_d5034eebd1be3a1afd2c8b5f5fd0aea5c20dfdf7</svTRID>
<clTRID>57d2c2531c93a</clTRID>
</trID>
</response>
</epp>
The domain:trStatus
field will tell you the actual status of the transfer. serverApproved
means the transfer is complete, but pending
means you have to expect a poll message when the transfer is complete.
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns:host="urn:ietf:params:xml:ns:host-1.0" xmlns:ext="http://www.metaregistrar.com/epp/ext-1.0" xmlns:command-ext="http://www.metaregistrar.com/epp/command-ext-1.0" xmlns:command-ext-domain="http://www.metaregistrar.com/epp/command-ext-domain-1.0" xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1" xmlns:rgp="urn:ietf:params:xml:ns:rgp-1.0">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<domain:trnData>
<domain:name><![CDATA[docu-test-transfer.frl]]></domain:name>
<domain:trStatus><![CDATA[pending]]></domain:trStatus>
<domain:reID><![CDATA[mtrewoutdg]]></domain:reID>
<domain:reDate><![CDATA[2016-09-09T14:41:46.852844+0000]]></domain:reDate>
<domain:acID><![CDATA[mtrewoutdg]]></domain:acID>
</domain:trnData>
</resData>
<trID>
<svTRID>MTR_591435f820e372f80695c04cf10694245b2f9ef7</svTRID>
<clTRID>57d2ca2a7a646</clTRID>
</trID>
</response>
</epp>