CINXE.COM
CoCCA FAQ
<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>CoCCA FAQ</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link href="https://fonts.googleapis.com/css?family=Nunito+Sans:300,400,600,700,800,900" rel="stylesheet"> <link rel="stylesheet" href="cocca-global.css"> <link rel="stylesheet" href="cocca-doc.css"> </head> <body> <div class="wrapper"> <aside class="doc__nav"> <h1 class="logo"><a href="https://cocca.org.nz/srs">CoCCA<span class="logo__thin"></span></a></h1> <ul> <li class="js-btn selected">EPP Balance</li> <li class="js-btn">EPP Restore</li> </ul> </aside> <article class="doc__content"> <section class="js-section"> <h3 class="section__title">EPP Balance</h3> <h3>How do I check my available balance over EPP ?</h3> <p>The simplest ( and <b>recomended</b> ) method is to use the finance extension. Note: This is a bespoke, non-rfc extension. The RESPONSE is TLD | CURRENCY | BALANCE.</P> <p>As an alternative method, CoCCA supports the Registry Fee Extension <a href="https://www.rfc-editor.org/rfc/rfc8748.html" targt="8748" style="color:blue"> rfc8748</a>. <p><b>Finance Extension - Balance Client REQUEST</b></p> <table><tr><td> <pre ><code style="font-weight: lighter"><?xml version="1.0" encoding="UTF-8" standalone="no"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <command> <span style="color:green"><info> <finance:info xmlns:finance="https://finance.coccaregistry.org"> </finance:info> </info></span> <clTRID>CoCCATest</clTRID> </command> </epp> </code></pre> </td></tr></table> <p><b>Finance Extension - Balance Server RESPONSE</b></p> <table><tr><td> <pre ><code style="font-weight: lighter"><?xml version="1.0" encoding="utf-8"?> <epp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn<br>:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd" xmlns="urn:ietf:params:xml:ns:epp-1.0"> <response> <result code="1000"> <msg>Command completed successfully</msg> </result> <resData> <span style="color:green"><finance:infData xmlns:finance="https://finance.coccaregistry.org"> <finance:balance>LAB|EUR|18.00</finance:balance> <finance:balance>OTE|USD|90.00</finance:balance> </finance:infData></span> </resData> <trID> <clTRID>CoCCATest</clTRID> <svTRID>2e438303-259a-4bdc-b0de-e7d62c4b1477:2</svTRID> </trID> </response> </epp></code></pre> </td></tr></table> <hr> <p><b>Alternative Method, rfc8748 - Fees Extension ( client REQUEST - renew )</b></p> <p>See more examples in <a href="https://datatracker.ietf.org/doc/html/rfc8748" target="8748" style="color:blue">https://datatracker.ietf.<wbr>org/doc/html/rfc8748</a></p> <p>Any EPP Domain CHECK, CREATE, UPDATE, DELETE, RENEW command that includes the fee extension tag will return the currency, fee, balance and credit limit.</p> <table><tr><td> <pre ><code style="font-weight: lighter"><?xml version="1.0" encoding="UTF-8" standalone="no"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd"> <command> <renew> <domain:renew xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd"> <domain:name>test90nepp22.ote</domain:name> <domain:curExpDate>2023-04-11</domain:curExpDate> <domain:period unit="y">1</domain:period> </domain:renew> </renew> <span style="color:green"><extension> <fee:renew xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> <fee:currency>USD</fee:currency> <fee:fee>5.00</fee:fee> </fee:renew> </extension></span> <clTRID>ABC-12345</clTRID> </command> </epp> </code></pre> </td></tr></table> <hr> <p><b>Alternative Method, rfc8748 - Fees Extension ( server RESPONSE - renew )</b></p> <table><tr><td> <pre ><code style="font-weight: lighter"><?xml version="1.0" encoding="UTF-8"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd"> <response> <result code="1000"><msg>Command completed successfully</msg></result> <msgQ count="1" id="2549253"/> <resData> <domain:renData xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd"> <domain:name>test90nepp22.ote</domain:name> <domain:exDate>2024-04-11T22:00:00.000Z</domain:exDate> </domain:renData> </resData> <span style="color:green"><extension> <fee:renData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> <fee:currency>USD</fee:currency> <fee:fee grace-period="P5D">1.00</fee:fee> <fee:balance>20246.39</fee:balance> <fee:creditLimit>0.00</fee:creditLimit> </fee:renData> </extension></span> <trID> <clTRID>ABC-12345</clTRID> <svTRID>1658914294415</svTRID> </trID> </response> </epp> </code></pre> </td></tr></table> </section> <section class="js-section"> <h3 class="section__title">EPP Restore</h3> <b>How do I Re-Activate a domain that is in a ‘pendingDelete’ state?</b> <p>When a domain with a status of redemptionPeriod + pendingDelete is restored via EPP, the registrar must also submit a Restore Report. Upon receipt of a Report, the restrictive statuses will be removed. A restore request made via the web portal automatically appends the required Restore Report.</p> <p><font style="color: darkred; font-style: normal">If no Restore Report is provided, the domain will have a new status - pendingRestore, the request will need to be manually approved by the registry administrator. A domain with a pendingRestore status will NOT be included the zone.</font></p> </p> <p>Note: Restore does not automatically renew a domain, depending on your client preferences, you may need to also submit a renew request. If an expired domain with a redemptionPeriod + pendingDelete status is restored but <b>not renewed</b>, the registry automation may set the status back to redemptionPeriod + pendingDelete status within 24 hours.</p> <p>Restore request example</p> <table><tr><td> <div><pre><code style="font-weight: lighter"><span class="cp"><?xml version='1.0' encoding='UTF-8'?></span> <span class="nt"><epp</span> <span class="na">xmlns=</span><span class="s">"urn:ietf:params:xml:ns:epp-1.0"</span><span class="nt">></span> <span class="nt"><command></span> <span class="nt"><update></span> <span class="nt"><domain:update</span> <span class="na">xmlns:domain=</span><span class="s">"urn:ietf:params:xml:ns:domain-1.0"</span> <span class="nt"><domain:name></span>testdomain3.lab<span class="nt"></domain:name></span> <span class="nt"><domain:chg/></span> <span class="nt"></domain:update></span> <span class="nt"></update></span> <span class="nt"><extension></span> <span class="nt"><rgp:update</span> <span class="na">xmlns:rgp=</span><span class="s">"urn:ietf:params:xml:ns:rgp-1.0"</span> <span class="nt"><rgp:restore</span><span class="s">"request"</span><span class="nt">/></span> <span class="nt"></rgp:update></span> <span class="nt"></extension></span> <span class="nt"><clTRID></span>ABC-12345<span class="nt"></clTRID></span> <span class="nt"></command></span> <span class="nt"></epp></span> </pre></code></div> </td></tr></table> <p>Restore report example</p> <table><tr><td> <div><pre><code style="font-weight: lighter"><span class="cp"><?xml version='1.0' encoding='UTF-8'?></span> <span class="nt"><epp</span> <span class="na">xmlns=</span><span class="s">"urn:ietf:params:xml:ns:epp-1.0"</span><span class="nt">></span> <span class="nt"><command></span> <span class="nt"><update></span> <span class="nt"><domain:update</span> <span class="na">xmlns:domain=</span>"urn:ietf:params:xml:ns:domain-1.0"</span><span class="nt">></span> <span class="nt"><domain:name></span>testdomain3.lab<span class="nt"></domain:name></span> <span class="nt"><domain:chg/></span> <span class="nt"></domain:update></span> <span class="nt"></update></span> <span class="nt"><extension></span> <span class="nt"><rgp:update</span> <span class="na">xmlns:rgp=</span><span class="s">"urn:ietf:params:xml:ns:rgp-1.0"</span><span class="nt">></span> <span class="nt"><rgp:restore</span> <span class="na">op=</span><span class="s">"report"</span><span class="nt">></span> <span class="nt"><rgp:report></span> <span class="nt"><rgp:preData></span>Pre-delete registration data.<span class="nt"></rgp:preData></span> <span class="nt"><rgp:postData></span>Post-restore registration data.<span class="nt"></rgp:postData></span> <span class="nt"><rgp:delTime></span>2003-07-10T22:00:00.0Z<span class="nt"></rgp:delTime></span> <span class="nt"><rgp:resTime></span>2003-07-20T22:00:00.0Z<span class="nt"></rgp:resTime></span> <span class="nt"><rgp:resReason></span>Registrant error.<span class="nt"></rgp:resReason></span> <span class="nt"><rgp:statement></span>This registrar has not restored ...<span class="nt"></rgp:statement></span> <span class="nt"><rgp:statement></span>The information in this report is ...<span class="nt"></rgp:statement></span> <span class="nt"><rgp:other></span>Supporting information ...<span class="nt"></rgp:other></span> <span class="nt"></rgp:report></span> <span class="nt"></rgp:restore></span> <span class="nt"></rgp:update></span> <span class="nt"></extension></span> <span class="nt"></command></span> <span class="nt"></epp></span> </pre></code></div> </div> </td></tr></table> </section> </div> <footer class="footer"><font style="font-style: normal; color:darkgray"></font>CoCCA Registry Services (NZ) Limited | NZBN 9429032414714</font></footer> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script> <script>hljs.initHighlightingOnLoad();</script> <script src="cocca.js"></script> </body> </html>