.. _epp-domain-transfer: Transfer ======== | EPP ```` command allows a client to manage requests to transfer the sponsorship of a domain name. `RFC-3731 `__ **There are some restrictions regarding domain name transfer:** * ``serverTransferProhibited`` - Status that is set when a new domain name is registered and persists until the end of the next month. Also is set for existing domains every year during the expiration month (while domain is included in an active bill). * ``domain:pw`` - Authentication key is valid only for 7 days. New key will be generated using ``domain:info`` command or You can create Your own key using ``domain:update`` command. .. note:: In order to test ```` command, :ref:`see sandbox documentation here! ` Transfer REQUEST operation. --------------------------- | ``Request`` operation is only used by gaining registrars. | This operation is used to initiate sponsoring registrar change for a domain name. | Domain nameserver technical records will remain unchanged, unless instructed otherwise by ```` extension (second example below). | Transfer requests will be automatically approved if the losing side (current registrar) will not respond (accept or reject the request) within 5 days. **Client request example:** .. code-block :: xml transfer-accept-testuser-1.lv transfer-accept-testuser-1.lv 5de52339104fa **Client request and host transfer example:** .. code-block :: xml transfer-accept-testuser-1.lv transfer-accept-testuser-1.lv ns3.dns.lv ns4.dns.lv 5de52339104fa **Server response example:** Success: .. code-block :: xml Command completed successfully 5de52339104fa LVNIC-20191202-31b3c6c4fc6f3119757ec5605410c28a-2 Invalid auth code: .. code-block :: xml Authorization code is not valid 5de52339104fa LVNIC-20191202-b18585d4c1e5c33d663a2a7e34ce73f4-2 Transfer informative QUERY operation. ------------------------------------- | ``Query`` operation can be used by both gaining and losing registrar. | This operation is used to gain information about Transfer status. **Client request example:** .. code-block :: xml transfer-accept-ignored-4.lv 5de532c118a31 **Server response example:** .. code-block :: xml Command completed successfully transfer-accept-ignored-4.lv pending TestUser2 2019-12-02T16:44:09+02:00 TestUser 2019-12-08T00:00:00+02:00 5de532c118a31 LVNIC-20191202-478047c152ec417a80a945e7930b5294-2 Transfer CANCEL operation. -------------------------- | ``Cancel`` operation is only used by gaining registrar. | This operation cancels already requested transfer, see ``Transfer REQUEST operation.`` | If ``Cancel`` operation has been executed, then a new ``auth code`` is created. **Client request example:** .. code-block :: xml transfer-ignored-testuser-5.lv 5de53a27ccdd2 **Server response example:** .. code-block :: xml Command completed successfully 5de53a27ccdd2 LVNIC-20191202-84f9309bf1612ea08c39e0986c45e1ae-2 Transfer APPROVE operation. --------------------------- | ``Approve`` operation is only used by losing registrar. | This operation approves requested domain transfer. **Client request example:** .. code-block :: xml transfer-away-testuser-4.lv 5de53b2778e47 **Server response example:** .. code-block :: xml Command completed successfully 5de53b2778e47 LVNIC-20191202-84f9309bf1612ea08c39e0986c45e1ae-2 Transfer REJECT operation. -------------------------- | ``Reject`` operation is only used by losing registrar. | This operation rejects requested domain transfer, e.g., Evidence of fraud. **Client request example:** .. code-block :: xml transfer-away-idn-ļā-testuser-4.lv 5de53a72cd42e **Server response example:** .. code-block :: xml Command completed successfully 5de53a72cd42e LVNIC-20191202-84f9309bf1612ea08c39e0986c45buje-2 Common server responses: ------------------------ These answers are common for ``query``, ``cancel``, ``approve`` and ``reject`` operations. Error responses will contain only ```` and ```` elements: .. code-block :: xml Not authorized to perform requested operation 5de7942318ff8 LVNIC-20191202-cef600a9987cb1636d8f219c15bdfc8e-2 | Success 1000: Command completed successfully | Error 2201: Not authorized to perform requested operation | Error 2202: Authorization code is not valid | Error 2301: Object not pending transfer | Error 2303: Object does not exist