Difference between revisions of "RFC8748"

From RFC-Wiki
(Created page with " Internet Engineering Task Force (IETF) R. Carney Request for Comments: 8748 GoDaddy Inc. Category: Standards Tr...")
 
Line 1: Line 1:
 

 

 
 
  
 
Internet Engineering Task Force (IETF)                        R. Carney
 
Internet Engineering Task Force (IETF)                        R. Carney
Line 7: Line 5:
 
Category: Standards Track                                      G. Brown
 
Category: Standards Track                                      G. Brown
 
ISSN: 2070-1721                                    CentralNic Group plc
 
ISSN: 2070-1721                                    CentralNic Group plc
                                                              J. Frakes
+
                                                            J. Frakes
                                                              March 2020
+
                                                          March 2020
 
 
  
 
  Registry Fee Extension for the Extensible Provisioning Protocol (EPP)
 
  Registry Fee Extension for the Extensible Provisioning Protocol (EPP)
Line 15: Line 12:
 
Abstract
 
Abstract
  
  Given the expansion of the DNS namespace and the proliferation of
+
Given the expansion of the DNS namespace and the proliferation of
  novel business models, it is desirable to provide a method for
+
novel business models, it is desirable to provide a method for
  Extensible Provisioning Protocol (EPP) clients to query EPP servers
+
Extensible Provisioning Protocol (EPP) clients to query EPP servers
  for the fees and credits associated with various billable
+
for the fees and credits associated with various billable
  transactions and provide expected fees and credits for certain
+
transactions and provide expected fees and credits for certain
  commands and objects.  This document describes an EPP extension
+
commands and objects.  This document describes an EPP extension
  mapping for registry fees.
+
mapping for registry fees.
  
 
Status of This Memo
 
Status of This Memo
  
  This is an Internet Standards Track document.
+
This is an Internet Standards Track document.
  
  This document is a product of the Internet Engineering Task Force
+
This document is a product of the Internet Engineering Task Force
  (IETF).  It represents the consensus of the IETF community.  It has
+
(IETF).  It represents the consensus of the IETF community.  It has
  received public review and has been approved for publication by the
+
received public review and has been approved for publication by the
  Internet Engineering Steering Group (IESG).  Further information on
+
Internet Engineering Steering Group (IESG).  Further information on
  Internet Standards is available in Section 2 of RFC 7841.
+
Internet Standards is available in Section 2 of RFC 7841.
  
  Information about the current status of this document, any errata,
+
Information about the current status of this document, any errata,
  and how to provide feedback on it may be obtained at
+
and how to provide feedback on it may be obtained at
  https://www.rfc-editor.org/info/rfc8748.
+
https://www.rfc-editor.org/info/rfc8748.
  
 
Copyright Notice
 
Copyright Notice
  
  Copyright (c) 2020 IETF Trust and the persons identified as the
+
Copyright (c) 2020 IETF Trust and the persons identified as the
  document authors.  All rights reserved.
+
document authors.  All rights reserved.
  
  This document is subject to BCP 78 and the IETF Trust's Legal
+
This document is subject to BCP 78 and the IETF Trust's Legal
  Provisions Relating to IETF Documents
+
Provisions Relating to IETF Documents
  (https://trustee.ietf.org/license-info) in effect on the date of
+
(https://trustee.ietf.org/license-info) in effect on the date of
  publication of this document.  Please review these documents
+
publication of this document.  Please review these documents
  carefully, as they describe your rights and restrictions with respect
+
carefully, as they describe your rights and restrictions with respect
  to this document.  Code Components extracted from this document must
+
to this document.  Code Components extracted from this document must
  include Simplified BSD License text as described in Section 4.e of
+
include Simplified BSD License text as described in Section 4.e of
  the Trust Legal Provisions and are provided without warranty as
+
the Trust Legal Provisions and are provided without warranty as
  described in the Simplified BSD License.
+
described in the Simplified BSD License.
  
 
Table of Contents
 
Table of Contents
  
  1.  Introduction
+
1.  Introduction
    1.1.  Conventions Used in This Document
+
  1.1.  Conventions Used in This Document
  2.  Migrating to Newer Versions of This Extension
+
2.  Migrating to Newer Versions of This Extension
  3.  Extension Elements
+
3.  Extension Elements
    3.1.  Client Commands
+
  3.1.  Client Commands
    3.2.  Currency Codes
+
  3.2.  Currency Codes
    3.3.  Validity Periods
+
  3.3.  Validity Periods
    3.4.  Fees and Credits
+
  3.4.  Fees and Credits
      3.4.1.  Refunds
+
    3.4.1.  Refunds
      3.4.2.  Grace Periods
+
    3.4.2.  Grace Periods
      3.4.3.  Correlation between Refundability and Grace Periods
+
    3.4.3.  Correlation between Refundability and Grace Periods
      3.4.4.  Applicability
+
    3.4.4.  Applicability
    3.5.  Account Balance
+
  3.5.  Account Balance
    3.6.  Credit Limit
+
  3.6.  Credit Limit
    3.7.  Classification of Objects
+
  3.7.  Classification of Objects
    3.8.  "Phase" and "Subphase" Attributes
+
  3.8.  "Phase" and "Subphase" Attributes
    3.9.  Reason
+
  3.9.  Reason
  4.  Server Handling of Fee Information
+
4.  Server Handling of Fee Information
  5.  EPP Command Mapping
+
5.  EPP Command Mapping
    5.1.  EPP Query Commands
+
  5.1.  EPP Query Commands
      5.1.1.  EPP <check> Command
+
    5.1.1.  EPP <check> Command
      5.1.2.  EPP Transfer Query Command
+
    5.1.2.  EPP Transfer Query Command
    5.2.  EPP Transform Commands
+
  5.2.  EPP Transform Commands
      5.2.1.  EPP <create> Command
+
    5.2.1.  EPP <create> Command
      5.2.2.  EPP <delete> Command
+
    5.2.2.  EPP <delete> Command
      5.2.3.  EPP <renew> Command
+
    5.2.3.  EPP <renew> Command
      5.2.4.  EPP <transfer> Command
+
    5.2.4.  EPP <transfer> Command
      5.2.5.  EPP <update> Command
+
    5.2.5.  EPP <update> Command
  6.  Formal Syntax
+
6.  Formal Syntax
    6.1.  Fee Extension Schema
+
  6.1.  Fee Extension Schema
  7.  Security Considerations
+
7.  Security Considerations
  8.  IANA Considerations
+
8.  IANA Considerations
    8.1.  XML Namespace
+
  8.1.  XML Namespace
    8.2.  EPP Extension Registry
+
  8.2.  EPP Extension Registry
  9.  References
+
9.  References
    9.1.  Normative References
+
  9.1.  Normative References
    9.2.  Informative References
+
  9.2.  Informative References
  Acknowledgements
+
Acknowledgements
  Authors' Addresses
+
Authors' Addresses
  
1.  Introduction
+
== Introduction ==
  
  Historically, domain name registries have applied a simple fee
+
Historically, domain name registries have applied a simple fee
  structure for billable transactions, namely a basic unit price
+
structure for billable transactions, namely a basic unit price
  applied to domain <create>, <renew>, <transfer>, and Redemption Grace
+
applied to domain <create>, <renew>, <transfer>, and Redemption Grace
  Period (RGP) [RFC3915] restore commands.  Given the relatively small
+
Period (RGP) [RFC3915] restore commands.  Given the relatively small
  number of EPP servers to which EPP clients have been required to
+
number of EPP servers to which EPP clients have been required to
  connect, it has generally been the case that client operators have
+
connect, it has generally been the case that client operators have
  been able to obtain details of these fees out of band by contacting
+
been able to obtain details of these fees out of band by contacting
  the server operators.
+
the server operators.
  
  Given the expansion of the DNS namespace and the proliferation of
+
Given the expansion of the DNS namespace and the proliferation of
  novel business models, it is desirable to provide a method for EPP
+
novel business models, it is desirable to provide a method for EPP
  clients to query EPP servers for the fees and credits associated with
+
clients to query EPP servers for the fees and credits associated with
  various billable transactions and certain commands and specific
+
various billable transactions and certain commands and specific
  objects.
+
objects.
  
  This document describes an extension mapping for version 1.0 of the
+
This document describes an extension mapping for version 1.0 of the
  Extensible Provisioning Protocol (EPP) [RFC5730].  This EPP mapping
+
Extensible Provisioning Protocol (EPP) [RFC5730].  This EPP mapping
  provides a mechanism by which EPP clients may query the fees and
+
provides a mechanism by which EPP clients may query the fees and
  credits associated with various billable transactions and obtain
+
credits associated with various billable transactions and obtain
  their current account balance.
+
their current account balance.
  
1.1.  Conventions Used in This Document
+
=== Conventions Used in This Document ===
  
  The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
+
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
  "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
+
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
  "OPTIONAL" in this document are to be interpreted as described in
+
"OPTIONAL" in this document are to be interpreted as described in
  BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all
+
BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all
  capitals, as shown here.
+
capitals, as shown here.
  
  XML is case sensitive.  Unless stated otherwise, the XML
+
XML is case sensitive.  Unless stated otherwise, the XML
  specifications and examples provided in this document MUST be
+
specifications and examples provided in this document MUST be
  interpreted in the character case presented in order to develop a
+
interpreted in the character case presented in order to develop a
  conforming implementation.
+
conforming implementation.
  
  "fee" is used as an abbreviation for "urn:ietf:params:xml:ns:epp:fee-
+
"fee" is used as an abbreviation for "urn:ietf:params:xml:ns:epp:fee-
  1.0".  The XML namespace prefix "fee" is used, but implementations
+
1.0".  The XML namespace prefix "fee" is used, but implementations
  MUST NOT depend on it and instead employ a proper namespace-aware XML
+
MUST NOT depend on it and instead employ a proper namespace-aware XML
  parser and serializer to interpret and output the XML documents.
+
parser and serializer to interpret and output the XML documents.
  
  In the examples, "C:" represents lines sent by a protocol client, and
+
In the examples, "C:" represents lines sent by a protocol client, and
  "S:" represents lines returned by a protocol server.  Indentation and
+
"S:" represents lines returned by a protocol server.  Indentation and
  white space in the examples are provided only to illustrate element
+
white space in the examples are provided only to illustrate element
  relationships and are not a required feature of this protocol.
+
relationships and are not a required feature of this protocol.
  
2.  Migrating to Newer Versions of This Extension
+
== Migrating to Newer Versions of This Extension ==
  
  Servers that implement this extension SHOULD provide a way for
+
Servers that implement this extension SHOULD provide a way for
  clients to progressively update their implementations when a new
+
clients to progressively update their implementations when a new
  version of the extension is deployed.
+
version of the extension is deployed.
  
  Servers SHOULD (for a temporary migration period) provide support for
+
Servers SHOULD (for a temporary migration period) provide support for
  older versions of the extension in parallel to the newest version and
+
older versions of the extension in parallel to the newest version and
  allow clients to select their preferred version via the
+
allow clients to select their preferred version via the
  <svcExtension> element of the <login> command.
+
<svcExtension> element of the <login> command.
  
  If a client requests multiple versions of the extension at login,
+
If a client requests multiple versions of the extension at login,
  then, when preparing responses to commands that do not include
+
then, when preparing responses to commands that do not include
  extension elements, the server SHOULD only include extension elements
+
extension elements, the server SHOULD only include extension elements
  in the namespace of the newest version of the extension requested by
+
in the namespace of the newest version of the extension requested by
  the client.
+
the client.
  
  When preparing responses to commands that do include extension
+
When preparing responses to commands that do include extension
  elements, the server SHOULD only include extension elements for the
+
elements, the server SHOULD only include extension elements for the
  extension versions present in the command.
+
extension versions present in the command.
  
3.  Extension Elements
+
== Extension Elements ==
  
3.1.  Client Commands
+
=== Client Commands ===
  
  The <fee:command> element is used in the EPP <check> command to
+
The <fee:command> element is used in the EPP <check> command to
  determine the fee that is applicable to the given command.
+
determine the fee that is applicable to the given command.
  
  The "name" attribute of the <fee:command> is used to define which
+
The "name" attribute of the <fee:command> is used to define which
  transform fees the client is requesting information about.  The
+
transform fees the client is requesting information about.  The
  possible values for the "name" attribute are:
+
possible values for the "name" attribute are:
  
  *  "create", indicating a <create> command as defined in [RFC5730].
+
*  "create", indicating a <create> command as defined in [RFC5730].
  
  *  "delete", indicating a <delete> command as defined in [RFC5730].
+
*  "delete", indicating a <delete> command as defined in [RFC5730].
  
  *  "renew", indicating a <renew> command as defined in [RFC5730].
+
*  "renew", indicating a <renew> command as defined in [RFC5730].
  
  *  "update", indicating a <update> command as defined in [RFC5730].
+
*  "update", indicating a <update> command as defined in [RFC5730].
  
  *  "transfer", indicating a <transfer> command as defined in
+
*  "transfer", indicating a <transfer> command as defined in
      [RFC5730].
+
  [RFC5730].
  
  *  If the server supports registry grace period mapping [RFC3915],
+
*  If the server supports registry grace period mapping [RFC3915],
      then the server MUST also support the "restore" value as defined
+
  then the server MUST also support the "restore" value as defined
      in [RFC3915].
+
  in [RFC3915].
  
  *  "custom", indicating a custom command that MUST set the
+
*  "custom", indicating a custom command that MUST set the
      "customName" attribute with a custom command name.  The possible
+
  "customName" attribute with a custom command name.  The possible
      set of custom command name values is dictated by the server
+
  set of custom command name values is dictated by the server
      policy.
+
  policy.
  
  The <fee:command> element MAY have an OPTIONAL "phase" attribute
+
The <fee:command> element MAY have an OPTIONAL "phase" attribute
  specifying a launch phase as described in [RFC8334].  It may also
+
specifying a launch phase as described in [RFC8334].  It may also
  contain an OPTIONAL "subphase" attribute identifying the custom or
+
contain an OPTIONAL "subphase" attribute identifying the custom or
  subphase as described in [RFC8334].
+
subphase as described in [RFC8334].
  
3.2.  Currency Codes
+
=== Currency Codes ===
  
  The <fee:currency> element is used to indicate the currency in which
+
The <fee:currency> element is used to indicate the currency in which
  fees are charged.  The value of this element MUST be a three-
+
fees are charged.  The value of this element MUST be a three-
  character currency code from [ISO4217_2015].
+
character currency code from [ISO4217_2015].
  
  Note that [ISO4217_2015] provides the special "XXX" code, which MAY
+
Note that [ISO4217_2015] provides the special "XXX" code, which MAY
  be used if the server uses a non-currency-based system for assessing
+
be used if the server uses a non-currency-based system for assessing
  fees, such as a system of credits.
+
fees, such as a system of credits.
  
  The use of <fee:currency> elements in client commands is OPTIONAL: if
+
The use of <fee:currency> elements in client commands is OPTIONAL: if
  a <fee:currency> element is not present in a command, the server MUST
+
a <fee:currency> element is not present in a command, the server MUST
  determine the currency based on the server default currency or on the
+
determine the currency based on the server default currency or on the
  client's account settings, which are agreed to by the client and
+
client's account settings, which are agreed to by the client and
  server via an out-of-band channel.  However, the <fee:currency>
+
server via an out-of-band channel.  However, the <fee:currency>
  element MUST be present in the responses.
+
element MUST be present in the responses.
  
  Servers SHOULD NOT perform a currency conversion if a client uses an
+
Servers SHOULD NOT perform a currency conversion if a client uses an
  incorrect currency code.  Servers SHOULD return a 2004 "Parameter
+
incorrect currency code.  Servers SHOULD return a 2004 "Parameter
  value range error" instead.
+
value range error" instead.
  
3.3.  Validity Periods
+
=== Validity Periods ===
  
  When querying for fee information using the <check> command, the
+
When querying for fee information using the <check> command, the
  <fee:period> element is used to indicate the validity period, which
+
<fee:period> element is used to indicate the validity period, which
  is to be added to extend the registration period of objects by the
+
is to be added to extend the registration period of objects by the
  <create>, <renew>, and <transfer> commands.  Validity periods are
+
<create>, <renew>, and <transfer> commands.  Validity periods are
  measured in years or months, with the appropriate units specified
+
measured in years or months, with the appropriate units specified
  using the "unit" attribute.  Valid values for the "unit" attribute
+
using the "unit" attribute.  Valid values for the "unit" attribute
  are "y" for years and "m" for months.  This element is derived from
+
are "y" for years and "m" for months.  This element is derived from
  the <domain:period> element described in [RFC5731].
+
the <domain:period> element described in [RFC5731].
  
  The <fee:period> element is OPTIONAL in <check> commands; if omitted,
+
The <fee:period> element is OPTIONAL in <check> commands; if omitted,
  the server MUST determine the fee(s) using the server default period.
+
the server MUST determine the fee(s) using the server default period.
  The <fee:period> element MUST be present in <check> responses.
+
The <fee:period> element MUST be present in <check> responses.
  
3.4.  Fees and Credits
+
=== Fees and Credits ===
  
  Servers that implement this extension will include elements in
+
Servers that implement this extension will include elements in
  responses that provide information about the fees and/or credits
+
responses that provide information about the fees and/or credits
  associated with a given billable transaction.  A fee will result in
+
associated with a given billable transaction.  A fee will result in
  subtracting from the Account Balance (described in Section 3.5), and
+
subtracting from the Account Balance (described in Section 3.5), and
  a credit will result in adding to the Account Balance (described in
+
a credit will result in adding to the Account Balance (described in
  Section 3.5).
+
Section 3.5).
  
  The <fee:fee> and <fee:credit> elements are used to provide this
+
The <fee:fee> and <fee:credit> elements are used to provide this
  information.  The presence of a <fee:fee> element in a response
+
information.  The presence of a <fee:fee> element in a response
  indicates a debit against the client's account balance; a
+
indicates a debit against the client's account balance; a
  <fee:credit> element indicates a credit.  A <fee:fee> element MUST
+
<fee:credit> element indicates a credit.  A <fee:fee> element MUST
  have a zero or greater (non-negative) value.  A <fee:credit> element
+
have a zero or greater (non-negative) value.  A <fee:credit> element
  MUST have a negative value.
+
MUST have a negative value.
  
  A server MAY respond with multiple <fee:fee> and <fee:credit>
+
A server MAY respond with multiple <fee:fee> and <fee:credit>
  elements in the same response.  In such cases, the net fee or credit
+
elements in the same response.  In such cases, the net fee or credit
  applicable to the transaction is the arithmetic sum of the values of
+
applicable to the transaction is the arithmetic sum of the values of
  each of the <fee:fee> and/or <fee:credit> elements.  This amount
+
each of the <fee:fee> and/or <fee:credit> elements.  This amount
  applies to the total additional validity period for the object (where
+
applies to the total additional validity period for the object (where
  applicable).
+
applicable).
  
  The following attributes are defined for the <fee:fee> element.
+
The following attributes are defined for the <fee:fee> element.
  These are described in detail below:
+
These are described in detail below:
  
  description:  an OPTIONAL attribute that provides a human-readable
+
description:  an OPTIONAL attribute that provides a human-readable
      description of the fee.  Servers should provide documentation on
+
  description of the fee.  Servers should provide documentation on
      the possible values of this attribute and their meanings.  An
+
  the possible values of this attribute and their meanings.  An
      OPTIONAL "lang" attribute MAY be present, per the language
+
  OPTIONAL "lang" attribute MAY be present, per the language
      structure in [RFC5646], to identify the language of the returned
+
  structure in [RFC5646], to identify the language of the returned
      text and has a default value of "en" (English).  If the
+
  text and has a default value of "en" (English).  If the
      "description" attribute is not present, the "lang" attribute can
+
  "description" attribute is not present, the "lang" attribute can
      be ignored.
+
  be ignored.
  
  refundable:  an OPTIONAL boolean attribute indicating whether the fee
+
refundable:  an OPTIONAL boolean attribute indicating whether the fee
      is refundable if the object is deleted.
+
  is refundable if the object is deleted.
  
  grace-period:  an OPTIONAL attribute that provides the time period
+
grace-period:  an OPTIONAL attribute that provides the time period
      during which the fee is refundable.
+
  during which the fee is refundable.
  
  applied:  an OPTIONAL attribute indicating when the fee will be
+
applied:  an OPTIONAL attribute indicating when the fee will be
      deducted from the client's account.
+
  deducted from the client's account.
  
  The <fee:credit> element can take a "description" attribute as
+
The <fee:credit> element can take a "description" attribute as
  described above.  An OPTIONAL "lang" attribute MAY be present to
+
described above.  An OPTIONAL "lang" attribute MAY be present to
  identify the language of the returned text and has a default value of
+
identify the language of the returned text and has a default value of
  "en" (English).
+
"en" (English).
  
3.4.1.  Refunds
+
==== Refunds ====
  
  <fee:fee> elements MAY have an OPTIONAL "refundable" attribute that
+
<fee:fee> elements MAY have an OPTIONAL "refundable" attribute that
  takes a boolean value.  Fees may be refunded under certain
+
takes a boolean value.  Fees may be refunded under certain
  circumstances, such as when a domain application is rejected (as
+
circumstances, such as when a domain application is rejected (as
  described in [RFC8334]) or when an object is deleted during the
+
described in [RFC8334]) or when an object is deleted during the
  relevant grace period (see Section 3.4.2).
+
relevant grace period (see Section 3.4.2).
  
  If the "refundable" attribute is omitted, then clients SHOULD NOT
+
If the "refundable" attribute is omitted, then clients SHOULD NOT
  make any assumptions about the refundability of the fee.
+
make any assumptions about the refundability of the fee.
  
3.4.2.  Grace Periods
+
==== Grace Periods ====
  
  [RFC3915] describes a system of "grace periods", which are time
+
[RFC3915] describes a system of "grace periods", which are time
  periods following a billable transaction during which, if an object
+
periods following a billable transaction during which, if an object
  is deleted, the client receives a refund.
+
is deleted, the client receives a refund.
  
  The "grace-period" attribute MAY be used to indicate the relevant
+
The "grace-period" attribute MAY be used to indicate the relevant
  grace period for a fee.  If a server implements the registry grace
+
grace period for a fee.  If a server implements the registry grace
  period extension [RFC3915], it MUST specify the grace period for all
+
period extension [RFC3915], it MUST specify the grace period for all
  relevant transactions.
+
relevant transactions.
  
  If the "grace-period" attribute is omitted, then clients SHOULD NOT
+
If the "grace-period" attribute is omitted, then clients SHOULD NOT
  make any assumptions about the grace period of the fee.
+
make any assumptions about the grace period of the fee.
  
3.4.3.  Correlation between Refundability and Grace Periods
+
==== Correlation between Refundability and Grace Periods ====
  
  If a <fee:fee> element has a "grace-period" attribute, then it MUST
+
If a <fee:fee> element has a "grace-period" attribute, then it MUST
  also be refundable, and the "refundable" attribute MUST be true.  If
+
also be refundable, and the "refundable" attribute MUST be true.  If
  the "refundable" attribute of a <fee:fee> element is false, then it
+
the "refundable" attribute of a <fee:fee> element is false, then it
  MUST NOT have a "grace-period" attribute.
+
MUST NOT have a "grace-period" attribute.
  
3.4.4.  Applicability
+
==== Applicability ====
  
  Fees may be applied immediately upon receipt of a command from a
+
Fees may be applied immediately upon receipt of a command from a
  client or may only be applied once an out-of-band process (such as
+
client or may only be applied once an out-of-band process (such as
  the processing of applications at the end of a launch phase) has
+
the processing of applications at the end of a launch phase) has
  taken place.
+
taken place.
  
  The "applied" attribute of the <fee:fee> element allows servers to
+
The "applied" attribute of the <fee:fee> element allows servers to
  indicate whether a fee will be applied immediately or whether it will
+
indicate whether a fee will be applied immediately or whether it will
  be applied at some point in the future.  This attribute takes two
+
be applied at some point in the future.  This attribute takes two
  possible values: "immediate" or "delayed".
+
possible values: "immediate" or "delayed".
  
3.5.  Account Balance
+
=== Account Balance ===
  
  The <fee:balance> element is an OPTIONAL element that MAY be included
+
The <fee:balance> element is an OPTIONAL element that MAY be included
  in server responses to transform commands.  If present, it can be
+
in server responses to transform commands.  If present, it can be
  used by the client to determine the remaining credit at the server.
+
used by the client to determine the remaining credit at the server.
  
  Whether or not the <fee:balance> is included in responses is a matter
+
Whether or not the <fee:balance> is included in responses is a matter
  of server policy.  However, if a server chooses to offer support for
+
of server policy.  However, if a server chooses to offer support for
  this element, it MUST be included in responses to all "transform" or
+
this element, it MUST be included in responses to all "transform" or
  billable commands (e.g., <create>, <renew>, <update>, <delete>,
+
billable commands (e.g., <create>, <renew>, <update>, <delete>,
  <transfer op="request">).
+
<transfer op="request">).
  
  The value of the <fee:balance> MAY be negative.  A negative balance
+
The value of the <fee:balance> MAY be negative.  A negative balance
  indicates that the server has extended a line of credit to the client
+
indicates that the server has extended a line of credit to the client
  (see Section 3.6).
+
(see Section 3.6).
  
  If a server includes a <fee:balance> element in response to transform
+
If a server includes a <fee:balance> element in response to transform
  commands, the value of the element MUST reflect the client's account
+
commands, the value of the element MUST reflect the client's account
  balance after any fees or credits associated with that command have
+
balance after any fees or credits associated with that command have
  been applied.  If the "applied" attribute of the <fee:fee> element is
+
been applied.  If the "applied" attribute of the <fee:fee> element is
  "delayed", then the <fee:balance> MUST reflect the client's account
+
"delayed", then the <fee:balance> MUST reflect the client's account
  balance without any fees or credits associated with that command.
+
balance without any fees or credits associated with that command.
  
3.6.  Credit Limit
+
=== Credit Limit ===
  
  As described above, if a server returns a response containing a
+
As described above, if a server returns a response containing a
  <fee:balance> with a negative value, then the server has extended a
+
<fee:balance> with a negative value, then the server has extended a
  line of credit to the client.  A server MAY also include in responses
+
line of credit to the client.  A server MAY also include in responses
  a <fee:creditLimit> element that indicates the maximum credit
+
a <fee:creditLimit> element that indicates the maximum credit
  available to a client.  A server MAY reject certain transactions if
+
available to a client.  A server MAY reject certain transactions if
  the absolute value of the <fee:balance> is equal to or exceeds the
+
the absolute value of the <fee:balance> is equal to or exceeds the
  value of the <fee:creditLimit> element.
+
value of the <fee:creditLimit> element.
  
  Whether or not the <fee:creditLimit> is included in responses is a
+
Whether or not the <fee:creditLimit> is included in responses is a
  matter of server policy.  However, if a server chooses to offer
+
matter of server policy.  However, if a server chooses to offer
  support for this element, it MUST be included in responses to all
+
support for this element, it MUST be included in responses to all
  "transform" commands (e.g., <create>, <renew>, <update>, <delete>,
+
"transform" commands (e.g., <create>, <renew>, <update>, <delete>,
  <transfer op="request">).
+
<transfer op="request">).
  
3.7.  Classification of Objects
+
=== Classification of Objects ===
  
  Objects may be assigned to a particular class, category, or tier,
+
Objects may be assigned to a particular class, category, or tier,
  each of which has a particular fee or set of fees associated with it.
+
each of which has a particular fee or set of fees associated with it.
  The <fee:class> element, which MAY appear in <check> and transform
+
The <fee:class> element, which MAY appear in <check> and transform
  responses, is used to indicate the classification of an object.
+
responses, is used to indicate the classification of an object.
  
  If a server makes use of this element, it should provide clients with
+
If a server makes use of this element, it should provide clients with
  a list of all the values that the element may take via an out-of-band
+
a list of all the values that the element may take via an out-of-band
  channel.  Servers MUST NOT use values that do not appear on this
+
channel.  Servers MUST NOT use values that do not appear on this
  list.
+
list.
  
  Servers that make use of this element MUST use a <fee:class> element
+
Servers that make use of this element MUST use a <fee:class> element
  with the value "standard" for all objects that are subject to the
+
with the value "standard" for all objects that are subject to the
  standard or default fee.
+
standard or default fee.
  
3.8.  "Phase" and "Subphase" Attributes
+
=== "Phase" and "Subphase" Attributes ===
  
  The <fee:command> element has two attributes, "phase" and "subphase",
+
The <fee:command> element has two attributes, "phase" and "subphase",
  that provide additional information related to a specific launch
+
that provide additional information related to a specific launch
  phase, as described in [RFC8334].  These attributes are used as
+
phase, as described in [RFC8334].  These attributes are used as
  filters that should refine the server processing.
+
filters that should refine the server processing.
  
  If the client <fee:command> contains a server-supported combination
+
If the client <fee:command> contains a server-supported combination
  of phase/subphase, the server MUST return the fee data (including the
+
of phase/subphase, the server MUST return the fee data (including the
  phase/subphase attribute(s)) for the specific combination.
+
phase/subphase attribute(s)) for the specific combination.
  
  If the client <fee:command> contains no "phase"/"subphase" attributes
+
If the client <fee:command> contains no "phase"/"subphase" attributes
  and the server has only one active phase/subphase combination, the
+
and the server has only one active phase/subphase combination, the
  server MUST return the data (including the "phase"/"subphase"
+
server MUST return the data (including the "phase"/"subphase"
  attribute(s)) of the currently active phase/subphase.
+
attribute(s)) of the currently active phase/subphase.
  
  If the client <fee:command> contains no phase/subphase attributes and
+
If the client <fee:command> contains no phase/subphase attributes and
  the server has more than one active phase/subphase combination, the
+
the server has more than one active phase/subphase combination, the
  server MUST respond with a 2003 "Required parameter missing" error.
+
server MUST respond with a 2003 "Required parameter missing" error.
  
  If the client <fee:command> contains no phase/subphase attributes and
+
If the client <fee:command> contains no phase/subphase attributes and
  the server is currently in a "quiet period" (e.g., not accepting
+
the server is currently in a "quiet period" (e.g., not accepting
  registrations or applications), the server MUST return data
+
registrations or applications), the server MUST return data
  consistent with the default general availability phase (e.g., "open"
+
consistent with the default general availability phase (e.g., "open"
  or "claims"), including the appropriate phase/subphase attribute(s).
+
or "claims"), including the appropriate phase/subphase attribute(s).
  
  If the client <fee:command> contains a phase attribute with no
+
If the client <fee:command> contains a phase attribute with no
  subphase and the server has only one active subphase (or no subphase)
+
subphase and the server has only one active subphase (or no subphase)
  of this phase, the server MUST return the data (including the phase/
+
of this phase, the server MUST return the data (including the phase/
  subphase attribute(s)) of the provided phase and currently active
+
subphase attribute(s)) of the provided phase and currently active
  subphase.
+
subphase.
  
  If the client <fee:command> contains a phase attribute with no
+
If the client <fee:command> contains a phase attribute with no
  subphase and the server has more than one active subphase combination
+
subphase and the server has more than one active subphase combination
  of this phase, the server MUST respond with a 2003 "Required
+
of this phase, the server MUST respond with a 2003 "Required
  parameter missing" error.
+
parameter missing" error.
  
  If the client <fee:command> contains a subphase with no phase
+
If the client <fee:command> contains a subphase with no phase
  attribute, the server MUST respond with a 2003 "Required parameter
+
attribute, the server MUST respond with a 2003 "Required parameter
  missing" error.
+
missing" error.
  
  If the client <fee:command> contains a phase attribute not defined in
+
If the client <fee:command> contains a phase attribute not defined in
  [RFC8334] or not supported by the server, the server MUST respond
+
[RFC8334] or not supported by the server, the server MUST respond
  with a 2004 "Parameter value range error".
+
with a 2004 "Parameter value range error".
  
  If the client <fee:command> contains a subphase attribute (or phase/
+
If the client <fee:command> contains a subphase attribute (or phase/
  subphase combination) not supported by the server, the server MUST
+
subphase combination) not supported by the server, the server MUST
  respond with a 2004 "Parameter value range error".
+
respond with a 2004 "Parameter value range error".
  
3.9.  Reason
+
=== Reason ===
  
  The <fee:reason> element is used to provide server-specific text in
+
The <fee:reason> element is used to provide server-specific text in
  an effort to better explain why a <check> command did not complete as
+
an effort to better explain why a <check> command did not complete as
  the client expected.  An OPTIONAL "lang" attribute MAY be present to
+
the client expected.  An OPTIONAL "lang" attribute MAY be present to
  identify the language, per the language structure in [RFC5646], of
+
identify the language, per the language structure in [RFC5646], of
  the returned text and has a default value of "en" (English).
+
the returned text and has a default value of "en" (English).
  
  The <fee:reason> element can be used within the server response
+
The <fee:reason> element can be used within the server response
  <fee:command> element or within the <fee:cd> element.  See
+
<fee:command> element or within the <fee:cd> element.  See
  Section 5.1.1 for details on the <fee:cd> "check data" element.
+
Section 5.1.1 for details on the <fee:cd> "check data" element.
  
  If the server cannot calculate the relevant fees because the object,
+
If the server cannot calculate the relevant fees because the object,
  command, currency, period, class, or some combination is invalid per
+
command, currency, period, class, or some combination is invalid per
  server policy, the server has two ways of handling the error
+
server policy, the server has two ways of handling the error
  processing of <fee:command> element(s):
+
processing of <fee:command> element(s):
  
  1.  Fast-fail: The server, upon error identification, MAY stop
+
1.  Fast-fail: The server, upon error identification, MAY stop
      processing <fee:command> elements and return a <fee:cd> to the
+
    processing <fee:command> elements and return a <fee:cd> to the
      client containing the <fee:objID> and a <fee:reason> element
+
    client containing the <fee:objID> and a <fee:reason> element
      detailing the reason for failure.
+
    detailing the reason for failure.
  
          S: <fee:cd avail="0">
+
      S: <fee:cd avail="0">
          S:  <fee:objID>example.xyz</fee:objID>
+
      S:  <fee:objID>example.xyz</fee:objID>
          S:  <fee:reason>Only 1 year registration periods are
+
      S:  <fee:reason>Only 1 year registration periods are
          S:  valid.</fee:reason>
+
      S:  valid.</fee:reason>
          S: </fee:cd>
+
      S: </fee:cd>
  
  2.  Partial-fail: The server, upon error identification, MAY continue
+
2.  Partial-fail: The server, upon error identification, MAY continue
      processing <fee:command> elements and return a <fee:cd> to the
+
    processing <fee:command> elements and return a <fee:cd> to the
      client containing the successfully processed <fee:command>
+
    client containing the successfully processed <fee:command>
      elements and failed <fee:command> elements.  All returned failed
+
    elements and failed <fee:command> elements.  All returned failed
      <fee:command> elements MUST have a <fee:reason> element detailing
+
    <fee:command> elements MUST have a <fee:reason> element detailing
      the reason for failure, and the server MAY additionally include a
+
    the reason for failure, and the server MAY additionally include a
      <fee:reason> element at the <fee:cd> level.
+
    <fee:reason> element at the <fee:cd> level.
  
          S: <fee:cd avail="0">
+
      S: <fee:cd avail="0">
          S:  <fee:objID>example.xyz</fee:objID>
+
      S:  <fee:objID>example.xyz</fee:objID>
          S:  <fee:command name="create">
+
      S:  <fee:command name="create">
          S:    <fee:period unit="y">2</fee:period>
+
      S:    <fee:period unit="y">2</fee:period>
          S:    <fee:reason>Only 1 year registration periods are
+
      S:    <fee:reason>Only 1 year registration periods are
          S:    valid.</fee:reason>
+
      S:    valid.</fee:reason>
          S:  </fee:command>
+
      S:  </fee:command>
          S: </fee:cd>
+
      S: </fee:cd>
  
  In either failure scenario, the server MUST set the <fee:cd> "avail"
+
In either failure scenario, the server MUST set the <fee:cd> "avail"
  attribute to false (0), and the server MUST process all objects in
+
attribute to false (0), and the server MUST process all objects in
  the client request.
+
the client request.
  
4.  Server Handling of Fee Information
+
== Server Handling of Fee Information ==
  
  Depending on the server policy, a client MAY be required to include
+
Depending on the server policy, a client MAY be required to include
  the extension elements described in this document for certain
+
the extension elements described in this document for certain
  transform commands.  Servers must provide clear documentation to
+
transform commands.  Servers must provide clear documentation to
  clients about the circumstances in which this extension must be used.
+
clients about the circumstances in which this extension must be used.
  
  The server MUST return avail="0" in its response to a <check> command
+
The server MUST return avail="0" in its response to a <check> command
  for any object in the <check> command that does not include the
+
for any object in the <check> command that does not include the
  <fee:check> extension where the server would fail a domain <create>
+
<fee:check> extension where the server would fail a domain <create>
  command when no <fee> extension is provided for that same object.
+
command when no <fee> extension is provided for that same object.
  
  If a server receives a <check> command from a client that results in
+
If a server receives a <check> command from a client that results in
  no possible fee combination, the server MUST set the "avail"
+
no possible fee combination, the server MUST set the "avail"
  attribute of the <fee:cd> element to false (0) and provide a
+
attribute of the <fee:cd> element to false (0) and provide a
  <fee:reason>.
+
<fee:reason>.
  
  If a server receives a <check> command from a client that results in
+
If a server receives a <check> command from a client that results in
  an ambiguous result (i.e., multiple possible fee combinations), the
+
an ambiguous result (i.e., multiple possible fee combinations), the
  server MUST reject the command with a 2003 "Required parameter
+
server MUST reject the command with a 2003 "Required parameter
  missing" error.
+
missing" error.
  
  If a server receives a command from a client that does not include
+
If a server receives a command from a client that does not include
  the fee extension data elements required by the server for that
+
the fee extension data elements required by the server for that
  command, then the server MUST respond with a 2003 "Required parameter
+
command, then the server MUST respond with a 2003 "Required parameter
  missing" error.
+
missing" error.
  
  If the total fee provided by the client is less than the server's own
+
If the total fee provided by the client is less than the server's own
  calculation of the fee or the server determines the currency is
+
calculation of the fee or the server determines the currency is
  inappropriate for that command, then the server MUST reject the
+
inappropriate for that command, then the server MUST reject the
  command with a 2004 "Parameter value range error".
+
command with a 2004 "Parameter value range error".
  
5.  EPP Command Mapping
+
== EPP Command Mapping ==
  
  A detailed description of the EPP syntax and semantics can be found
+
A detailed description of the EPP syntax and semantics can be found
  in [RFC5730].
+
in [RFC5730].
  
5.1.  EPP Query Commands
+
=== EPP Query Commands ===
  
  This extension does not add any elements to the EPP <poll> or <info>
+
This extension does not add any elements to the EPP <poll> or <info>
  commands or responses.
+
commands or responses.
  
5.1.1.  EPP <check> Command
+
==== EPP <check> Command ====
  
  This extension defines a new command called the Fee Check Command
+
This extension defines a new command called the Fee Check Command
  that defines additional elements for the EPP <check> command to
+
that defines additional elements for the EPP <check> command to
  provide fee information.
+
provide fee information.
  
  The command MAY contain an <extension> element, which MAY contain a
+
The command MAY contain an <extension> element, which MAY contain a
  <fee:check> element.  The <fee:check> element MAY contain one
+
<fee:check> element.  The <fee:check> element MAY contain one
  <fee:currency> element and MUST contain one or more <fee:command>
+
<fee:currency> element and MUST contain one or more <fee:command>
  elements.
+
elements.
  
  The <fee:command> element(s) MUST contain a "name" attribute (see
+
The <fee:command> element(s) MUST contain a "name" attribute (see
  Section 3.1), an OPTIONAL "phase" attribute, and an OPTIONAL
+
Section 3.1), an OPTIONAL "phase" attribute, and an OPTIONAL
  "subphase" attribute (see Section 3.8).  The <fee:command> element(s)
+
"subphase" attribute (see Section 3.8).  The <fee:command> element(s)
  MAY have the following child elements:
+
MAY have the following child elements:
  
  *  An OPTIONAL <fee:period> element (as described in Section 3.3).
+
*  An OPTIONAL <fee:period> element (as described in Section 3.3).
  
  Example <check> command:
+
Example <check> command:
  
  C: <?xml version="1.0" encoding="utf-8" standalone="no"?>
+
C: <?xml version="1.0" encoding="utf-8" standalone="no"?>
  C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
+
C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  C:  <command>
+
C:  <command>
  C:    <check>
+
C:    <check>
  C:      <domain:check
+
C:      <domain:check
  C:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
+
C:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
  C:        <domain:name>example.com</domain:name>
+
C:        <domain:name>example.com</domain:name>
  C:        <domain:name>example.net</domain:name>
+
C:        <domain:name>example.net</domain:name>
  C:        <domain:name>example.xyz</domain:name>
+
C:        <domain:name>example.xyz</domain:name>
  C:      </domain:check>
+
C:      </domain:check>
  C:    </check>
+
C:    </check>
  C:    <extension>
+
C:    <extension>
  C:      <fee:check xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
+
C:      <fee:check xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
  C:        <fee:currency>USD</fee:currency>
+
C:        <fee:currency>USD</fee:currency>
  C:        <fee:command name="create">
+
C:        <fee:command name="create">
  C:          <fee:period unit="y">2</fee:period>
+
C:          <fee:period unit="y">2</fee:period>
  C:        </fee:command>
+
C:        </fee:command>
  C:        <fee:command name="renew"/>
+
C:        <fee:command name="renew"/>
  C:        <fee:command name="transfer"/>
+
C:        <fee:command name="transfer"/>
  C:        <fee:command name="restore"/>
+
C:        <fee:command name="restore"/>
  C:      </fee:check>
+
C:      </fee:check>
  C:    </extension>
+
C:    </extension>
  C:    <clTRID>ABC-12345</clTRID>
+
C:    <clTRID>ABC-12345</clTRID>
  C:  </command>
+
C:  </command>
  C: </epp>
+
C: </epp>
  
  When the server receives a <check> command that includes the
+
When the server receives a <check> command that includes the
  extension elements described above, its response MUST contain an
+
extension elements described above, its response MUST contain an
  <extension> element, which MUST contain a child <fee:chkData>
+
<extension> element, which MUST contain a child <fee:chkData>
  element.  The <fee:chkData> element MUST contain a <fee:currency>
+
element.  The <fee:chkData> element MUST contain a <fee:currency>
  element and a <fee:cd> element for each object referenced in the
+
element and a <fee:cd> element for each object referenced in the
  client <check> command.
+
client <check> command.
  
  Each <fee:cd> (check data) element MUST contain the following child
+
Each <fee:cd> (check data) element MUST contain the following child
  elements:
+
elements:
  
  *  A <fee:objID> element, which MUST match an element referenced in
+
*  A <fee:objID> element, which MUST match an element referenced in
      the client <check> command.
+
  the client <check> command.
  
  *  An OPTIONAL <fee:class> element (as described in Section 3.7).
+
*  An OPTIONAL <fee:class> element (as described in Section 3.7).
  
  *  A <fee:command> element matching each <fee:command> (unless the
+
*  A <fee:command> element matching each <fee:command> (unless the
      "avail" attribute of the <fee:cd> is false) that appeared in the
+
  "avail" attribute of the <fee:cd> is false) that appeared in the
      corresponding <fee:check> of the client command.  This element MAY
+
  corresponding <fee:check> of the client command.  This element MAY
      have the OPTIONAL "standard" attribute, with a default value of
+
  have the OPTIONAL "standard" attribute, with a default value of
      "0" (or "false"), which indicates whether the fee is the standard
+
  "0" (or "false"), which indicates whether the fee is the standard
      or default fee (see Section 3.7).  This element MAY have the
+
  or default fee (see Section 3.7).  This element MAY have the
      OPTIONAL "phase" and "subphase" attributes, which will match the
+
  OPTIONAL "phase" and "subphase" attributes, which will match the
      same attributes in the corresponding <fee:command> element of the
+
  same attributes in the corresponding <fee:command> element of the
      client command if sent by the client.
+
  client command if sent by the client.
  
  The <fee:cd> element also has an OPTIONAL "avail" attribute, which is
+
The <fee:cd> element also has an OPTIONAL "avail" attribute, which is
  a boolean.  If the value of this attribute evaluates to false, this
+
a boolean.  If the value of this attribute evaluates to false, this
  indicates that the server cannot calculate the relevant fees because
+
indicates that the server cannot calculate the relevant fees because
  the object, command, currency, period, class, or some combination is
+
the object, command, currency, period, class, or some combination is
  invalid per server policy.  If "avail" is false, then the <fee:cd> or
+
invalid per server policy.  If "avail" is false, then the <fee:cd> or
  the <fee:command> element MUST contain a <fee:reason> element (as
+
the <fee:command> element MUST contain a <fee:reason> element (as
  described in Section 3.9), and the server MAY eliminate some or all
+
described in Section 3.9), and the server MAY eliminate some or all
  of the <fee:command> element(s).
+
of the <fee:command> element(s).
  
  The <fee:command> element(s) MAY have the following child elements:
+
The <fee:command> element(s) MAY have the following child elements:
  
  *  An OPTIONAL <fee:period> element (as described in Section 3.3),
+
*  An OPTIONAL <fee:period> element (as described in Section 3.3),
      which contains the same unit, if present, that appeared in the
+
  which contains the same unit, if present, that appeared in the
      <fee:period> element of the command.  If the value of the parent
+
  <fee:period> element of the command.  If the value of the parent
      <fee:command> element is "restore", this element MUST NOT be
+
  <fee:command> element is "restore", this element MUST NOT be
      included; otherwise, it MUST be included.  If no <fee:period>
+
  included; otherwise, it MUST be included.  If no <fee:period>
      appeared in the client command (and the command is not "restore"),
+
  appeared in the client command (and the command is not "restore"),
      then the server MUST return its default period value.
+
  then the server MUST return its default period value.
  
  *  Zero or more <fee:fee> elements (as described in Section 3.4).
+
*  Zero or more <fee:fee> elements (as described in Section 3.4).
  
  *  Zero or more <fee:credit> elements (as described in Section 3.4).
+
*  Zero or more <fee:credit> elements (as described in Section 3.4).
  
  *  An OPTIONAL <fee:reason> element (as described in Section 3.9).
+
*  An OPTIONAL <fee:reason> element (as described in Section 3.9).
  
  If the "avail" attribute of the <fee:cd> element is true (1) and if
+
If the "avail" attribute of the <fee:cd> element is true (1) and if
  no <fee:fee> elements are present in a <fee:command> element, this
+
no <fee:fee> elements are present in a <fee:command> element, this
  indicates that no fee will be assessed by the server for this
+
indicates that no fee will be assessed by the server for this
  command.
+
command.
  
  If the "avail" attribute of the <fee:cd> element is true (1), then
+
If the "avail" attribute of the <fee:cd> element is true (1), then
  the <fee:command> element MUST NOT contain a <fee:reason> element.
+
the <fee:command> element MUST NOT contain a <fee:reason> element.
  
  Example <check> response:
+
Example <check> response:
  
  S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
+
S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
  S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
+
S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  S:  <response>
+
S:  <response>
  S:    <result code="1000">
+
S:    <result code="1000">
  S:      <msg>Command completed successfully</msg>
+
S:      <msg>Command completed successfully</msg>
  S:    </result>
+
S:    </result>
  S:    <resData>
+
S:    <resData>
  S:      <domain:chkData
+
S:      <domain:chkData
  S:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
+
S:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
  S:        <domain:cd>
+
S:        <domain:cd>
  S:          <domain:name avail="1">example.com</domain:name>
+
S:          <domain:name avail="1">example.com</domain:name>
  S:        </domain:cd>
+
S:        </domain:cd>
  S:        <domain:cd>
+
S:        <domain:cd>
  S:          <domain:name avail="1">example.net</domain:name>
+
S:          <domain:name avail="1">example.net</domain:name>
  S:        </domain:cd>
+
S:        </domain:cd>
  S:        <domain:cd>
+
S:        <domain:cd>
  S:          <domain:name avail="1">example.xyz</domain:name>
+
S:          <domain:name avail="1">example.xyz</domain:name>
  S:        </domain:cd>
+
S:        </domain:cd>
  S:      </domain:chkData>
+
S:      </domain:chkData>
  S:    </resData>
+
S:    </resData>
  S:    <extension>
+
S:    <extension>
  S:      <fee:chkData
+
S:      <fee:chkData
  S:          xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
+
S:          xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
  S:        <fee:currency>USD</fee:currency>
+
S:        <fee:currency>USD</fee:currency>
  S:        <fee:cd avail="1">
+
S:        <fee:cd avail="1">
  S:          <fee:objID>example.com</fee:objID>
+
S:          <fee:objID>example.com</fee:objID>
  S:          <fee:class>Premium</fee:class>
+
S:          <fee:class>Premium</fee:class>
  S:          <fee:command name="create">
+
S:          <fee:command name="create">
  S:            <fee:period unit="y">2</fee:period>
+
S:            <fee:period unit="y">2</fee:period>
  S:            <fee:fee
+
S:            <fee:fee
  S:              description="Registration Fee"
+
S:              description="Registration Fee"
  S:              refundable="1"
+
S:              refundable="1"
  S:              grace-period="P5D">10.00</fee:fee>
+
S:              grace-period="P5D">10.00</fee:fee>
  S:          </fee:command>
+
S:          </fee:command>
  S:          <fee:command name="renew">
+
S:          <fee:command name="renew">
  S:            <fee:period unit="y">1</fee:period>
+
S:            <fee:period unit="y">1</fee:period>
  S:            <fee:fee
+
S:            <fee:fee
  S:              description="Renewal Fee"
+
S:              description="Renewal Fee"
  S:              refundable="1"
+
S:              refundable="1"
  S:              grace-period="P5D">10.00</fee:fee>
+
S:              grace-period="P5D">10.00</fee:fee>
  S:          </fee:command>
+
S:          </fee:command>
  S:          <fee:command name="transfer">
+
S:          <fee:command name="transfer">
  S:            <fee:period unit="y">1</fee:period>
+
S:            <fee:period unit="y">1</fee:period>
  S:            <fee:fee
+
S:            <fee:fee
  S:              description="Transfer Fee"
+
S:              description="Transfer Fee"
  S:              refundable="1"
+
S:              refundable="1"
  S:              grace-period="P5D">10.00</fee:fee>
+
S:              grace-period="P5D">10.00</fee:fee>
  S:          </fee:command>
+
S:          </fee:command>
  S:          <fee:command name="restore">
+
S:          <fee:command name="restore">
  S:            <fee:fee
+
S:            <fee:fee
  S:              description="Redemption Fee">15.00</fee:fee>
+
S:              description="Redemption Fee">15.00</fee:fee>
  S:          </fee:command>
+
S:          </fee:command>
  S:        </fee:cd>
+
S:        </fee:cd>
  S:        <fee:cd avail="1">
+
S:        <fee:cd avail="1">
  S:          <fee:objID>example.net</fee:objID>
+
S:          <fee:objID>example.net</fee:objID>
  S:          <fee:class>standard</fee:class>
+
S:          <fee:class>standard</fee:class>
  S:          <fee:command name="create" standard="1">
+
S:          <fee:command name="create" standard="1">
  S:            <fee:period unit="y">2</fee:period>
+
S:            <fee:period unit="y">2</fee:period>
  S:            <fee:fee
+
S:            <fee:fee
  S:              description="Registration Fee"
+
S:              description="Registration Fee"
  S:              refundable="1"
+
S:              refundable="1"
  S:              grace-period="P5D">5.00</fee:fee>
+
S:              grace-period="P5D">5.00</fee:fee>
  S:          </fee:command>
+
S:          </fee:command>
  S:          <fee:command name="renew" standard="1">
+
S:          <fee:command name="renew" standard="1">
  S:            <fee:period unit="y">1</fee:period>
+
S:            <fee:period unit="y">1</fee:period>
  S:            <fee:fee
+
S:            <fee:fee
  S:              description="Renewal Fee"
+
S:              description="Renewal Fee"
  S:              refundable="1"
+
S:              refundable="1"
  S:              grace-period="P5D">5.00</fee:fee>
+
S:              grace-period="P5D">5.00</fee:fee>
  S:          </fee:command>
+
S:          </fee:command>
  S:          <fee:command name="transfer" standard="1">
+
S:          <fee:command name="transfer" standard="1">
  S:            <fee:period unit="y">1</fee:period>
+
S:            <fee:period unit="y">1</fee:period>
  S:            <fee:fee
+
S:            <fee:fee
  S:              description="Transfer Fee"
+
S:              description="Transfer Fee"
  S:              refundable="1"
+
S:              refundable="1"
  S:              grace-period="P5D">5.00</fee:fee>
+
S:              grace-period="P5D">5.00</fee:fee>
  S:          </fee:command>
+
S:          </fee:command>
  S:          <fee:command name="restore" standard="1">
+
S:          <fee:command name="restore" standard="1">
  S:            <fee:fee
+
S:            <fee:fee
  S:              description="Redemption Fee">5.00</fee:fee>
+
S:              description="Redemption Fee">5.00</fee:fee>
  S:          </fee:command>
+
S:          </fee:command>
  S:        </fee:cd>
+
S:        </fee:cd>
  S:        <fee:cd avail="0">
+
S:        <fee:cd avail="0">
  S:          <fee:objID>example.xyz</fee:objID>
+
S:          <fee:objID>example.xyz</fee:objID>
  S:          <fee:command name="create">
+
S:          <fee:command name="create">
  S:            <fee:period unit="y">2</fee:period>
+
S:            <fee:period unit="y">2</fee:period>
  S:            <fee:reason>Only 1 year registration periods are
+
S:            <fee:reason>Only 1 year registration periods are
  S:              valid.</fee:reason>
+
S:              valid.</fee:reason>
  S:          </fee:command>
+
S:          </fee:command>
  S:        </fee:cd>
+
S:        </fee:cd>
  S:      </fee:chkData>
+
S:      </fee:chkData>
  S:    </extension>
+
S:    </extension>
  S:    <trID>
+
S:    <trID>
  S:      <clTRID>ABC-12345</clTRID>
+
S:      <clTRID>ABC-12345</clTRID>
  S:      <svTRID>54322-XYZ</svTRID>
+
S:      <svTRID>54322-XYZ</svTRID>
  S:    </trID>
+
S:    </trID>
  S:  </response>
+
S:  </response>
  S: </epp>
+
S: </epp>
  
5.1.2.  EPP Transfer Query Command
+
==== EPP Transfer Query Command ====
  
  This extension does not add any elements to the EPP <transfer> query
+
This extension does not add any elements to the EPP <transfer> query
  command, but it does include elements in the response when the
+
command, but it does include elements in the response when the
  extension is included in the <login> command service extensions.
+
extension is included in the <login> command service extensions.
  
  When the <transfer> query command has been processed successfully, if
+
When the <transfer> query command has been processed successfully, if
  the client has included the extension in the <login> command service
+
the client has included the extension in the <login> command service
  <svcExtension> element, and if the client is authorized by the server
+
<svcExtension> element, and if the client is authorized by the server
  to view information about the transfer, then the server MAY include
+
to view information about the transfer, then the server MAY include
  in the <extension> section of the EPP response a <fee:trnData>
+
in the <extension> section of the EPP response a <fee:trnData>
  element, which contains the following child elements:
+
element, which contains the following child elements:
  
  *  A <fee:currency> element (as described in Section 3.2).
+
*  A <fee:currency> element (as described in Section 3.2).
  
  *  A <fee:period> element (as described in Section 3.3).
+
*  A <fee:period> element (as described in Section 3.3).
  
  *  Zero or more <fee:fee> elements (as described in Section 3.4)
+
*  Zero or more <fee:fee> elements (as described in Section 3.4)
      containing the fees that will be charged to the gaining client.
+
  containing the fees that will be charged to the gaining client.
  
  *  Zero or more <fee:credit> elements (as described in Section 3.4)
+
*  Zero or more <fee:credit> elements (as described in Section 3.4)
      containing the credits that will be refunded to the losing client.
+
  containing the credits that will be refunded to the losing client.
  
  Servers SHOULD omit <fee:credit> when returning a response to the
+
Servers SHOULD omit <fee:credit> when returning a response to the
  gaining client and omit <fee:fee> elements when returning a response
+
gaining client and omit <fee:fee> elements when returning a response
  to the losing client.
+
to the losing client.
  
  If no <fee:trnData> element is included in the response, then no fee
+
If no <fee:trnData> element is included in the response, then no fee
  will be assessed by the server for the transfer.
+
will be assessed by the server for the transfer.
  
  Example <transfer> query response:
+
Example <transfer> query response:
  
  S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
+
S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
  S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
+
S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  S:  <response>
+
S:  <response>
  S:    <result code="1001">
+
S:    <result code="1001">
  S:      <msg>Command completed successfully; action pending</msg>
+
S:      <msg>Command completed successfully; action pending</msg>
  S:    </result>
+
S:    </result>
  S:    <resData>
+
S:    <resData>
  S:      <domain:trnData
+
S:      <domain:trnData
  S:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
+
S:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
  S:        <domain:name>example.com</domain:name>
+
S:        <domain:name>example.com</domain:name>
  S:        <domain:trStatus>pending</domain:trStatus>
+
S:        <domain:trStatus>pending</domain:trStatus>
  S:        <domain:reID>ClientX</domain:reID>
+
S:        <domain:reID>ClientX</domain:reID>
  S:        <domain:reDate>2019-06-08T22:00:00.0Z</domain:reDate>
+
S:        <domain:reDate>2019-06-08T22:00:00.0Z</domain:reDate>
  S:        <domain:acID>ClientY</domain:acID>
+
S:        <domain:acID>ClientY</domain:acID>
  S:        <domain:acDate>2019-06-13T22:00:00.0Z</domain:acDate>
+
S:        <domain:acDate>2019-06-13T22:00:00.0Z</domain:acDate>
  S:        <domain:exDate>2021-09-08T22:00:00.0Z</domain:exDate>
+
S:        <domain:exDate>2021-09-08T22:00:00.0Z</domain:exDate>
  S:      </domain:trnData>
+
S:      </domain:trnData>
  S:    </resData>
+
S:    </resData>
  S:    <extension>
+
S:    <extension>
  S:      <fee:trnData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
+
S:      <fee:trnData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
  S:        <fee:currency>USD</fee:currency>
+
S:        <fee:currency>USD</fee:currency>
  S:        <fee:period unit="y">1</fee:period>
+
S:        <fee:period unit="y">1</fee:period>
  S:        <fee:fee>5.00</fee:fee>
+
S:        <fee:fee>5.00</fee:fee>
  S:      </fee:trnData>
+
S:      </fee:trnData>
  S:    </extension>
+
S:    </extension>
  S:    <trID>
+
S:    <trID>
  S:      <clTRID>ABC-12345</clTRID>
+
S:      <clTRID>ABC-12345</clTRID>
  S:      <svTRID>54322-XYZ</svTRID>
+
S:      <svTRID>54322-XYZ</svTRID>
  S:    </trID>
+
S:    </trID>
  S:  </response>
+
S:  </response>
  S: </epp>
+
S: </epp>
  
5.2.  EPP Transform Commands
+
=== EPP Transform Commands ===
  
5.2.1.  EPP <create> Command
+
==== EPP <create> Command ====
  
  This extension adds elements to both the EPP <create> command and
+
This extension adds elements to both the EPP <create> command and
  response when the extension is included in the <login> command
+
response when the extension is included in the <login> command
  service extensions.
+
service extensions.
  
  When submitting a <create> command to the server, the client MAY
+
When submitting a <create> command to the server, the client MAY
  include in the <extension> element a <fee:create> element, which
+
include in the <extension> element a <fee:create> element, which
  includes the following child elements:
+
includes the following child elements:
  
  *  An OPTIONAL <fee:currency> element (as described in Section 3.2).
+
*  An OPTIONAL <fee:currency> element (as described in Section 3.2).
  
  *  One or more <fee:fee> elements (as described in Section 3.4).
+
*  One or more <fee:fee> elements (as described in Section 3.4).
  
  When the <create> command has been processed successfully, the client
+
When the <create> command has been processed successfully, the client
  included the extension in the <login> command service extensions, and
+
included the extension in the <login> command service extensions, and
  a fee was assessed by the server for the transaction, the server MUST
+
a fee was assessed by the server for the transaction, the server MUST
  include in the <extension> section of the EPP response a
+
include in the <extension> section of the EPP response a
  <fee:creData> element, which contains the following child elements:
+
<fee:creData> element, which contains the following child elements:
  
  *  A <fee:currency> element (as described in Section 3.2).
+
*  A <fee:currency> element (as described in Section 3.2).
  
  *  Zero or more <fee:fee> elements (as described in Section 3.4).
+
*  Zero or more <fee:fee> elements (as described in Section 3.4).
  
  *  Zero or more <fee:credit> elements (as described in Section 3.4).
+
*  Zero or more <fee:credit> elements (as described in Section 3.4).
  
  *  An OPTIONAL <fee:balance> element (as described in Section 3.5).
+
*  An OPTIONAL <fee:balance> element (as described in Section 3.5).
  
  *  An OPTIONAL <fee:creditLimit> element (as described in
+
*  An OPTIONAL <fee:creditLimit> element (as described in
      Section 3.6).
+
  Section 3.6).
  
  Example <create> command:
+
Example <create> command:
  
  C: <?xml version="1.0" encoding="utf-8" standalone="no"?>
+
C: <?xml version="1.0" encoding="utf-8" standalone="no"?>
  C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
+
C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  C:  <command>
+
C:  <command>
  C:    <create>
+
C:    <create>
  C:      <domain:create
+
C:      <domain:create
  C:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
+
C:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
  C:        <domain:name>example.com</domain:name>
+
C:        <domain:name>example.com</domain:name>
  C:        <domain:period unit="y">2</domain:period>
+
C:        <domain:period unit="y">2</domain:period>
  C:        <domain:ns>
+
C:        <domain:ns>
  C:          <domain:hostObj>ns1.example.net</domain:hostObj>
+
C:          <domain:hostObj>ns1.example.net</domain:hostObj>
  C:          <domain:hostObj>ns2.example.net</domain:hostObj>
+
C:          <domain:hostObj>ns2.example.net</domain:hostObj>
  C:        </domain:ns>
+
C:        </domain:ns>
  C:        <domain:registrant>jd1234</domain:registrant>
+
C:        <domain:registrant>jd1234</domain:registrant>
  C:        <domain:contact type="admin">sh8013</domain:contact>
+
C:        <domain:contact type="admin">sh8013</domain:contact>
  C:        <domain:contact type="tech">sh8013</domain:contact>
+
C:        <domain:contact type="tech">sh8013</domain:contact>
  C:        <domain:authInfo>
+
C:        <domain:authInfo>
  C:          <domain:pw>2fooBAR</domain:pw>
+
C:          <domain:pw>2fooBAR</domain:pw>
  C:        </domain:authInfo>
+
C:        </domain:authInfo>
  C:      </domain:create>
+
C:      </domain:create>
  C:    </create>
+
C:    </create>
  C:    <extension>
+
C:    <extension>
  C:      <fee:create xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
+
C:      <fee:create xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
  C:        <fee:currency>USD</fee:currency>
+
C:        <fee:currency>USD</fee:currency>
  C:        <fee:fee>5.00</fee:fee>
+
C:        <fee:fee>5.00</fee:fee>
  C:      </fee:create>
+
C:      </fee:create>
  C:    </extension>
+
C:    </extension>
  C:    <clTRID>ABC-12345</clTRID>
+
C:    <clTRID>ABC-12345</clTRID>
  C:  </command>
+
C:  </command>
  C: </epp>
+
C: </epp>
  
  Example <create> response:
+
Example <create> response:
  
  S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
+
S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
  S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
+
S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  S:  <response>
+
S:  <response>
  S:    <result code="1000">
+
S:    <result code="1000">
  S:      <msg>Command completed successfully</msg>
+
S:      <msg>Command completed successfully</msg>
  S:    </result>
+
S:    </result>
  S:    <resData>
+
S:    <resData>
  S:      <domain:creData
+
S:      <domain:creData
  S:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
+
S:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
  S:        <domain:name>example.com</domain:name>
+
S:        <domain:name>example.com</domain:name>
  S:        <domain:crDate>2019-04-03T22:00:00.0Z</domain:crDate>
+
S:        <domain:crDate>2019-04-03T22:00:00.0Z</domain:crDate>
  S:        <domain:exDate>2021-04-03T22:00:00.0Z</domain:exDate>
+
S:        <domain:exDate>2021-04-03T22:00:00.0Z</domain:exDate>
  S:      </domain:creData>
+
S:      </domain:creData>
  S:    </resData>
+
S:    </resData>
  S:    <extension>
+
S:    <extension>
  S:      <fee:creData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
+
S:      <fee:creData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
  S:        <fee:currency>USD</fee:currency>
+
S:        <fee:currency>USD</fee:currency>
  S:        <fee:fee
+
S:        <fee:fee
  S:          description="Registration Fee"
+
S:          description="Registration Fee"
  S:          lang="en"
+
S:          lang="en"
  S:          refundable="1"
+
S:          refundable="1"
  S:          grace-period="P5D">5.00</fee:fee>
+
S:          grace-period="P5D">5.00</fee:fee>
  S:        <fee:balance>-5.00</fee:balance>
+
S:        <fee:balance>-5.00</fee:balance>
  S:        <fee:creditLimit>1000.00</fee:creditLimit>
+
S:        <fee:creditLimit>1000.00</fee:creditLimit>
  S:      </fee:creData>
+
S:      </fee:creData>
  S:    </extension>
+
S:    </extension>
  S:    <trID>
+
S:    <trID>
  S:      <clTRID>ABC-12345</clTRID>
+
S:      <clTRID>ABC-12345</clTRID>
  S:      <svTRID>54321-XYZ</svTRID>
+
S:      <svTRID>54321-XYZ</svTRID>
  S:    </trID>
+
S:    </trID>
  S:  </response>
+
S:  </response>
  S: </epp>
+
S: </epp>
  
5.2.2.  EPP <delete> Command
+
==== EPP <delete> Command ====
  
  This extension does not add any elements to the EPP <delete> command,
+
This extension does not add any elements to the EPP <delete> command,
  but it does include elements in the response when the extension is
+
but it does include elements in the response when the extension is
  included in the <login> command service extensions.
+
included in the <login> command service extensions.
  
  When the <delete> command has been processed successfully and the
+
When the <delete> command has been processed successfully and the
  client included the extension in the <login> command service
+
client included the extension in the <login> command service
  extensions, the server MAY include in the <extension> section of the
+
extensions, the server MAY include in the <extension> section of the
  EPP response a <fee:delData> element, which contains the following
+
EPP response a <fee:delData> element, which contains the following
  child elements:
+
child elements:
  
  *  A <fee:currency> element (as described in Section 3.2).
+
*  A <fee:currency> element (as described in Section 3.2).
  
  *  Zero or more <fee:fee> elements (as described in Section 3.4).
+
*  Zero or more <fee:fee> elements (as described in Section 3.4).
  
  *  Zero or more <fee:credit> elements (as described in Section 3.4).
+
*  Zero or more <fee:credit> elements (as described in Section 3.4).
  
  *  An OPTIONAL <fee:balance> element (as described in Section 3.5).
+
*  An OPTIONAL <fee:balance> element (as described in Section 3.5).
  
  *  An OPTIONAL <fee:creditLimit> element (as described in
+
*  An OPTIONAL <fee:creditLimit> element (as described in
      Section 3.6).
+
  Section 3.6).
  
  Example <delete> response:
+
Example <delete> response:
  
  S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
+
S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
  S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
+
S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  S:  <response>
+
S:  <response>
  S:    <result code="1000">
+
S:    <result code="1000">
  S:      <msg>Command completed successfully</msg>
+
S:      <msg>Command completed successfully</msg>
  S:    </result>
+
S:    </result>
  S:    <extension>
+
S:    <extension>
  S:      <fee:delData
+
S:      <fee:delData
  S:        xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
+
S:        xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
  S:        <fee:currency>USD</fee:currency>
+
S:        <fee:currency>USD</fee:currency>
  S:        <fee:credit
+
S:        <fee:credit
  S:          description="AGP Credit"
+
S:          description="AGP Credit"
  S:          lang="en">-5.00</fee:credit>
+
S:          lang="en">-5.00</fee:credit>
  S:        <fee:balance>1005.00</fee:balance>
+
S:        <fee:balance>1005.00</fee:balance>
  S:      </fee:delData>
+
S:      </fee:delData>
  S:    </extension>
+
S:    </extension>
  S:    <trID>
+
S:    <trID>
  S:      <clTRID>ABC-12345</clTRID>
+
S:      <clTRID>ABC-12345</clTRID>
  S:      <svTRID>54321-XYZ</svTRID>
+
S:      <svTRID>54321-XYZ</svTRID>
  S:    </trID>
+
S:    </trID>
  S:  </response>
+
S:  </response>
  S: </epp>
+
S: </epp>
  
5.2.3.  EPP <renew> Command
+
==== EPP <renew> Command ====
  
  This extension adds elements to both the EPP <renew> command and
+
This extension adds elements to both the EPP <renew> command and
  response when the extension is included in the <login> command
+
response when the extension is included in the <login> command
  service extensions.
+
service extensions.
  
  When submitting a <renew> command to the server, the client MAY
+
When submitting a <renew> command to the server, the client MAY
  include in the <extension> element a <fee:renew> element, which
+
include in the <extension> element a <fee:renew> element, which
  includes the following child elements:
+
includes the following child elements:
  
  *  An OPTIONAL <fee:currency> element (as described in Section 3.2).
+
*  An OPTIONAL <fee:currency> element (as described in Section 3.2).
  
  *  One or more <fee:fee> elements (as described in Section 3.4).
+
*  One or more <fee:fee> elements (as described in Section 3.4).
  
  When the <renew> command has been processed successfully and the
+
When the <renew> command has been processed successfully and the
  client included the extension in the <login> command service
+
client included the extension in the <login> command service
  extensions, the server MAY include in the <extension> section of the
+
extensions, the server MAY include in the <extension> section of the
  EPP response a <fee:renData> element, which contains the following
+
EPP response a <fee:renData> element, which contains the following
  child elements:
+
child elements:
  
  *  A <fee:currency> element (as described in Section 3.2).
+
*  A <fee:currency> element (as described in Section 3.2).
  
  *  Zero or more <fee:fee> elements (as described in Section 3.4).
+
*  Zero or more <fee:fee> elements (as described in Section 3.4).
  
  *  Zero or more <fee:credit> elements (as described in Section 3.4).
+
*  Zero or more <fee:credit> elements (as described in Section 3.4).
  
  *  An OPTIONAL <fee:balance> element (as described in Section 3.5).
+
*  An OPTIONAL <fee:balance> element (as described in Section 3.5).
  
  *  An OPTIONAL <fee:creditLimit> element (as described in
+
*  An OPTIONAL <fee:creditLimit> element (as described in
      Section 3.6).
+
  Section 3.6).
  
  Example <renew> command:
+
Example <renew> command:
  
  C: <?xml version="1.0" encoding="utf-8" standalone="no"?>
+
C: <?xml version="1.0" encoding="utf-8" standalone="no"?>
  C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
+
C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  C:  <command>
+
C:  <command>
  C:    <renew>
+
C:    <renew>
  C:      <domain:renew
+
C:      <domain:renew
  C:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
+
C:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
  C:        <domain:name>example.com</domain:name>
+
C:        <domain:name>example.com</domain:name>
  C:        <domain:curExpDate>2019-04-03</domain:curExpDate>
+
C:        <domain:curExpDate>2019-04-03</domain:curExpDate>
  C:        <domain:period unit="y">5</domain:period>
+
C:        <domain:period unit="y">5</domain:period>
  C:      </domain:renew>
+
C:      </domain:renew>
  C:    </renew>
+
C:    </renew>
  C:    <extension>
+
C:    <extension>
  C:      <fee:renew xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
+
C:      <fee:renew xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
  C:        <fee:currency>USD</fee:currency>
+
C:        <fee:currency>USD</fee:currency>
  C:        <fee:fee>5.00</fee:fee>
+
C:        <fee:fee>5.00</fee:fee>
  C:      </fee:renew>
+
C:      </fee:renew>
  C:    </extension>
+
C:    </extension>
  C:    <clTRID>ABC-12345</clTRID>
+
C:    <clTRID>ABC-12345</clTRID>
  C:  </command>
+
C:  </command>
  C: </epp>
+
C: </epp>
  
  Example <renew> response:
+
Example <renew> response:
  
  S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
+
S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
  S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
+
S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  S:  <response>
+
S:  <response>
  S:    <result code="1000">
+
S:    <result code="1000">
  S:      <msg>Command completed successfully</msg>
+
S:      <msg>Command completed successfully</msg>
  S:    </result>
+
S:    </result>
  S:    <resData>
+
S:    <resData>
  S:      <domain:renData
+
S:      <domain:renData
  S:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
+
S:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
  S:        <domain:name>example.com</domain:name>
+
S:        <domain:name>example.com</domain:name>
  S:        <domain:exDate>2024-04-03T22:00:00.0Z</domain:exDate>
+
S:        <domain:exDate>2024-04-03T22:00:00.0Z</domain:exDate>
  S:      </domain:renData>
+
S:      </domain:renData>
  S:    </resData>
+
S:    </resData>
  S:    <extension>
+
S:    <extension>
  S:      <fee:renData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
+
S:      <fee:renData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
  S:        <fee:currency>USD</fee:currency>
+
S:        <fee:currency>USD</fee:currency>
  S:        <fee:fee
+
S:        <fee:fee
  S:          refundable="1"
+
S:          refundable="1"
  S:          grace-period="P5D">5.00</fee:fee>
+
S:          grace-period="P5D">5.00</fee:fee>
  S:        <fee:balance>1000.00</fee:balance>
+
S:        <fee:balance>1000.00</fee:balance>
  S:      </fee:renData>
+
S:      </fee:renData>
  S:    </extension>
+
S:    </extension>
  S:    <trID>
+
S:    <trID>
  S:      <clTRID>ABC-12345</clTRID>
+
S:      <clTRID>ABC-12345</clTRID>
  S:      <svTRID>54322-XYZ</svTRID>
+
S:      <svTRID>54322-XYZ</svTRID>
  S:    </trID>
+
S:    </trID>
  S:  </response>
+
S:  </response>
  S: </epp>
+
S: </epp>
  
5.2.4.  EPP <transfer> Command
+
==== EPP <transfer> Command ====
  
  This extension adds elements to both the EPP <transfer> command and
+
This extension adds elements to both the EPP <transfer> command and
  response when the value of the "op" attribute of the <transfer>
+
response when the value of the "op" attribute of the <transfer>
  command element is "request" and the extension is included in the
+
command element is "request" and the extension is included in the
  <login> command service extensions.
+
<login> command service extensions.
  
  When submitting a <transfer> command to the server, the client MAY
+
When submitting a <transfer> command to the server, the client MAY
  include in the <extension> element a <fee:transfer> element, which
+
include in the <extension> element a <fee:transfer> element, which
  includes the following child elements:
+
includes the following child elements:
  
  *  An OPTIONAL <fee:currency> element (as described in Section 3.2).
+
*  An OPTIONAL <fee:currency> element (as described in Section 3.2).
  
  *  One or more <fee:fee> elements (as described in Section 3.4).
+
*  One or more <fee:fee> elements (as described in Section 3.4).
  
  When the <transfer> command has been processed successfully and the
+
When the <transfer> command has been processed successfully and the
  client included the extension in the <login> command service
+
client included the extension in the <login> command service
  extensions, the server MAY include in the <extension> section of the
+
extensions, the server MAY include in the <extension> section of the
  EPP response a <fee:trnData> element, which contains the following
+
EPP response a <fee:trnData> element, which contains the following
  child elements:
+
child elements:
  
  *  A <fee:currency> element (as described in Section 3.2).
+
*  A <fee:currency> element (as described in Section 3.2).
  
  *  Zero or more <fee:fee> elements (as described in Section 3.4).
+
*  Zero or more <fee:fee> elements (as described in Section 3.4).
  
  *  Zero or more <fee:credit> elements (as described in Section 3.4).
+
*  Zero or more <fee:credit> elements (as described in Section 3.4).
  
  *  An OPTIONAL <fee:balance> element (as described in Section 3.5).
+
*  An OPTIONAL <fee:balance> element (as described in Section 3.5).
  
  *  An OPTIONAL <fee:creditLimit> element (as described in
+
*  An OPTIONAL <fee:creditLimit> element (as described in
      Section 3.6).
+
  Section 3.6).
  
  Example <transfer> command:
+
Example <transfer> command:
  
  C: <?xml version="1.0" encoding="utf-8" standalone="no"?>
+
C: <?xml version="1.0" encoding="utf-8" standalone="no"?>
  C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
+
C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  C:  <command>
+
C:  <command>
  C:    <transfer op="request">
+
C:    <transfer op="request">
  C:      <domain:transfer
+
C:      <domain:transfer
  C:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
+
C:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
  C:        <domain:name>example.com</domain:name>
+
C:        <domain:name>example.com</domain:name>
  C:        <domain:period unit="y">1</domain:period>
+
C:        <domain:period unit="y">1</domain:period>
  C:        <domain:authInfo>
+
C:        <domain:authInfo>
  C:          <domain:pw roid="JD1234-REP">2fooBAR</domain:pw>
+
C:          <domain:pw roid="JD1234-REP">2fooBAR</domain:pw>
  C:        </domain:authInfo>
+
C:        </domain:authInfo>
  C:      </domain:transfer>
+
C:      </domain:transfer>
  C:    </transfer>
+
C:    </transfer>
  C:    <extension>
+
C:    <extension>
  C:      <fee:transfer xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
+
C:      <fee:transfer xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
  C:        <fee:currency>USD</fee:currency>
+
C:        <fee:currency>USD</fee:currency>
  C:        <fee:fee>5.00</fee:fee>
+
C:        <fee:fee>5.00</fee:fee>
  C:      </fee:transfer>
+
C:      </fee:transfer>
  C:    </extension>
+
C:    </extension>
  C:    <clTRID>ABC-12345</clTRID>
+
C:    <clTRID>ABC-12345</clTRID>
  C:  </command>
+
C:  </command>
  C: </epp>
+
C: </epp>
  
  Example <transfer> response:
+
Example <transfer> response:
  
  S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
+
S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
  S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
+
S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  S:  <response>
+
S:  <response>
  S:    <result code="1001">
+
S:    <result code="1001">
  S:      <msg>Command completed successfully; action pending</msg>
+
S:      <msg>Command completed successfully; action pending</msg>
  S:    </result>
+
S:    </result>
  S:    <resData>
+
S:    <resData>
  S:      <domain:trnData
+
S:      <domain:trnData
  S:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
+
S:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
  S:        <domain:name>example.com</domain:name>
+
S:        <domain:name>example.com</domain:name>
  S:        <domain:trStatus>pending</domain:trStatus>
+
S:        <domain:trStatus>pending</domain:trStatus>
  S:        <domain:reID>ClientX</domain:reID>
+
S:        <domain:reID>ClientX</domain:reID>
  S:        <domain:reDate>2019-06-08T22:00:00.0Z</domain:reDate>
+
S:        <domain:reDate>2019-06-08T22:00:00.0Z</domain:reDate>
  S:        <domain:acID>ClientY</domain:acID>
+
S:        <domain:acID>ClientY</domain:acID>
  S:        <domain:acDate>2019-06-13T22:00:00.0Z</domain:acDate>
+
S:        <domain:acDate>2019-06-13T22:00:00.0Z</domain:acDate>
  S:        <domain:exDate>2021-09-08T22:00:00.0Z</domain:exDate>
+
S:        <domain:exDate>2021-09-08T22:00:00.0Z</domain:exDate>
  S:      </domain:trnData>
+
S:      </domain:trnData>
  S:    </resData>
+
S:    </resData>
  S:    <extension>
+
S:    <extension>
  S:      <fee:trnData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
+
S:      <fee:trnData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
  S:        <fee:currency>USD</fee:currency>
+
S:        <fee:currency>USD</fee:currency>
  S:        <fee:fee
+
S:        <fee:fee
  S:          refundable="1"
+
S:          refundable="1"
  S:          grace-period="P5D">5.00</fee:fee>
+
S:          grace-period="P5D">5.00</fee:fee>
  S:      </fee:trnData>
+
S:      </fee:trnData>
  S:    </extension>
+
S:    </extension>
  S:    <trID>
+
S:    <trID>
  S:      <clTRID>ABC-12345</clTRID>
+
S:      <clTRID>ABC-12345</clTRID>
  S:      <svTRID>54322-XYZ</svTRID>
+
S:      <svTRID>54322-XYZ</svTRID>
  S:    </trID>
+
S:    </trID>
  S:  </response>
+
S:  </response>
  S: </epp>
+
S: </epp>
  
5.2.5.  EPP <update> Command
+
==== EPP <update> Command ====
  
  This extension adds elements to both the EPP <update> command and
+
This extension adds elements to both the EPP <update> command and
  response when the extension is included in the <login> command
+
response when the extension is included in the <login> command
  service extensions.
+
service extensions.
  
  When submitting an <update> command to the server, the client MAY
+
When submitting an <update> command to the server, the client MAY
  include in the <extension> element a <fee:update> element, which
+
include in the <extension> element a <fee:update> element, which
  includes the following child elements:
+
includes the following child elements:
  
  *  An OPTIONAL <fee:currency> element (as described in Section 3.2).
+
*  An OPTIONAL <fee:currency> element (as described in Section 3.2).
  
  *  One or more <fee:fee> elements (as described in Section 3.4).
+
*  One or more <fee:fee> elements (as described in Section 3.4).
  
  When the <update> command has been processed successfully and the
+
When the <update> command has been processed successfully and the
  client included the extension in the <login> command service
+
client included the extension in the <login> command service
  extensions, the server MAY include in the <extension> section of the
+
extensions, the server MAY include in the <extension> section of the
  EPP response a <fee:updData> element, which contains the following
+
EPP response a <fee:updData> element, which contains the following
  child elements:
+
child elements:
  
  *  A <fee:currency> element (as described in Section 3.2).
+
*  A <fee:currency> element (as described in Section 3.2).
  
  *  Zero or more <fee:fee> elements (as described in Section 3.4).
+
*  Zero or more <fee:fee> elements (as described in Section 3.4).
  
  *  Zero or more <fee:credit> elements (as described in Section 3.4).
+
*  Zero or more <fee:credit> elements (as described in Section 3.4).
  
  *  An OPTIONAL <fee:balance> element (as described in Section 3.5).
+
*  An OPTIONAL <fee:balance> element (as described in Section 3.5).
  
  *  An OPTIONAL <fee:creditLimit> element (as described in
+
*  An OPTIONAL <fee:creditLimit> element (as described in
      Section 3.6).
+
  Section 3.6).
  
  Example <update> command:
+
Example <update> command:
  
  C: <?xml version="1.0" encoding="utf-8" standalone="no"?>
+
C: <?xml version="1.0" encoding="utf-8" standalone="no"?>
  C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
+
C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  C:  <command>
+
C:  <command>
  C:    <update>
+
C:    <update>
  C:      <domain:update
+
C:      <domain:update
  C:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
+
C:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
  C:        <domain:name>example.com</domain:name>
+
C:        <domain:name>example.com</domain:name>
  C:        <domain:chg>
+
C:        <domain:chg>
  C:          <domain:registrant>sh8013</domain:registrant>
+
C:          <domain:registrant>sh8013</domain:registrant>
  C:        </domain:chg>
+
C:        </domain:chg>
  C:      </domain:update>
+
C:      </domain:update>
  C:    </update>
+
C:    </update>
  C:    <extension>
+
C:    <extension>
  C:      <fee:update xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
+
C:      <fee:update xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
  C:        <fee:currency>USD</fee:currency>
+
C:        <fee:currency>USD</fee:currency>
  C:        <fee:fee>5.00</fee:fee>
+
C:        <fee:fee>5.00</fee:fee>
  C:      </fee:update>
+
C:      </fee:update>
  C:    </extension>
+
C:    </extension>
  C:    <clTRID>ABC-12345</clTRID>
+
C:    <clTRID>ABC-12345</clTRID>
  C:  </command>
+
C:  </command>
  C: </epp>
+
C: </epp>
  
  Example <update> response:
+
Example <update> response:
  
  S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
+
S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
  S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
+
S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  S:  <response>
+
S:  <response>
  S:    <result code="1000">
+
S:    <result code="1000">
  S:      <msg>Command completed successfully</msg>
+
S:      <msg>Command completed successfully</msg>
  S:    </result>
+
S:    </result>
  S:    <extension>
+
S:    <extension>
  S:      <fee:updData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
+
S:      <fee:updData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0">
  S:        <fee:currency>USD</fee:currency>
+
S:        <fee:currency>USD</fee:currency>
  S:        <fee:fee>5.00</fee:fee>
+
S:        <fee:fee>5.00</fee:fee>
  S:      </fee:updData>
+
S:      </fee:updData>
  S:    </extension>
+
S:    </extension>
  S:    <trID>
+
S:    <trID>
  S:      <clTRID>ABC-12345</clTRID>
+
S:      <clTRID>ABC-12345</clTRID>
  S:      <svTRID>54321-XYZ</svTRID>
+
S:      <svTRID>54321-XYZ</svTRID>
  S:    </trID>
+
S:    </trID>
  S:  </response>
+
S:  </response>
  S: </epp>
+
S: </epp>
  
6.  Formal Syntax
+
== Formal Syntax ==
  
  One schema is presented here -- the EPP Fee Extension schema.
+
One schema is presented here -- the EPP Fee Extension schema.
  
  The formal syntax presented here is a complete schema representation
+
The formal syntax presented here is a complete schema representation
  of the object mapping suitable for automated validation of EPP XML
+
of the object mapping suitable for automated validation of EPP XML
  instances.
+
instances.
  
6.1.  Fee Extension Schema
+
=== Fee Extension Schema ===
  
  The formal syntax presented here is a complete schema representation
+
The formal syntax presented here is a complete schema representation
  [W3C.REC-xmlschema-1-20041028] of the object mapping suitable for
+
[W3C.REC-xmlschema-1-20041028] of the object mapping suitable for
  automated validation of EPP XML instances.  The <CODE BEGINS> and
+
automated validation of EPP XML instances.  The <CODE BEGINS> and
  <CODE ENDS> tags are not part of the schema; they are used to note
+
<CODE ENDS> tags are not part of the schema; they are used to note
  the beginning and end of the schema for URI registration purposes.
+
the beginning and end of the schema for URI registration purposes.
  
  <CODE BEGINS>
+
<CODE BEGINS>
  <?xml version="1.0" encoding="utf-8"?>
+
<?xml version="1.0" encoding="utf-8"?>
  <schema xmlns="http://www.w3.org/2001/XMLSchema"
+
<schema xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"
+
  xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"
    xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0"
+
  xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0"
    xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
+
  xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
    targetNamespace="urn:ietf:params:xml:ns:epp:fee-1.0"
+
  targetNamespace="urn:ietf:params:xml:ns:epp:fee-1.0"
    elementFormDefault="qualified">
+
  elementFormDefault="qualified">
  
    <import namespace="urn:ietf:params:xml:ns:eppcom-1.0" />
+
  <import namespace="urn:ietf:params:xml:ns:eppcom-1.0" />
    <import namespace="urn:ietf:params:xml:ns:domain-1.0" />
+
  <import namespace="urn:ietf:params:xml:ns:domain-1.0" />
  
    <annotation>
+
  <annotation>
      <documentation>
+
    <documentation>
        Extensible Provisioning Protocol v1.0 Fee Extension
+
      Extensible Provisioning Protocol v1.0 Fee Extension
      </documentation>
+
    </documentation>
    </annotation>
+
  </annotation>
  
    <!-- Child elements found in EPP commands and responses -->
+
  <!-- Child elements found in EPP commands and responses -->
    <element name="check" type="fee:checkType" />
+
  <element name="check" type="fee:checkType" />
    <element name="chkData" type="fee:chkDataType" />
+
  <element name="chkData" type="fee:chkDataType" />
    <element name="create" type="fee:transformCommandType" />
+
  <element name="create" type="fee:transformCommandType" />
    <element name="creData" type="fee:transformResultType" />
+
  <element name="creData" type="fee:transformResultType" />
    <element name="renew" type="fee:transformCommandType" />
+
  <element name="renew" type="fee:transformCommandType" />
    <element name="renData" type="fee:transformResultType" />
+
  <element name="renData" type="fee:transformResultType" />
    <element name="transfer" type="fee:transformCommandType" />
+
  <element name="transfer" type="fee:transformCommandType" />
    <element name="trnData" type="fee:transformResultType" />
+
  <element name="trnData" type="fee:transformResultType" />
    <element name="update" type="fee:transformCommandType" />
+
  <element name="update" type="fee:transformCommandType" />
    <element name="updData" type="fee:transformResultType" />
+
  <element name="updData" type="fee:transformResultType" />
    <element name="delData" type="fee:transformResultType" />
+
  <element name="delData" type="fee:transformResultType" />
  
    <!-- client <check> command -->
+
  <!-- client <check> command -->
    <complexType name="checkType">
+
  <complexType name="checkType">
      <sequence>
+
    <sequence>
        <element name="currency" type="fee:currencyType"
+
      <element name="currency" type="fee:currencyType"
          minOccurs="0" />
+
        minOccurs="0" />
        <element name="command" type="fee:commandType"
+
      <element name="command" type="fee:commandType"
          minOccurs="1" maxOccurs="unbounded" />
+
        minOccurs="1" maxOccurs="unbounded" />
      </sequence>
+
    </sequence>
    </complexType>
+
  </complexType>
  
    <complexType name="objectIdentifierType">
+
  <complexType name="objectIdentifierType">
      <simpleContent>
+
    <simpleContent>
        <extension base="eppcom:labelType">
+
      <extension base="eppcom:labelType">
          <attribute name="element"
+
        <attribute name="element"
          type="NMTOKEN" default="name" />
+
        type="NMTOKEN" default="name" />
        </extension>
+
      </extension>
      </simpleContent>
+
    </simpleContent>
    </complexType>
+
  </complexType>
  
    <!-- server <check> result -->
+
  <!-- server <check> result -->
    <complexType name="chkDataType">
+
  <complexType name="chkDataType">
      <sequence>
+
    <sequence>
        <element name="currency" type="fee:currencyType" />
+
      <element name="currency" type="fee:currencyType" />
        <element name="cd" type="fee:objectCDType"
+
      <element name="cd" type="fee:objectCDType"
          maxOccurs="unbounded" />
+
        maxOccurs="unbounded" />
      </sequence>
+
    </sequence>
    </complexType>
+
  </complexType>
  
    <complexType name="objectCDType">
+
  <complexType name="objectCDType">
      <sequence>
+
    <sequence>
        <element name="objID" type="fee:objectIdentifierType" />
+
      <element name="objID" type="fee:objectIdentifierType" />
        <element name="class" type="token" minOccurs="0" />
+
      <element name="class" type="token" minOccurs="0" />
        <element name="command" type="fee:commandDataType"
+
      <element name="command" type="fee:commandDataType"
          minOccurs="0" maxOccurs="unbounded" />
+
        minOccurs="0" maxOccurs="unbounded" />
        <element name="reason" type="fee:reasonType" minOccurs="0" />
+
      <element name="reason" type="fee:reasonType" minOccurs="0" />
      </sequence>
+
    </sequence>
      <attribute name="avail" type="boolean" default="1" />
+
    <attribute name="avail" type="boolean" default="1" />
    </complexType>
+
  </complexType>
  
    <!-- general transform (create, renew, update, transfer) command-->
+
  <!-- general transform (create, renew, update, transfer) command-->
    <complexType name="transformCommandType">
+
  <complexType name="transformCommandType">
      <sequence>
+
    <sequence>
        <element name="currency" type="fee:currencyType"
+
      <element name="currency" type="fee:currencyType"
          minOccurs="0" />
+
        minOccurs="0" />
        <element name="fee" type="fee:feeType"
+
      <element name="fee" type="fee:feeType"
          maxOccurs="unbounded" />
+
        maxOccurs="unbounded" />
        <element name="credit" type="fee:creditType"
+
      <element name="credit" type="fee:creditType"
          minOccurs="0" maxOccurs="unbounded" />
+
        minOccurs="0" maxOccurs="unbounded" />
      </sequence>
+
    </sequence>
    </complexType>
+
  </complexType>
  
    <!-- general transform (create, renew, update) result -->
+
  <!-- general transform (create, renew, update) result -->
    <complexType name="transformResultType">
+
  <complexType name="transformResultType">
      <sequence>
+
    <sequence>
        <element name="currency" type="fee:currencyType"
+
      <element name="currency" type="fee:currencyType"
          minOccurs="0" />
+
        minOccurs="0" />
        <element name="period" type="domain:periodType"
+
      <element name="period" type="domain:periodType"
          minOccurs="0" />
+
        minOccurs="0" />
        <element name="fee" type="fee:feeType"
+
      <element name="fee" type="fee:feeType"
          minOccurs="0" maxOccurs="unbounded" />
+
        minOccurs="0" maxOccurs="unbounded" />
        <element name="credit" type="fee:creditType"
+
      <element name="credit" type="fee:creditType"
          minOccurs="0" maxOccurs="unbounded" />
+
        minOccurs="0" maxOccurs="unbounded" />
        <element name="balance" type="fee:balanceType"
+
      <element name="balance" type="fee:balanceType"
          minOccurs="0" />
+
        minOccurs="0" />
        <element name="creditLimit" type="fee:creditLimitType"
+
      <element name="creditLimit" type="fee:creditLimitType"
          minOccurs="0" />
+
        minOccurs="0" />
      </sequence>
+
    </sequence>
    </complexType>
+
  </complexType>
  
    <!-- common types -->
+
  <!-- common types -->
    <simpleType name="currencyType">
+
  <simpleType name="currencyType">
      <restriction base="string">
+
    <restriction base="string">
        <pattern value="[A-Z]{3}" />
+
      <pattern value="[A-Z]{3}" />
      </restriction>
+
    </restriction>
    </simpleType>
+
  </simpleType>
  
    <complexType name="commandType">
+
  <complexType name="commandType">
      <sequence>
+
    <sequence>
        <element name="period" type="domain:periodType"
+
      <element name="period" type="domain:periodType"
          minOccurs="0" maxOccurs="1" />
+
        minOccurs="0" maxOccurs="1" />
      </sequence>
+
    </sequence>
      <attribute name="name" type="fee:commandEnum" use="required"/>
+
    <attribute name="name" type="fee:commandEnum" use="required"/>
      <attribute name="customName" type="token"/>
+
    <attribute name="customName" type="token"/>
      <attribute name="phase" type="token" />
+
    <attribute name="phase" type="token" />
      <attribute name="subphase" type="token" />
+
    <attribute name="subphase" type="token" />
    </complexType>
+
  </complexType>
  
    <complexType name="commandDataType">
+
  <complexType name="commandDataType">
      <complexContent>
+
    <complexContent>
        <extension base="fee:commandType">
+
      <extension base="fee:commandType">
          <sequence>
+
        <sequence>
            <element name="fee" type="fee:feeType"
+
          <element name="fee" type="fee:feeType"
              minOccurs="0" maxOccurs="unbounded" />
+
            minOccurs="0" maxOccurs="unbounded" />
            <element name="credit" type="fee:creditType"
+
          <element name="credit" type="fee:creditType"
              minOccurs="0" maxOccurs="unbounded" />
+
            minOccurs="0" maxOccurs="unbounded" />
            <element name="reason" type="fee:reasonType"
+
          <element name="reason" type="fee:reasonType"
              minOccurs="0" />
+
            minOccurs="0" />
          </sequence>
+
        </sequence>
          <attribute name="standard" type="boolean" default="0" />
+
        <attribute name="standard" type="boolean" default="0" />
        </extension>
+
      </extension>
      </complexContent>
+
    </complexContent>
    </complexType>
+
  </complexType>
  
    <complexType name="reasonType">
+
  <complexType name="reasonType">
      <simpleContent>
+
    <simpleContent>
        <extension base="token">
+
      <extension base="token">
          <attribute name="lang" type="language" default="en"/>
+
        <attribute name="lang" type="language" default="en"/>
        </extension>
+
      </extension>
      </simpleContent>
+
    </simpleContent>
    </complexType>
+
  </complexType>
  
    <simpleType name="commandEnum">
+
  <simpleType name="commandEnum">
      <restriction base="token">
+
    <restriction base="token">
        <enumeration value="create"/>
+
      <enumeration value="create"/>
        <enumeration value="delete"/>
+
      <enumeration value="delete"/>
        <enumeration value="renew"/>
+
      <enumeration value="renew"/>
        <enumeration value="update"/>
+
      <enumeration value="update"/>
        <enumeration value="transfer"/>
+
      <enumeration value="transfer"/>
        <enumeration value="restore"/>
+
      <enumeration value="restore"/>
        <enumeration value="custom"/>
+
      <enumeration value="custom"/>
      </restriction>
+
    </restriction>
    </simpleType>
+
  </simpleType>
  
    <simpleType name="nonNegativeDecimal">
+
  <simpleType name="nonNegativeDecimal">
      <restriction base="decimal">
+
    <restriction base="decimal">
        <minInclusive value="0" />
+
      <minInclusive value="0" />
      </restriction>
+
    </restriction>
    </simpleType>
+
  </simpleType>
  
    <simpleType name="negativeDecimal">
+
  <simpleType name="negativeDecimal">
      <restriction base="decimal">
+
    <restriction base="decimal">
        <maxInclusive value="0" />
+
      <maxInclusive value="0" />
      </restriction>
+
    </restriction>
    </simpleType>
+
  </simpleType>
  
    <complexType name="feeType">
+
  <complexType name="feeType">
      <simpleContent>
+
    <simpleContent>
        <extension base="fee:nonNegativeDecimal">
+
      <extension base="fee:nonNegativeDecimal">
          <attribute name="description"/>
+
        <attribute name="description"/>
          <attribute name="lang" type="language" default="en"/>
+
        <attribute name="lang" type="language" default="en"/>
          <attribute name="refundable" type="boolean" />
+
        <attribute name="refundable" type="boolean" />
          <attribute name="grace-period" type="duration" />
+
        <attribute name="grace-period" type="duration" />
          <attribute name="applied">
+
        <attribute name="applied">
            <simpleType>
+
          <simpleType>
              <restriction base="token">
+
            <restriction base="token">
                <enumeration value="immediate" />
+
              <enumeration value="immediate" />
                <enumeration value="delayed" />
+
              <enumeration value="delayed" />
              </restriction>
+
            </restriction>
            </simpleType>
+
          </simpleType>
          </attribute>
+
        </attribute>
        </extension>
+
      </extension>
      </simpleContent>
+
    </simpleContent>
    </complexType>
+
  </complexType>
  
    <complexType name="creditType">
+
  <complexType name="creditType">
      <simpleContent>
+
    <simpleContent>
        <extension base="fee:negativeDecimal">
+
      <extension base="fee:negativeDecimal">
          <attribute name="description"/>
+
        <attribute name="description"/>
          <attribute name="lang" type="language" default="en"/>
+
        <attribute name="lang" type="language" default="en"/>
        </extension>
+
      </extension>
      </simpleContent>
+
    </simpleContent>
    </complexType>
+
  </complexType>
  
    <simpleType name="balanceType">
+
  <simpleType name="balanceType">
      <restriction base="decimal" />
+
    <restriction base="decimal" />
    </simpleType>
+
  </simpleType>
  
    <simpleType name="creditLimitType">
+
  <simpleType name="creditLimitType">
      <restriction base="decimal" />
+
    <restriction base="decimal" />
    </simpleType>
+
  </simpleType>
  
  </schema>
+
</schema>
  <CODE ENDS>
+
<CODE ENDS>
  
7.  Security Considerations
+
== Security Considerations ==
  
  The mapping extensions described in this document do not provide any
+
The mapping extensions described in this document do not provide any
  security services beyond those described by the EPP [RFC5730], the
+
security services beyond those described by the EPP [RFC5730], the
  EPP domain name mapping [RFC5731], and the protocol layers used by
+
EPP domain name mapping [RFC5731], and the protocol layers used by
  the EPP.  The security considerations described in these other
+
the EPP.  The security considerations described in these other
  specifications apply to this specification as well.  This extension
+
specifications apply to this specification as well.  This extension
  passes financial information using the EPP protocol, so
+
passes financial information using the EPP protocol, so
  confidentiality and integrity protection must be provided by the
+
confidentiality and integrity protection must be provided by the
  transport mechanism.  All transports compliant with [RFC5730] provide
+
transport mechanism.  All transports compliant with [RFC5730] provide
  the needed level of confidentiality and integrity protections.  The
+
the needed level of confidentiality and integrity protections.  The
  server will only provide information, including financial
+
server will only provide information, including financial
  information, that is relevant to the authenticated client.
+
information, that is relevant to the authenticated client.
  
8.  IANA Considerations
+
== IANA Considerations ==
  
8.1.  XML Namespace
+
=== XML Namespace ===
  
  This document uses URNs to describe XML namespaces and XML schemas
+
This document uses URNs to describe XML namespaces and XML schemas
  conforming to a registry mechanism described in [RFC3688].
+
conforming to a registry mechanism described in [RFC3688].
  
  Registration request for the fee namespace:
+
Registration request for the fee namespace:
  
  URI: urn:ietf:params:xml:ns:epp:fee-1.0
+
URI: urn:ietf:params:xml:ns:epp:fee-1.0
  
  Registrant Contact: IESG
+
Registrant Contact: IESG
  
  XML: None.  Namespace URIs do not represent an XML specification.
+
XML: None.  Namespace URIs do not represent an XML specification.
  
  Registration request for the fee schema:
+
Registration request for the fee schema:
  
  URI: urn:ietf:params:xml:schema:epp:fee-1.0
+
URI: urn:ietf:params:xml:schema:epp:fee-1.0
  
  Registrant Contact: IESG
+
Registrant Contact: IESG
  
  XML: See Section 6 of this document.
+
XML: See Section 6 of this document.
  
8.2.  EPP Extension Registry
+
=== EPP Extension Registry ===
  
  The EPP extension described in this document has been registered by
+
The EPP extension described in this document has been registered by
  IANA in the "Extensions for the Extensible Provisioning Protocol
+
IANA in the "Extensions for the Extensible Provisioning Protocol
  (EPP)" registry described in [RFC7451].  The details of the
+
(EPP)" registry described in [RFC7451].  The details of the
  registration are as follows:
+
registration are as follows:
  
  Name of Extension: Registry Fee Extension for the Extensible
+
Name of Extension: Registry Fee Extension for the Extensible
  Provisioning Protocol (EPP)
+
Provisioning Protocol (EPP)
  
  Document status: Standards Track
+
Document status: Standards Track
  
  Reference: RFC 8748
+
Reference: RFC 8748
  
  Registrant Name and Email Address: IESG <[email protected]>
+
Registrant Name and Email Address: IESG <[email protected]>
  
  TLDs: Any
+
TLDs: Any
  
  IPR Disclosure: None
+
IPR Disclosure: None
  
  Status: Active
+
Status: Active
  
  Notes: None
+
Notes: None
  
9.  References
+
== References ==
  
9.1.  Normative References
+
=== Normative References ===
  
  [ISO4217_2015]
+
[ISO4217_2015]
              ISO, "Codes for the representation of currencies",
+
          ISO, "Codes for the representation of currencies",
              ISO 4217:2015, August 2015,
+
          ISO 4217:2015, August 2015,
              <https://www.iso.org/standard/64758.html>.
+
          <https://www.iso.org/standard/64758.html>.
  
  [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
+
[RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119,
+
          Requirement Levels", BCP 14, RFC 2119,
              DOI 10.17487/RFC2119, March 1997,
+
          DOI 10.17487/RFC2119, March 1997,
              <https://www.rfc-editor.org/info/rfc2119>.
+
          <https://www.rfc-editor.org/info/rfc2119>.
  
  [RFC3688]  Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688,
+
[RFC3688]  Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688,
              DOI 10.17487/RFC3688, January 2004,
+
          DOI 10.17487/RFC3688, January 2004,
              <https://www.rfc-editor.org/info/rfc3688>.
+
          <https://www.rfc-editor.org/info/rfc3688>.
  
  [RFC3915]  Hollenbeck, S., "Domain Registry Grace Period Mapping for
+
[RFC3915]  Hollenbeck, S., "Domain Registry Grace Period Mapping for
              the Extensible Provisioning Protocol (EPP)", RFC 3915,
+
          the Extensible Provisioning Protocol (EPP)", RFC 3915,
              DOI 10.17487/RFC3915, September 2004,
+
          DOI 10.17487/RFC3915, September 2004,
              <https://www.rfc-editor.org/info/rfc3915>.
+
          <https://www.rfc-editor.org/info/rfc3915>.
  
  [RFC5646]  Phillips, A., Ed. and M. Davis, Ed., "Tags for Identifying
+
[RFC5646]  Phillips, A., Ed. and M. Davis, Ed., "Tags for Identifying
              Languages", BCP 47, RFC 5646, DOI 10.17487/RFC5646,
+
          Languages", BCP 47, RFC 5646, DOI 10.17487/RFC5646,
              September 2009, <https://www.rfc-editor.org/info/rfc5646>.
+
          September 2009, <https://www.rfc-editor.org/info/rfc5646>.
  
  [RFC5730]  Hollenbeck, S., "Extensible Provisioning Protocol (EPP)",
+
[RFC5730]  Hollenbeck, S., "Extensible Provisioning Protocol (EPP)",
              STD 69, RFC 5730, DOI 10.17487/RFC5730, August 2009,
+
          STD 69, RFC 5730, DOI 10.17487/RFC5730, August 2009,
              <https://www.rfc-editor.org/info/rfc5730>.
+
          <https://www.rfc-editor.org/info/rfc5730>.
  
  [RFC5731]  Hollenbeck, S., "Extensible Provisioning Protocol (EPP)
+
[RFC5731]  Hollenbeck, S., "Extensible Provisioning Protocol (EPP)
              Domain Name Mapping", STD 69, RFC 5731,
+
          Domain Name Mapping", STD 69, RFC 5731,
              DOI 10.17487/RFC5731, August 2009,
+
          DOI 10.17487/RFC5731, August 2009,
              <https://www.rfc-editor.org/info/rfc5731>.
+
          <https://www.rfc-editor.org/info/rfc5731>.
  
  [RFC8174]  Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC
+
[RFC8174]  Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC
              2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174,
+
          2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174,
              May 2017, <https://www.rfc-editor.org/info/rfc8174>.
+
          May 2017, <https://www.rfc-editor.org/info/rfc8174>.
  
  [RFC8334]  Gould, J., Tan, W., and G. Brown, "Launch Phase Mapping
+
[RFC8334]  Gould, J., Tan, W., and G. Brown, "Launch Phase Mapping
              for the Extensible Provisioning Protocol (EPP)", RFC 8334,
+
          for the Extensible Provisioning Protocol (EPP)", RFC 8334,
              DOI 10.17487/RFC8334, March 2018,
+
          DOI 10.17487/RFC8334, March 2018,
              <https://www.rfc-editor.org/info/rfc8334>.
+
          <https://www.rfc-editor.org/info/rfc8334>.
  
  [W3C.REC-xmlschema-1-20041028]
+
[W3C.REC-xmlschema-1-20041028]
              Thompson, H., Beech, D., Maloney, M., and N. Mendelsohn,
+
          Thompson, H., Beech, D., Maloney, M., and N. Mendelsohn,
              "XML Schema Part 1: Structures Second Edition", World Wide
+
          "XML Schema Part 1: Structures Second Edition", World Wide
              Web Consortium Recommendation REC-xmlschema-1-20041028,
+
          Web Consortium Recommendation REC-xmlschema-1-20041028,
              October 2004,
+
          October 2004,
              <http://www.w3.org/TR/2004/REC-xmlschema-1-20041028>.
+
          <http://www.w3.org/TR/2004/REC-xmlschema-1-20041028>.
  
9.2.  Informative References
+
=== Informative References ===
  
  [RFC7451]  Hollenbeck, S., "Extension Registry for the Extensible
+
[RFC7451]  Hollenbeck, S., "Extension Registry for the Extensible
              Provisioning Protocol", RFC 7451, DOI 10.17487/RFC7451,
+
          Provisioning Protocol", RFC 7451, DOI 10.17487/RFC7451,
              February 2015, <https://www.rfc-editor.org/info/rfc7451>.
+
          February 2015, <https://www.rfc-editor.org/info/rfc7451>.
  
 
Acknowledgements
 
Acknowledgements
  
  The authors wish to thank the following persons for their feedback
+
The authors wish to thank the following persons for their feedback
  and suggestions:
+
and suggestions:
  
  *  James Gould of Verisign Inc.
+
*  James Gould of Verisign Inc.
  *  Luis Munoz of ISC
+
*  Luis Munoz of ISC
  *  Michael Young
+
*  Michael Young
  *  Ben Levac
+
*  Ben Levac
  *  Jeff Eckhaus
+
*  Jeff Eckhaus
  *  Seth Goldman of Google
+
*  Seth Goldman of Google
  *  Klaus Malorny and Michael Bauland of Knipp
+
*  Klaus Malorny and Michael Bauland of Knipp
  *  Jody Kolker, Joe Snitker, and Kevin Allendorf of GoDaddy
+
*  Jody Kolker, Joe Snitker, and Kevin Allendorf of GoDaddy
  *  Michael Holloway of Com Laude
+
*  Michael Holloway of Com Laude
  *  Santosh Kalsangrah of Impetus Infotech
+
*  Santosh Kalsangrah of Impetus Infotech
  *  Alex Mayrhofer of Nic.at
+
*  Alex Mayrhofer of Nic.at
  *  Thomas Corte of Knipp Medien und Kommunikation GmbH
+
*  Thomas Corte of Knipp Medien und Kommunikation GmbH
  
 
Authors' Addresses
 
Authors' Addresses
  
  Roger Carney
+
Roger Carney
  GoDaddy Inc.
+
GoDaddy Inc.
  14455 N. Hayden Rd. #219
+
14455 N. Hayden Rd. #219
  Scottsdale, AZ 85260
+
Scottsdale, AZ 85260
  United States of America
+
United States of America
 
 
 
  URI:  http://www.godaddy.com
 
 
 
  
  Gavin Brown
+
  CentralNic Group plc
+
URI:  http://www.godaddy.com
  35-39 Moorgate
 
  London
 
  EC2R 6AR
 
  United Kingdom
 
  
  Phone: +44 20 33 88 0600
+
Gavin Brown
+
CentralNic Group plc
  URI:  http://www.centralnic.com
+
35-39 Moorgate
 +
London
 +
EC2R 6AR
 +
United Kingdom
  
 +
Phone: +44 20 33 88 0600
 +
 +
URI:  http://www.centralnic.com
  
  Jothan Frakes
+
Jothan Frakes
  
+
  URI:  http://jothan.com
+
URI:  http://jothan.com

Revision as of 13:02, 27 September 2020



Internet Engineering Task Force (IETF) R. Carney Request for Comments: 8748 GoDaddy Inc. Category: Standards Track G. Brown ISSN: 2070-1721 CentralNic Group plc

                                                           J. Frakes
                                                          March 2020
Registry Fee Extension for the Extensible Provisioning Protocol (EPP)

Abstract

Given the expansion of the DNS namespace and the proliferation of novel business models, it is desirable to provide a method for Extensible Provisioning Protocol (EPP) clients to query EPP servers for the fees and credits associated with various billable transactions and provide expected fees and credits for certain commands and objects. This document describes an EPP extension mapping for registry fees.

Status of This Memo

This is an Internet Standards Track document.

This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 7841.

Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at https://www.rfc-editor.org/info/rfc8748.

Copyright Notice

Copyright (c) 2020 IETF Trust and the persons identified as the document authors. All rights reserved.

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.

Table of Contents

1. Introduction

 1.1.  Conventions Used in This Document

2. Migrating to Newer Versions of This Extension 3. Extension Elements

 3.1.  Client Commands
 3.2.  Currency Codes
 3.3.  Validity Periods
 3.4.  Fees and Credits
   3.4.1.  Refunds
   3.4.2.  Grace Periods
   3.4.3.  Correlation between Refundability and Grace Periods
   3.4.4.  Applicability
 3.5.  Account Balance
 3.6.  Credit Limit
 3.7.  Classification of Objects
 3.8.  "Phase" and "Subphase" Attributes
 3.9.  Reason

4. Server Handling of Fee Information 5. EPP Command Mapping

 5.1.  EPP Query Commands
   5.1.1.  EPP <check> Command
   5.1.2.  EPP Transfer Query Command
 5.2.  EPP Transform Commands
   5.2.1.  EPP <create> Command
   5.2.2.  EPP <delete> Command
   5.2.3.  EPP <renew> Command
   5.2.4.  EPP <transfer> Command
   5.2.5.  EPP <update> Command

6. Formal Syntax

 6.1.  Fee Extension Schema

7. Security Considerations 8. IANA Considerations

 8.1.  XML Namespace
 8.2.  EPP Extension Registry

9. References

 9.1.  Normative References
 9.2.  Informative References

Acknowledgements Authors' Addresses

Introduction

Historically, domain name registries have applied a simple fee structure for billable transactions, namely a basic unit price applied to domain <create>, <renew>, <transfer>, and Redemption Grace Period (RGP) [RFC3915] restore commands. Given the relatively small number of EPP servers to which EPP clients have been required to connect, it has generally been the case that client operators have been able to obtain details of these fees out of band by contacting the server operators.

Given the expansion of the DNS namespace and the proliferation of novel business models, it is desirable to provide a method for EPP clients to query EPP servers for the fees and credits associated with various billable transactions and certain commands and specific objects.

This document describes an extension mapping for version 1.0 of the Extensible Provisioning Protocol (EPP) [RFC5730]. This EPP mapping provides a mechanism by which EPP clients may query the fees and credits associated with various billable transactions and obtain their current account balance.

Conventions Used in This Document

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

XML is case sensitive. Unless stated otherwise, the XML specifications and examples provided in this document MUST be interpreted in the character case presented in order to develop a conforming implementation.

"fee" is used as an abbreviation for "urn:ietf:params:xml:ns:epp:fee- 1.0". The XML namespace prefix "fee" is used, but implementations MUST NOT depend on it and instead employ a proper namespace-aware XML parser and serializer to interpret and output the XML documents.

In the examples, "C:" represents lines sent by a protocol client, and "S:" represents lines returned by a protocol server. Indentation and white space in the examples are provided only to illustrate element relationships and are not a required feature of this protocol.

Migrating to Newer Versions of This Extension

Servers that implement this extension SHOULD provide a way for clients to progressively update their implementations when a new version of the extension is deployed.

Servers SHOULD (for a temporary migration period) provide support for older versions of the extension in parallel to the newest version and allow clients to select their preferred version via the <svcExtension> element of the <login> command.

If a client requests multiple versions of the extension at login, then, when preparing responses to commands that do not include extension elements, the server SHOULD only include extension elements in the namespace of the newest version of the extension requested by the client.

When preparing responses to commands that do include extension elements, the server SHOULD only include extension elements for the extension versions present in the command.

Extension Elements

Client Commands

The <fee:command> element is used in the EPP <check> command to determine the fee that is applicable to the given command.

The "name" attribute of the <fee:command> is used to define which transform fees the client is requesting information about. The possible values for the "name" attribute are:

  • "create", indicating a <create> command as defined in [RFC5730].
  • "delete", indicating a <delete> command as defined in [RFC5730].
  • "renew", indicating a <renew> command as defined in [RFC5730].
  • "update", indicating a <update> command as defined in [RFC5730].
  • "transfer", indicating a <transfer> command as defined in
  [RFC5730].
  • If the server supports registry grace period mapping [RFC3915],
  then the server MUST also support the "restore" value as defined
  in [RFC3915].
  • "custom", indicating a custom command that MUST set the
  "customName" attribute with a custom command name.  The possible
  set of custom command name values is dictated by the server
  policy.

The <fee:command> element MAY have an OPTIONAL "phase" attribute specifying a launch phase as described in [RFC8334]. It may also contain an OPTIONAL "subphase" attribute identifying the custom or subphase as described in [RFC8334].

Currency Codes

The <fee:currency> element is used to indicate the currency in which fees are charged. The value of this element MUST be a three- character currency code from [ISO4217_2015].

Note that [ISO4217_2015] provides the special "XXX" code, which MAY be used if the server uses a non-currency-based system for assessing fees, such as a system of credits.

The use of <fee:currency> elements in client commands is OPTIONAL: if a <fee:currency> element is not present in a command, the server MUST determine the currency based on the server default currency or on the client's account settings, which are agreed to by the client and server via an out-of-band channel. However, the <fee:currency> element MUST be present in the responses.

Servers SHOULD NOT perform a currency conversion if a client uses an incorrect currency code. Servers SHOULD return a 2004 "Parameter value range error" instead.

Validity Periods

When querying for fee information using the <check> command, the <fee:period> element is used to indicate the validity period, which is to be added to extend the registration period of objects by the <create>, <renew>, and <transfer> commands. Validity periods are measured in years or months, with the appropriate units specified using the "unit" attribute. Valid values for the "unit" attribute are "y" for years and "m" for months. This element is derived from the <domain:period> element described in [RFC5731].

The <fee:period> element is OPTIONAL in <check> commands; if omitted, the server MUST determine the fee(s) using the server default period. The <fee:period> element MUST be present in <check> responses.

Fees and Credits

Servers that implement this extension will include elements in responses that provide information about the fees and/or credits associated with a given billable transaction. A fee will result in subtracting from the Account Balance (described in Section 3.5), and a credit will result in adding to the Account Balance (described in Section 3.5).

The <fee:fee> and <fee:credit> elements are used to provide this information. The presence of a <fee:fee> element in a response indicates a debit against the client's account balance; a <fee:credit> element indicates a credit. A <fee:fee> element MUST have a zero or greater (non-negative) value. A <fee:credit> element MUST have a negative value.

A server MAY respond with multiple <fee:fee> and <fee:credit> elements in the same response. In such cases, the net fee or credit applicable to the transaction is the arithmetic sum of the values of each of the <fee:fee> and/or <fee:credit> elements. This amount applies to the total additional validity period for the object (where applicable).

The following attributes are defined for the <fee:fee> element. These are described in detail below:

description: an OPTIONAL attribute that provides a human-readable

  description of the fee.  Servers should provide documentation on
  the possible values of this attribute and their meanings.  An
  OPTIONAL "lang" attribute MAY be present, per the language
  structure in [RFC5646], to identify the language of the returned
  text and has a default value of "en" (English).  If the
  "description" attribute is not present, the "lang" attribute can
  be ignored.

refundable: an OPTIONAL boolean attribute indicating whether the fee

  is refundable if the object is deleted.

grace-period: an OPTIONAL attribute that provides the time period

  during which the fee is refundable.

applied: an OPTIONAL attribute indicating when the fee will be

  deducted from the client's account.

The <fee:credit> element can take a "description" attribute as described above. An OPTIONAL "lang" attribute MAY be present to identify the language of the returned text and has a default value of "en" (English).

Refunds

<fee:fee> elements MAY have an OPTIONAL "refundable" attribute that takes a boolean value. Fees may be refunded under certain circumstances, such as when a domain application is rejected (as described in [RFC8334]) or when an object is deleted during the relevant grace period (see Section 3.4.2).

If the "refundable" attribute is omitted, then clients SHOULD NOT make any assumptions about the refundability of the fee.

Grace Periods

[RFC3915] describes a system of "grace periods", which are time periods following a billable transaction during which, if an object is deleted, the client receives a refund.

The "grace-period" attribute MAY be used to indicate the relevant grace period for a fee. If a server implements the registry grace period extension [RFC3915], it MUST specify the grace period for all relevant transactions.

If the "grace-period" attribute is omitted, then clients SHOULD NOT make any assumptions about the grace period of the fee.

Correlation between Refundability and Grace Periods

If a <fee:fee> element has a "grace-period" attribute, then it MUST also be refundable, and the "refundable" attribute MUST be true. If the "refundable" attribute of a <fee:fee> element is false, then it MUST NOT have a "grace-period" attribute.

Applicability

Fees may be applied immediately upon receipt of a command from a client or may only be applied once an out-of-band process (such as the processing of applications at the end of a launch phase) has taken place.

The "applied" attribute of the <fee:fee> element allows servers to indicate whether a fee will be applied immediately or whether it will be applied at some point in the future. This attribute takes two possible values: "immediate" or "delayed".

Account Balance

The <fee:balance> element is an OPTIONAL element that MAY be included in server responses to transform commands. If present, it can be used by the client to determine the remaining credit at the server.

Whether or not the <fee:balance> is included in responses is a matter of server policy. However, if a server chooses to offer support for this element, it MUST be included in responses to all "transform" or billable commands (e.g., <create>, <renew>, <update>, <delete>, <transfer op="request">).

The value of the <fee:balance> MAY be negative. A negative balance indicates that the server has extended a line of credit to the client (see Section 3.6).

If a server includes a <fee:balance> element in response to transform commands, the value of the element MUST reflect the client's account balance after any fees or credits associated with that command have been applied. If the "applied" attribute of the <fee:fee> element is "delayed", then the <fee:balance> MUST reflect the client's account balance without any fees or credits associated with that command.

Credit Limit

As described above, if a server returns a response containing a <fee:balance> with a negative value, then the server has extended a line of credit to the client. A server MAY also include in responses a <fee:creditLimit> element that indicates the maximum credit available to a client. A server MAY reject certain transactions if the absolute value of the <fee:balance> is equal to or exceeds the value of the <fee:creditLimit> element.

Whether or not the <fee:creditLimit> is included in responses is a matter of server policy. However, if a server chooses to offer support for this element, it MUST be included in responses to all "transform" commands (e.g., <create>, <renew>, <update>, <delete>, <transfer op="request">).

Classification of Objects

Objects may be assigned to a particular class, category, or tier, each of which has a particular fee or set of fees associated with it. The <fee:class> element, which MAY appear in <check> and transform responses, is used to indicate the classification of an object.

If a server makes use of this element, it should provide clients with a list of all the values that the element may take via an out-of-band channel. Servers MUST NOT use values that do not appear on this list.

Servers that make use of this element MUST use a <fee:class> element with the value "standard" for all objects that are subject to the standard or default fee.

"Phase" and "Subphase" Attributes

The <fee:command> element has two attributes, "phase" and "subphase", that provide additional information related to a specific launch phase, as described in [RFC8334]. These attributes are used as filters that should refine the server processing.

If the client <fee:command> contains a server-supported combination of phase/subphase, the server MUST return the fee data (including the phase/subphase attribute(s)) for the specific combination.

If the client <fee:command> contains no "phase"/"subphase" attributes and the server has only one active phase/subphase combination, the server MUST return the data (including the "phase"/"subphase" attribute(s)) of the currently active phase/subphase.

If the client <fee:command> contains no phase/subphase attributes and the server has more than one active phase/subphase combination, the server MUST respond with a 2003 "Required parameter missing" error.

If the client <fee:command> contains no phase/subphase attributes and the server is currently in a "quiet period" (e.g., not accepting registrations or applications), the server MUST return data consistent with the default general availability phase (e.g., "open" or "claims"), including the appropriate phase/subphase attribute(s).

If the client <fee:command> contains a phase attribute with no subphase and the server has only one active subphase (or no subphase) of this phase, the server MUST return the data (including the phase/ subphase attribute(s)) of the provided phase and currently active subphase.

If the client <fee:command> contains a phase attribute with no subphase and the server has more than one active subphase combination of this phase, the server MUST respond with a 2003 "Required parameter missing" error.

If the client <fee:command> contains a subphase with no phase attribute, the server MUST respond with a 2003 "Required parameter missing" error.

If the client <fee:command> contains a phase attribute not defined in [RFC8334] or not supported by the server, the server MUST respond with a 2004 "Parameter value range error".

If the client <fee:command> contains a subphase attribute (or phase/ subphase combination) not supported by the server, the server MUST respond with a 2004 "Parameter value range error".

Reason

The <fee:reason> element is used to provide server-specific text in an effort to better explain why a <check> command did not complete as the client expected. An OPTIONAL "lang" attribute MAY be present to identify the language, per the language structure in [RFC5646], of the returned text and has a default value of "en" (English).

The <fee:reason> element can be used within the server response <fee:command> element or within the <fee:cd> element. See Section 5.1.1 for details on the <fee:cd> "check data" element.

If the server cannot calculate the relevant fees because the object, command, currency, period, class, or some combination is invalid per server policy, the server has two ways of handling the error processing of <fee:command> element(s):

1. Fast-fail: The server, upon error identification, MAY stop

   processing <fee:command> elements and return a <fee:cd> to the
   client containing the <fee:objID> and a <fee:reason> element
   detailing the reason for failure.
      S: <fee:cd avail="0">
      S:   <fee:objID>example.xyz</fee:objID>
      S:   <fee:reason>Only 1 year registration periods are
      S:   valid.</fee:reason>
      S: </fee:cd>

2. Partial-fail: The server, upon error identification, MAY continue

   processing <fee:command> elements and return a <fee:cd> to the
   client containing the successfully processed <fee:command>
   elements and failed <fee:command> elements.  All returned failed
   <fee:command> elements MUST have a <fee:reason> element detailing
   the reason for failure, and the server MAY additionally include a
   <fee:reason> element at the <fee:cd> level.
      S: <fee:cd avail="0">
      S:   <fee:objID>example.xyz</fee:objID>
      S:   <fee:command name="create">
      S:     <fee:period unit="y">2</fee:period>
      S:     <fee:reason>Only 1 year registration periods are
      S:     valid.</fee:reason>
      S:   </fee:command>
      S: </fee:cd>

In either failure scenario, the server MUST set the <fee:cd> "avail" attribute to false (0), and the server MUST process all objects in the client request.

Server Handling of Fee Information

Depending on the server policy, a client MAY be required to include the extension elements described in this document for certain transform commands. Servers must provide clear documentation to clients about the circumstances in which this extension must be used.

The server MUST return avail="0" in its response to a <check> command for any object in the <check> command that does not include the <fee:check> extension where the server would fail a domain <create> command when no <fee> extension is provided for that same object.

If a server receives a <check> command from a client that results in no possible fee combination, the server MUST set the "avail" attribute of the <fee:cd> element to false (0) and provide a <fee:reason>.

If a server receives a <check> command from a client that results in an ambiguous result (i.e., multiple possible fee combinations), the server MUST reject the command with a 2003 "Required parameter missing" error.

If a server receives a command from a client that does not include the fee extension data elements required by the server for that command, then the server MUST respond with a 2003 "Required parameter missing" error.

If the total fee provided by the client is less than the server's own calculation of the fee or the server determines the currency is inappropriate for that command, then the server MUST reject the command with a 2004 "Parameter value range error".

EPP Command Mapping

A detailed description of the EPP syntax and semantics can be found in [RFC5730].

EPP Query Commands

This extension does not add any elements to the EPP <poll> or <info> commands or responses.

EPP <check> Command

This extension defines a new command called the Fee Check Command that defines additional elements for the EPP <check> command to provide fee information.

The command MAY contain an <extension> element, which MAY contain a <fee:check> element. The <fee:check> element MAY contain one <fee:currency> element and MUST contain one or more <fee:command> elements.

The <fee:command> element(s) MUST contain a "name" attribute (see Section 3.1), an OPTIONAL "phase" attribute, and an OPTIONAL "subphase" attribute (see Section 3.8). The <fee:command> element(s) MAY have the following child elements:

  • An OPTIONAL <fee:period> element (as described in Section 3.3).

Example <check> command:

C: <?xml version="1.0" encoding="utf-8" standalone="no"?> C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> C: <command> C: <check> C: <domain:check C: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> C: <domain:name>example.com</domain:name> C: <domain:name>example.net</domain:name> C: <domain:name>example.xyz</domain:name> C: </domain:check> C: </check> C: <extension> C: <fee:check xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> C: <fee:currency>USD</fee:currency> C: <fee:command name="create"> C: <fee:period unit="y">2</fee:period> C: </fee:command> C: <fee:command name="renew"/> C: <fee:command name="transfer"/> C: <fee:command name="restore"/> C: </fee:check> C: </extension> C: <clTRID>ABC-12345</clTRID> C: </command> C: </epp>

When the server receives a <check> command that includes the extension elements described above, its response MUST contain an <extension> element, which MUST contain a child <fee:chkData> element. The <fee:chkData> element MUST contain a <fee:currency> element and a <fee:cd> element for each object referenced in the client <check> command.

Each <fee:cd> (check data) element MUST contain the following child elements:

  • A <fee:objID> element, which MUST match an element referenced in
  the client <check> command.
  • An OPTIONAL <fee:class> element (as described in Section 3.7).
  • A <fee:command> element matching each <fee:command> (unless the
  "avail" attribute of the <fee:cd> is false) that appeared in the
  corresponding <fee:check> of the client command.  This element MAY
  have the OPTIONAL "standard" attribute, with a default value of
  "0" (or "false"), which indicates whether the fee is the standard
  or default fee (see Section 3.7).  This element MAY have the
  OPTIONAL "phase" and "subphase" attributes, which will match the
  same attributes in the corresponding <fee:command> element of the
  client command if sent by the client.

The <fee:cd> element also has an OPTIONAL "avail" attribute, which is a boolean. If the value of this attribute evaluates to false, this indicates that the server cannot calculate the relevant fees because the object, command, currency, period, class, or some combination is invalid per server policy. If "avail" is false, then the <fee:cd> or the <fee:command> element MUST contain a <fee:reason> element (as described in Section 3.9), and the server MAY eliminate some or all of the <fee:command> element(s).

The <fee:command> element(s) MAY have the following child elements:

  • An OPTIONAL <fee:period> element (as described in Section 3.3),
  which contains the same unit, if present, that appeared in the
  <fee:period> element of the command.  If the value of the parent
  <fee:command> element is "restore", this element MUST NOT be
  included; otherwise, it MUST be included.  If no <fee:period>
  appeared in the client command (and the command is not "restore"),
  then the server MUST return its default period value.
  • Zero or more <fee:fee> elements (as described in Section 3.4).
  • Zero or more <fee:credit> elements (as described in Section 3.4).
  • An OPTIONAL <fee:reason> element (as described in Section 3.9).

If the "avail" attribute of the <fee:cd> element is true (1) and if no <fee:fee> elements are present in a <fee:command> element, this indicates that no fee will be assessed by the server for this command.

If the "avail" attribute of the <fee:cd> element is true (1), then the <fee:command> element MUST NOT contain a <fee:reason> element.

Example <check> response:

S: <?xml version="1.0" encoding="utf-8" standalone="no"?> S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> S: <response> S: <result code="1000"> S: <msg>Command completed successfully</msg> S: </result> S: <resData> S: <domain:chkData S: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> S: <domain:cd> S: <domain:name avail="1">example.com</domain:name> S: </domain:cd> S: <domain:cd> S: <domain:name avail="1">example.net</domain:name> S: </domain:cd> S: <domain:cd> S: <domain:name avail="1">example.xyz</domain:name> S: </domain:cd> S: </domain:chkData> S: </resData> S: <extension> S: <fee:chkData S: xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> S: <fee:currency>USD</fee:currency> S: <fee:cd avail="1"> S: <fee:objID>example.com</fee:objID> S: <fee:class>Premium</fee:class> S: <fee:command name="create"> S: <fee:period unit="y">2</fee:period> S: <fee:fee S: description="Registration Fee" S: refundable="1" S: grace-period="P5D">10.00</fee:fee> S: </fee:command> S: <fee:command name="renew"> S: <fee:period unit="y">1</fee:period> S: <fee:fee S: description="Renewal Fee" S: refundable="1" S: grace-period="P5D">10.00</fee:fee> S: </fee:command> S: <fee:command name="transfer"> S: <fee:period unit="y">1</fee:period> S: <fee:fee S: description="Transfer Fee" S: refundable="1" S: grace-period="P5D">10.00</fee:fee> S: </fee:command> S: <fee:command name="restore"> S: <fee:fee S: description="Redemption Fee">15.00</fee:fee> S: </fee:command> S: </fee:cd> S: <fee:cd avail="1"> S: <fee:objID>example.net</fee:objID> S: <fee:class>standard</fee:class> S: <fee:command name="create" standard="1"> S: <fee:period unit="y">2</fee:period> S: <fee:fee S: description="Registration Fee" S: refundable="1" S: grace-period="P5D">5.00</fee:fee> S: </fee:command> S: <fee:command name="renew" standard="1"> S: <fee:period unit="y">1</fee:period> S: <fee:fee S: description="Renewal Fee" S: refundable="1" S: grace-period="P5D">5.00</fee:fee> S: </fee:command> S: <fee:command name="transfer" standard="1"> S: <fee:period unit="y">1</fee:period> S: <fee:fee S: description="Transfer Fee" S: refundable="1" S: grace-period="P5D">5.00</fee:fee> S: </fee:command> S: <fee:command name="restore" standard="1"> S: <fee:fee S: description="Redemption Fee">5.00</fee:fee> S: </fee:command> S: </fee:cd> S: <fee:cd avail="0"> S: <fee:objID>example.xyz</fee:objID> S: <fee:command name="create"> S: <fee:period unit="y">2</fee:period> S: <fee:reason>Only 1 year registration periods are S: valid.</fee:reason> S: </fee:command> S: </fee:cd> S: </fee:chkData> S: </extension> S: <trID> S: <clTRID>ABC-12345</clTRID> S: <svTRID>54322-XYZ</svTRID> S: </trID> S: </response> S: </epp>

EPP Transfer Query Command

This extension does not add any elements to the EPP <transfer> query command, but it does include elements in the response when the extension is included in the <login> command service extensions.

When the <transfer> query command has been processed successfully, if the client has included the extension in the <login> command service <svcExtension> element, and if the client is authorized by the server to view information about the transfer, then the server MAY include in the <extension> section of the EPP response a <fee:trnData> element, which contains the following child elements:

  • A <fee:currency> element (as described in Section 3.2).
  • A <fee:period> element (as described in Section 3.3).
  • Zero or more <fee:fee> elements (as described in Section 3.4)
  containing the fees that will be charged to the gaining client.
  • Zero or more <fee:credit> elements (as described in Section 3.4)
  containing the credits that will be refunded to the losing client.

Servers SHOULD omit <fee:credit> when returning a response to the gaining client and omit <fee:fee> elements when returning a response to the losing client.

If no <fee:trnData> element is included in the response, then no fee will be assessed by the server for the transfer.

Example <transfer> query response:

S: <?xml version="1.0" encoding="utf-8" standalone="no"?> S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> S: <response> S: <result code="1001"> S: <msg>Command completed successfully; action pending</msg> S: </result> S: <resData> S: <domain:trnData S: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> S: <domain:name>example.com</domain:name> S: <domain:trStatus>pending</domain:trStatus> S: <domain:reID>ClientX</domain:reID> S: <domain:reDate>2019-06-08T22:00:00.0Z</domain:reDate> S: <domain:acID>ClientY</domain:acID> S: <domain:acDate>2019-06-13T22:00:00.0Z</domain:acDate> S: <domain:exDate>2021-09-08T22:00:00.0Z</domain:exDate> S: </domain:trnData> S: </resData> S: <extension> S: <fee:trnData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> S: <fee:currency>USD</fee:currency> S: <fee:period unit="y">1</fee:period> S: <fee:fee>5.00</fee:fee> S: </fee:trnData> S: </extension> S: <trID> S: <clTRID>ABC-12345</clTRID> S: <svTRID>54322-XYZ</svTRID> S: </trID> S: </response> S: </epp>

EPP Transform Commands

EPP <create> Command

This extension adds elements to both the EPP <create> command and response when the extension is included in the <login> command service extensions.

When submitting a <create> command to the server, the client MAY include in the <extension> element a <fee:create> element, which includes the following child elements:

  • An OPTIONAL <fee:currency> element (as described in Section 3.2).
  • One or more <fee:fee> elements (as described in Section 3.4).

When the <create> command has been processed successfully, the client included the extension in the <login> command service extensions, and a fee was assessed by the server for the transaction, the server MUST include in the <extension> section of the EPP response a <fee:creData> element, which contains the following child elements:

  • A <fee:currency> element (as described in Section 3.2).
  • Zero or more <fee:fee> elements (as described in Section 3.4).
  • Zero or more <fee:credit> elements (as described in Section 3.4).
  • An OPTIONAL <fee:balance> element (as described in Section 3.5).
  • An OPTIONAL <fee:creditLimit> element (as described in
  Section 3.6).

Example <create> command:

C: <?xml version="1.0" encoding="utf-8" standalone="no"?> C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> C: <command> C: <create> C: <domain:create C: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> C: <domain:name>example.com</domain:name> C: <domain:period unit="y">2</domain:period> C: <domain:ns> C: <domain:hostObj>ns1.example.net</domain:hostObj> C: <domain:hostObj>ns2.example.net</domain:hostObj> C: </domain:ns> C: <domain:registrant>jd1234</domain:registrant> C: <domain:contact type="admin">sh8013</domain:contact> C: <domain:contact type="tech">sh8013</domain:contact> C: <domain:authInfo> C: <domain:pw>2fooBAR</domain:pw> C: </domain:authInfo> C: </domain:create> C: </create> C: <extension> C: <fee:create xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> C: <fee:currency>USD</fee:currency> C: <fee:fee>5.00</fee:fee> C: </fee:create> C: </extension> C: <clTRID>ABC-12345</clTRID> C: </command> C: </epp>

Example <create> response:

S: <?xml version="1.0" encoding="utf-8" standalone="no"?> S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> S: <response> S: <result code="1000"> S: <msg>Command completed successfully</msg> S: </result> S: <resData> S: <domain:creData S: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> S: <domain:name>example.com</domain:name> S: <domain:crDate>2019-04-03T22:00:00.0Z</domain:crDate> S: <domain:exDate>2021-04-03T22:00:00.0Z</domain:exDate> S: </domain:creData> S: </resData> S: <extension> S: <fee:creData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> S: <fee:currency>USD</fee:currency> S: <fee:fee S: description="Registration Fee" S: lang="en" S: refundable="1" S: grace-period="P5D">5.00</fee:fee> S: <fee:balance>-5.00</fee:balance> S: <fee:creditLimit>1000.00</fee:creditLimit> S: </fee:creData> S: </extension> S: <trID> S: <clTRID>ABC-12345</clTRID> S: <svTRID>54321-XYZ</svTRID> S: </trID> S: </response> S: </epp>

EPP <delete> Command

This extension does not add any elements to the EPP <delete> command, but it does include elements in the response when the extension is included in the <login> command service extensions.

When the <delete> command has been processed successfully and the client included the extension in the <login> command service extensions, the server MAY include in the <extension> section of the EPP response a <fee:delData> element, which contains the following child elements:

  • A <fee:currency> element (as described in Section 3.2).
  • Zero or more <fee:fee> elements (as described in Section 3.4).
  • Zero or more <fee:credit> elements (as described in Section 3.4).
  • An OPTIONAL <fee:balance> element (as described in Section 3.5).
  • An OPTIONAL <fee:creditLimit> element (as described in
  Section 3.6).

Example <delete> response:

S: <?xml version="1.0" encoding="utf-8" standalone="no"?> S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> S: <response> S: <result code="1000"> S: <msg>Command completed successfully</msg> S: </result> S: <extension> S: <fee:delData S: xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> S: <fee:currency>USD</fee:currency> S: <fee:credit S: description="AGP Credit" S: lang="en">-5.00</fee:credit> S: <fee:balance>1005.00</fee:balance> S: </fee:delData> S: </extension> S: <trID> S: <clTRID>ABC-12345</clTRID> S: <svTRID>54321-XYZ</svTRID> S: </trID> S: </response> S: </epp>

EPP <renew> Command

This extension adds elements to both the EPP <renew> command and response when the extension is included in the <login> command service extensions.

When submitting a <renew> command to the server, the client MAY include in the <extension> element a <fee:renew> element, which includes the following child elements:

  • An OPTIONAL <fee:currency> element (as described in Section 3.2).
  • One or more <fee:fee> elements (as described in Section 3.4).

When the <renew> command has been processed successfully and the client included the extension in the <login> command service extensions, the server MAY include in the <extension> section of the EPP response a <fee:renData> element, which contains the following child elements:

  • A <fee:currency> element (as described in Section 3.2).
  • Zero or more <fee:fee> elements (as described in Section 3.4).
  • Zero or more <fee:credit> elements (as described in Section 3.4).
  • An OPTIONAL <fee:balance> element (as described in Section 3.5).
  • An OPTIONAL <fee:creditLimit> element (as described in
  Section 3.6).

Example <renew> command:

C: <?xml version="1.0" encoding="utf-8" standalone="no"?> C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> C: <command> C: <renew> C: <domain:renew C: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> C: <domain:name>example.com</domain:name> C: <domain:curExpDate>2019-04-03</domain:curExpDate> C: <domain:period unit="y">5</domain:period> C: </domain:renew> C: </renew> C: <extension> C: <fee:renew xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> C: <fee:currency>USD</fee:currency> C: <fee:fee>5.00</fee:fee> C: </fee:renew> C: </extension> C: <clTRID>ABC-12345</clTRID> C: </command> C: </epp>

Example <renew> response:

S: <?xml version="1.0" encoding="utf-8" standalone="no"?> S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> S: <response> S: <result code="1000"> S: <msg>Command completed successfully</msg> S: </result> S: <resData> S: <domain:renData S: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> S: <domain:name>example.com</domain:name> S: <domain:exDate>2024-04-03T22:00:00.0Z</domain:exDate> S: </domain:renData> S: </resData> S: <extension> S: <fee:renData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> S: <fee:currency>USD</fee:currency> S: <fee:fee S: refundable="1" S: grace-period="P5D">5.00</fee:fee> S: <fee:balance>1000.00</fee:balance> S: </fee:renData> S: </extension> S: <trID> S: <clTRID>ABC-12345</clTRID> S: <svTRID>54322-XYZ</svTRID> S: </trID> S: </response> S: </epp>

EPP <transfer> Command

This extension adds elements to both the EPP <transfer> command and response when the value of the "op" attribute of the <transfer> command element is "request" and the extension is included in the <login> command service extensions.

When submitting a <transfer> command to the server, the client MAY include in the <extension> element a <fee:transfer> element, which includes the following child elements:

  • An OPTIONAL <fee:currency> element (as described in Section 3.2).
  • One or more <fee:fee> elements (as described in Section 3.4).

When the <transfer> command has been processed successfully and the client included the extension in the <login> command service extensions, the server MAY include in the <extension> section of the EPP response a <fee:trnData> element, which contains the following child elements:

  • A <fee:currency> element (as described in Section 3.2).
  • Zero or more <fee:fee> elements (as described in Section 3.4).
  • Zero or more <fee:credit> elements (as described in Section 3.4).
  • An OPTIONAL <fee:balance> element (as described in Section 3.5).
  • An OPTIONAL <fee:creditLimit> element (as described in
  Section 3.6).

Example <transfer> command:

C: <?xml version="1.0" encoding="utf-8" standalone="no"?> C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> C: <command> C: <transfer op="request"> C: <domain:transfer C: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> C: <domain:name>example.com</domain:name> C: <domain:period unit="y">1</domain:period> C: <domain:authInfo> C: <domain:pw roid="JD1234-REP">2fooBAR</domain:pw> C: </domain:authInfo> C: </domain:transfer> C: </transfer> C: <extension> C: <fee:transfer xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> C: <fee:currency>USD</fee:currency> C: <fee:fee>5.00</fee:fee> C: </fee:transfer> C: </extension> C: <clTRID>ABC-12345</clTRID> C: </command> C: </epp>

Example <transfer> response:

S: <?xml version="1.0" encoding="utf-8" standalone="no"?> S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> S: <response> S: <result code="1001"> S: <msg>Command completed successfully; action pending</msg> S: </result> S: <resData> S: <domain:trnData S: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> S: <domain:name>example.com</domain:name> S: <domain:trStatus>pending</domain:trStatus> S: <domain:reID>ClientX</domain:reID> S: <domain:reDate>2019-06-08T22:00:00.0Z</domain:reDate> S: <domain:acID>ClientY</domain:acID> S: <domain:acDate>2019-06-13T22:00:00.0Z</domain:acDate> S: <domain:exDate>2021-09-08T22:00:00.0Z</domain:exDate> S: </domain:trnData> S: </resData> S: <extension> S: <fee:trnData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> S: <fee:currency>USD</fee:currency> S: <fee:fee S: refundable="1" S: grace-period="P5D">5.00</fee:fee> S: </fee:trnData> S: </extension> S: <trID> S: <clTRID>ABC-12345</clTRID> S: <svTRID>54322-XYZ</svTRID> S: </trID> S: </response> S: </epp>

EPP <update> Command

This extension adds elements to both the EPP <update> command and response when the extension is included in the <login> command service extensions.

When submitting an <update> command to the server, the client MAY include in the <extension> element a <fee:update> element, which includes the following child elements:

  • An OPTIONAL <fee:currency> element (as described in Section 3.2).
  • One or more <fee:fee> elements (as described in Section 3.4).

When the <update> command has been processed successfully and the client included the extension in the <login> command service extensions, the server MAY include in the <extension> section of the EPP response a <fee:updData> element, which contains the following child elements:

  • A <fee:currency> element (as described in Section 3.2).
  • Zero or more <fee:fee> elements (as described in Section 3.4).
  • Zero or more <fee:credit> elements (as described in Section 3.4).
  • An OPTIONAL <fee:balance> element (as described in Section 3.5).
  • An OPTIONAL <fee:creditLimit> element (as described in
  Section 3.6).

Example <update> command:

C: <?xml version="1.0" encoding="utf-8" standalone="no"?> C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> C: <command> C: <update> C: <domain:update C: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> C: <domain:name>example.com</domain:name> C: <domain:chg> C: <domain:registrant>sh8013</domain:registrant> C: </domain:chg> C: </domain:update> C: </update> C: <extension> C: <fee:update xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> C: <fee:currency>USD</fee:currency> C: <fee:fee>5.00</fee:fee> C: </fee:update> C: </extension> C: <clTRID>ABC-12345</clTRID> C: </command> C: </epp>

Example <update> response:

S: <?xml version="1.0" encoding="utf-8" standalone="no"?> S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> S: <response> S: <result code="1000"> S: <msg>Command completed successfully</msg> S: </result> S: <extension> S: <fee:updData xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"> S: <fee:currency>USD</fee:currency> S: <fee:fee>5.00</fee:fee> S: </fee:updData> S: </extension> S: <trID> S: <clTRID>ABC-12345</clTRID> S: <svTRID>54321-XYZ</svTRID> S: </trID> S: </response> S: </epp>

Formal Syntax

One schema is presented here -- the EPP Fee Extension schema.

The formal syntax presented here is a complete schema representation of the object mapping suitable for automated validation of EPP XML instances.

Fee Extension Schema

The formal syntax presented here is a complete schema representation [W3C.REC-xmlschema-1-20041028] of the object mapping suitable for automated validation of EPP XML instances. The and tags are not part of the schema; they are used to note the beginning and end of the schema for URI registration purposes.

<?xml version="1.0" encoding="utf-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema"

 xmlns:fee="urn:ietf:params:xml:ns:epp:fee-1.0"
 xmlns:eppcom="urn:ietf:params:xml:ns:eppcom-1.0"
 xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
 targetNamespace="urn:ietf:params:xml:ns:epp:fee-1.0"
 elementFormDefault="qualified">
 <import namespace="urn:ietf:params:xml:ns:eppcom-1.0" />
 <import namespace="urn:ietf:params:xml:ns:domain-1.0" />
 <annotation>
   <documentation>
     Extensible Provisioning Protocol v1.0 Fee Extension
   </documentation>
 </annotation>
 <element name="check" type="fee:checkType" />
 <element name="chkData" type="fee:chkDataType" />
 <element name="create" type="fee:transformCommandType" />
 <element name="creData" type="fee:transformResultType" />
 <element name="renew" type="fee:transformCommandType" />
 <element name="renData" type="fee:transformResultType" />
 <element name="transfer" type="fee:transformCommandType" />
 <element name="trnData" type="fee:transformResultType" />
 <element name="update" type="fee:transformCommandType" />
 <element name="updData" type="fee:transformResultType" />
 <element name="delData" type="fee:transformResultType" />
 <complexType name="checkType">
   <sequence>
     <element name="currency" type="fee:currencyType"
       minOccurs="0" />
     <element name="command" type="fee:commandType"
       minOccurs="1" maxOccurs="unbounded" />
   </sequence>
 </complexType>
 <complexType name="objectIdentifierType">
   <simpleContent>
     <extension base="eppcom:labelType">
       <attribute name="element"
       type="NMTOKEN" default="name" />
     </extension>
   </simpleContent>
 </complexType>
 <complexType name="chkDataType">
   <sequence>
     <element name="currency" type="fee:currencyType" />
     <element name="cd" type="fee:objectCDType"
       maxOccurs="unbounded" />
   </sequence>
 </complexType>
 <complexType name="objectCDType">
   <sequence>
     <element name="objID" type="fee:objectIdentifierType" />
     <element name="class" type="token" minOccurs="0" />
     <element name="command" type="fee:commandDataType"
       minOccurs="0" maxOccurs="unbounded" />
     <element name="reason" type="fee:reasonType" minOccurs="0" />
   </sequence>
   <attribute name="avail" type="boolean" default="1" />
 </complexType>
 <complexType name="transformCommandType">
   <sequence>
     <element name="currency" type="fee:currencyType"
       minOccurs="0" />
     <element name="fee" type="fee:feeType"
       maxOccurs="unbounded" />
     <element name="credit" type="fee:creditType"
       minOccurs="0" maxOccurs="unbounded" />
   </sequence>
 </complexType>
 <complexType name="transformResultType">
   <sequence>
     <element name="currency" type="fee:currencyType"
       minOccurs="0" />
     <element name="period" type="domain:periodType"
       minOccurs="0" />
     <element name="fee" type="fee:feeType"
       minOccurs="0" maxOccurs="unbounded" />
     <element name="credit" type="fee:creditType"
       minOccurs="0" maxOccurs="unbounded" />
     <element name="balance" type="fee:balanceType"
       minOccurs="0" />
     <element name="creditLimit" type="fee:creditLimitType"
       minOccurs="0" />
   </sequence>
 </complexType>
 <simpleType name="currencyType">
   <restriction base="string">
     <pattern value="[A-Z]{3}" />
   </restriction>
 </simpleType>
 <complexType name="commandType">
   <sequence>
     <element name="period" type="domain:periodType"
       minOccurs="0" maxOccurs="1" />
   </sequence>
   <attribute name="name" type="fee:commandEnum" use="required"/>
   <attribute name="customName" type="token"/>
   <attribute name="phase" type="token" />
   <attribute name="subphase" type="token" />
 </complexType>
 <complexType name="commandDataType">
   <complexContent>
     <extension base="fee:commandType">
       <sequence>
         <element name="fee" type="fee:feeType"
           minOccurs="0" maxOccurs="unbounded" />
         <element name="credit" type="fee:creditType"
           minOccurs="0" maxOccurs="unbounded" />
         <element name="reason" type="fee:reasonType"
           minOccurs="0" />
       </sequence>
       <attribute name="standard" type="boolean" default="0" />
     </extension>
   </complexContent>
 </complexType>
 <complexType name="reasonType">
   <simpleContent>
     <extension base="token">
       <attribute name="lang" type="language" default="en"/>
     </extension>
   </simpleContent>
 </complexType>
 <simpleType name="commandEnum">
   <restriction base="token">
     <enumeration value="create"/>
     <enumeration value="delete"/>
     <enumeration value="renew"/>
     <enumeration value="update"/>
     <enumeration value="transfer"/>
     <enumeration value="restore"/>
     <enumeration value="custom"/>
   </restriction>
 </simpleType>
 <simpleType name="nonNegativeDecimal">
   <restriction base="decimal">
     <minInclusive value="0" />
   </restriction>
 </simpleType>
 <simpleType name="negativeDecimal">
   <restriction base="decimal">
     <maxInclusive value="0" />
   </restriction>
 </simpleType>
 <complexType name="feeType">
   <simpleContent>
     <extension base="fee:nonNegativeDecimal">
       <attribute name="description"/>
       <attribute name="lang" type="language" default="en"/>
       <attribute name="refundable" type="boolean" />
       <attribute name="grace-period" type="duration" />
       <attribute name="applied">
         <simpleType>
           <restriction base="token">
             <enumeration value="immediate" />
             <enumeration value="delayed" />
           </restriction>
         </simpleType>
       </attribute>
     </extension>
   </simpleContent>
 </complexType>
 <complexType name="creditType">
   <simpleContent>
     <extension base="fee:negativeDecimal">
       <attribute name="description"/>
       <attribute name="lang" type="language" default="en"/>
     </extension>
   </simpleContent>
 </complexType>
 <simpleType name="balanceType">
   <restriction base="decimal" />
 </simpleType>
 <simpleType name="creditLimitType">
   <restriction base="decimal" />
 </simpleType>

</schema>

Security Considerations

The mapping extensions described in this document do not provide any security services beyond those described by the EPP [RFC5730], the EPP domain name mapping [RFC5731], and the protocol layers used by the EPP. The security considerations described in these other specifications apply to this specification as well. This extension passes financial information using the EPP protocol, so confidentiality and integrity protection must be provided by the transport mechanism. All transports compliant with [RFC5730] provide the needed level of confidentiality and integrity protections. The server will only provide information, including financial information, that is relevant to the authenticated client.

IANA Considerations

XML Namespace

This document uses URNs to describe XML namespaces and XML schemas conforming to a registry mechanism described in [RFC3688].

Registration request for the fee namespace:

URI: urn:ietf:params:xml:ns:epp:fee-1.0

Registrant Contact: IESG

XML: None. Namespace URIs do not represent an XML specification.

Registration request for the fee schema:

URI: urn:ietf:params:xml:schema:epp:fee-1.0

Registrant Contact: IESG

XML: See Section 6 of this document.

EPP Extension Registry

The EPP extension described in this document has been registered by IANA in the "Extensions for the Extensible Provisioning Protocol (EPP)" registry described in [RFC7451]. The details of the registration are as follows:

Name of Extension: Registry Fee Extension for the Extensible Provisioning Protocol (EPP)

Document status: Standards Track

Reference: RFC 8748

Registrant Name and Email Address: IESG <[email protected]>

TLDs: Any

IPR Disclosure: None

Status: Active

Notes: None

References

Normative References

[ISO4217_2015]

          ISO, "Codes for the representation of currencies",
          ISO 4217:2015, August 2015,
          <https://www.iso.org/standard/64758.html>.

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate

          Requirement Levels", BCP 14, RFC 2119,
          DOI 10.17487/RFC2119, March 1997,
          <https://www.rfc-editor.org/info/rfc2119>.

[RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688,

          DOI 10.17487/RFC3688, January 2004,
          <https://www.rfc-editor.org/info/rfc3688>.

[RFC3915] Hollenbeck, S., "Domain Registry Grace Period Mapping for

          the Extensible Provisioning Protocol (EPP)", RFC 3915,
          DOI 10.17487/RFC3915, September 2004,
          <https://www.rfc-editor.org/info/rfc3915>.

[RFC5646] Phillips, A., Ed. and M. Davis, Ed., "Tags for Identifying

          Languages", BCP 47, RFC 5646, DOI 10.17487/RFC5646,
          September 2009, <https://www.rfc-editor.org/info/rfc5646>.

[RFC5730] Hollenbeck, S., "Extensible Provisioning Protocol (EPP)",

          STD 69, RFC 5730, DOI 10.17487/RFC5730, August 2009,
          <https://www.rfc-editor.org/info/rfc5730>.

[RFC5731] Hollenbeck, S., "Extensible Provisioning Protocol (EPP)

          Domain Name Mapping", STD 69, RFC 5731,
          DOI 10.17487/RFC5731, August 2009,
          <https://www.rfc-editor.org/info/rfc5731>.

[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC

          2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174,
          May 2017, <https://www.rfc-editor.org/info/rfc8174>.

[RFC8334] Gould, J., Tan, W., and G. Brown, "Launch Phase Mapping

          for the Extensible Provisioning Protocol (EPP)", RFC 8334,
          DOI 10.17487/RFC8334, March 2018,
          <https://www.rfc-editor.org/info/rfc8334>.

[W3C.REC-xmlschema-1-20041028]

          Thompson, H., Beech, D., Maloney, M., and N. Mendelsohn,
          "XML Schema Part 1: Structures Second Edition", World Wide
          Web Consortium Recommendation REC-xmlschema-1-20041028,
          October 2004,
          <http://www.w3.org/TR/2004/REC-xmlschema-1-20041028>.

Informative References

[RFC7451] Hollenbeck, S., "Extension Registry for the Extensible

          Provisioning Protocol", RFC 7451, DOI 10.17487/RFC7451,
          February 2015, <https://www.rfc-editor.org/info/rfc7451>.

Acknowledgements

The authors wish to thank the following persons for their feedback and suggestions:

  • James Gould of Verisign Inc.
  • Luis Munoz of ISC
  • Michael Young
  • Ben Levac
  • Jeff Eckhaus
  • Seth Goldman of Google
  • Klaus Malorny and Michael Bauland of Knipp
  • Jody Kolker, Joe Snitker, and Kevin Allendorf of GoDaddy
  • Michael Holloway of Com Laude
  • Santosh Kalsangrah of Impetus Infotech
  • Alex Mayrhofer of Nic.at
  • Thomas Corte of Knipp Medien und Kommunikation GmbH

Authors' Addresses

Roger Carney GoDaddy Inc. 14455 N. Hayden Rd. #219 Scottsdale, AZ 85260 United States of America

Email: [email protected] URI: http://www.godaddy.com

Gavin Brown CentralNic Group plc 35-39 Moorgate London EC2R 6AR United Kingdom

Phone: +44 20 33 88 0600 Email: [email protected] URI: http://www.centralnic.com

Jothan Frakes

Email: [email protected] URI: http://jothan.com