How do premium promotions look like through EPP?

When a registry operator does a promotion on premium names, and it's a discount (% or amount off) then our EPP service returns both the original premium price and the amount that will be deducted as a negative.

This is best described with an example

The promotion

Let's take an example domain with the following premium pricing:

domain registration price renewal price restore fee currency
EXAMPLE.DOMAIN
50.00 50.00 50.00 USD

 

We'll be doing a promotion that takes 50% off of the registration fee for premium domains.

NOTE: The example would also be valid for a $25.00 fixed amount discount

 

Request frame

<?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">
<command>
<check>
<domain:checkxmlns: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>EXAMPLE.DOMAIN</domain:name>
</domain:check>
</check>
<extension>
<fee:checkxmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
<fee:domain>
<fee:name>EXAMPLE.DOMAIN</fee:name>
<fee:currency>USD</fee:currency>
<fee:command>transfer</fee:command>
<fee:periodunit="y">1</fee:period>
</fee:domain>
<fee:domain>
<fee:name>EXAMPLE.DOMAIN</fee:name>
<fee:currency>USD</fee:currency>
<fee:command>renew</fee:command>
<fee:periodunit="y">1</fee:period>
</fee:domain>
<fee:domain>
<fee:name>EXAMPLE.DOMAIN</fee:name>
<fee:currency>USD</fee:currency>
<fee:command>create</fee:command>
<fee:periodunit="y">1</fee:period>
</fee:domain>
</fee:check>
</extension>
<clTRID>62L4YAAAAABZ</clTRID>
</command>
</epp>

Response frame

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<response>
<result code="1000">
<msg>Command completed successfully.</msg>
</result>
<resData>
<domain:chkData xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"><domain:cd>
<domain:name avail="1">EXAMPLE.DOMAIN</domain:name></domain:cd></domain:chkData></resData>
<extension>
<fee:chkData xmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
<fee:cd>
<fee:name>EXAMPLE.DOMAIN</fee:name>
<fee:currency>USD</fee:currency>
<fee:command>transfer</fee:command>
<fee:period unit="y">1</fee:period>
<fee:fee description="Renewal Fee" refundable="1" grace-period="P5D">50.00</fee:fee>
<fee:class>premium</fee:class></fee:cd>
<fee:cd>
<fee:name>EXAMPLE.DOMAIN</fee:name>
<fee:currency>USD</fee:currency>
<fee:command>renew</fee:command>
<fee:period unit="y">1</fee:period>
<fee:fee description="Renewal Fee" refundable="1" grace-period="P5D">50.00</fee:fee>
<fee:class>premium</fee:class></fee:cd>
<fee:cd>
<fee:name>EXAMPLE.DOMAIN</fee:name>
<fee:currency>USD</fee:currency>
<fee:command>create</fee:command>
<fee:period unit="y">1</fee:period>
<fee:fee description="Premium Registration Fee" refundable="1" grace-period="P5D">50.00</fee:fee>
<fee:fee description="Premium Flash Sale 50% off" refundable="1" grace-period="P5D">-25.00</fee:fee>
<fee:class>premium</fee:class></fee:cd></fee:chkData>
</extension>
<trID>
<clTRID>62L4YAAAAABZ</clTRID><svTRID>CNIC-E0882E256B62A6CE471E8A16F94EFDC5A4CC03D12BD5DD3064F1E9552C3</svTRID>
</trID>
</response>
</epp>
Was this article helpful?
0 out of 0 found this helpful