Registration Protocols Extensions R. Carney Internet-Draft GoDaddy Inc. Intended status: Standards Track G. Brown Expires: March 8, 2020 CentralNic Group plc J. Frakes September 5, 2019 Registry Fee Extension for the Extensible Provisioning Protocol (EPP) draft-ietf-regext-epp-fees-17 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 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 Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on March 8, 2020. Copyright Notice Copyright (c) 2019 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 Carney, et al. Expires March 8, 2020 [Page 1] Internet-Draft Registry Fee Extension September 2019 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 . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1. Conventions Used in This Document . . . . . . . . . . . . 3 2. Migrating to Newer Versions of This Extension . . . . . . . . 4 3. Extension Elements . . . . . . . . . . . . . . . . . . . . . 4 3.1. Client Commands . . . . . . . . . . . . . . . . . . . . . 4 3.2. Currency Codes . . . . . . . . . . . . . . . . . . . . . 5 3.3. Validity Periods . . . . . . . . . . . . . . . . . . . . 5 3.4. Fees and Credits . . . . . . . . . . . . . . . . . . . . 6 3.4.1. Refunds . . . . . . . . . . . . . . . . . . . . . . . 7 3.4.2. Grace Periods . . . . . . . . . . . . . . . . . . . . 7 3.4.3. Correlation between Refundability and Grace Periods . 7 3.4.4. Applicability . . . . . . . . . . . . . . . . . . . . 7 3.5. Account Balance . . . . . . . . . . . . . . . . . . . . . 8 3.6. Credit Limit . . . . . . . . . . . . . . . . . . . . . . 8 3.7. Classification of Objects . . . . . . . . . . . . . . . . 8 3.8. Phase and Subphase Attributes . . . . . . . . . . . . . . 9 3.9. Reason . . . . . . . . . . . . . . . . . . . . . . . . . 10 4. Server Handling of Fee Information . . . . . . . . . . . . . 11 5. EPP Command Mapping . . . . . . . . . . . . . . . . . . . . . 12 5.1. EPP Query Commands . . . . . . . . . . . . . . . . . . . 12 5.1.1. EPP Command . . . . . . . . . . . . . . . . . 12 5.1.2. EPP Transfer Query Command . . . . . . . . . . . . . 16 5.2. EPP Transform Commands . . . . . . . . . . . . . . . . . 18 5.2.1. EPP Command . . . . . . . . . . . . . . . . 18 5.2.2. EPP Command . . . . . . . . . . . . . . . . 20 5.2.3. EPP Command . . . . . . . . . . . . . . . . . 21 5.2.4. EPP Command . . . . . . . . . . . . . . . 23 5.2.5. EPP Command . . . . . . . . . . . . . . . . 25 6. Formal Syntax . . . . . . . . . . . . . . . . . . . . . . . . 27 6.1. Fee Extension Schema . . . . . . . . . . . . . . . . . . 27 7. Security Considerations . . . . . . . . . . . . . . . . . . . 32 8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 32 8.1. XML Namespace . . . . . . . . . . . . . . . . . . . . . . 32 8.2. EPP Extension Registry . . . . . . . . . . . . . . . . . 32 9. Implementation Status . . . . . . . . . . . . . . . . . . . . 33 9.1. RegistryEngine EPP Service . . . . . . . . . . . . . . . 33 10. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 34 11. Change History . . . . . . . . . . . . . . . . . . . . . . . 34 11.1. Change from 16 to 17 . . . . . . . . . . . . . . . . . . 34 11.2. Change from 15 to 16 . . . . . . . . . . . . . . . . . . 34 11.3. Change from 14 to 15 . . . . . . . . . . . . . . . . . . 35 11.4. Change from 13 to 14 . . . . . . . . . . . . . . . . . . 35 Carney, et al. Expires March 8, 2020 [Page 2] Internet-Draft Registry Fee Extension September 2019 11.5. Change from 12 to 13 . . . . . . . . . . . . . . . . . . 35 11.6. Change from 11 to 12 . . . . . . . . . . . . . . . . . . 35 11.7. Change from 10 to 11 . . . . . . . . . . . . . . . . . . 35 11.8. Change from 09 to 10 . . . . . . . . . . . . . . . . . . 35 11.9. Change from 08 to 09 . . . . . . . . . . . . . . . . . . 35 11.10. Change from 07 to 08 . . . . . . . . . . . . . . . . . . 36 11.11. Change from 06 to 07 . . . . . . . . . . . . . . . . . . 36 11.12. Change from 05 to 06 . . . . . . . . . . . . . . . . . . 36 11.13. Change from 04 to 05 . . . . . . . . . . . . . . . . . . 36 11.14. Change from 03 to 04 . . . . . . . . . . . . . . . . . . 36 11.15. Change from 02 to 03 . . . . . . . . . . . . . . . . . . 36 11.16. Change from 01 to 02 . . . . . . . . . . . . . . . . . . 37 11.17. Change from 00 to 01 . . . . . . . . . . . . . . . . . . 37 11.18. Change from draft-brown-00 to draft-ietf-regext-fees-00 37 12. References . . . . . . . . . . . . . . . . . . . . . . . . . 37 12.1. Normative References . . . . . . . . . . . . . . . . . . 37 12.2. Informative References . . . . . . . . . . . . . . . . . 38 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 38 1. Introduction Historically, domain name registries have applied a simple fee structure for billable transactions, namely a basic unit price applied to domain , , and 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 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. 1.1. 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. Carney, et al. Expires March 8, 2020 [Page 3] Internet-Draft Registry Fee Extension September 2019 XML is case sensitive. Unless stated otherwise, 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 examples, "C:" represents lines sent by a protocol client and "S:" represents lines returned by a protocol server. Indentation and white space in examples are provided only to illustrate element relationships and are not a required feature of this protocol. 2. Migrating to Newer Versions of This Extension Servers which 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 element of the command. If a client requests multiple versions of the extension at login, then, when preparing responses to commands which 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 which do include extension elements, the server SHOULD only include extension elements for the extension versions present in the command. 3. Extension Elements 3.1. Client Commands The element is used in the EPP command to determine the fee that is applicable to the given command. The use of the keys off the use of the "name" attribute to define which transform fees the client is requesting information about. Here is the list of possible values for the "name" attribute: o "create" indicating a command as defined in [RFC5730]; Carney, et al. Expires March 8, 2020 [Page 4] Internet-Draft Registry Fee Extension September 2019 o "delete" indicating a command as defined in [RFC5730]; o "renew" indicating a command as defined in [RFC5730]; o "update" indicating a command as defined in [RFC5730]; o "transfer" indicating a command as defined in [RFC5730]; o If the server supports the Registry Grace Period Mapping [RFC3915], then the server MUST also support the "restore" value as defined in [RFC3915]; o "custom" indicating a custom command that uses the "customName" attribute to define the custom operation. The 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 sub-phase as described in [RFC8334]. 3.2. Currency Codes The element is used to indicate which currency fees are charged in. This value of this element MUST be a three-character currency code from [ISO4217:2015]. Note that ISO 4217: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 elements in client commands is OPTIONAL: if a element is not present in a command, the server MUST determine the currency based on the server default currency or based on the client's account settings which are agreed to by the client and server via an out-of-band channel. However, the element MUST be present in 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. 3.3. Validity Periods When querying for fee information using the command, the element is used to indicate the units to be added to the registration period of objects by the , and commands. This element is derived from the element described in [RFC5731]. The element is OPTIONAL in commands, if omitted, the server MUST determine the fee(s) using the server default period. The element MUST be present in responses. Carney, et al. Expires March 8, 2020 [Page 5] Internet-Draft Registry Fee Extension September 2019 3.4. Fees and Credits Servers which implement this extension will include elements in responses which 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 and elements are used to provide this information. The presence of a element in a response indicates a debit against the client's account balance; a element indicates a credit. A element MUST have a zero or non-negative value. A element MUST have a zero or negative value. A server MAY respond with multiple and 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 and/or elements. This amount applies to the total additional validity period applied to the object (where applicable) rather than to any incremental unit. The following attributes are defined for the element. These are described in detail below: description: an OPTIONAL attribute which 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 to identify the language of the returned text and has a default value of "en" (English). refundable: an OPTIONAL boolean attribute indicating whether the fee is refundable if the object is deleted. grace-period: an OPTIONAL attribute which 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 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). Carney, et al. Expires March 8, 2020 [Page 6] Internet-Draft Registry Fee Extension September 2019 3.4.1. Refunds elements MAY have an OPTIONAL "refundable" attribute which 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 below). If the "refundable" attribute is omitted, then clients SHOULD NOT make any assumption about the refundability of the fee. 3.4.2. 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 assumption about the grace period of the fee. 3.4.3. Correlation between Refundability and Grace Periods If a 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 element is false then it MUST NOT have a "grace-period" attribute. 3.4.4. 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 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". Carney, et al. Expires March 8, 2020 [Page 7] Internet-Draft Registry Fee Extension September 2019 3.5. Account Balance The element is an OPTIONAL element which 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 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. , , , , ). The value of the MAY be negative. A negative balance indicates that the server has extended a line of credit to the client (see below). If a server includes a 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 element is "delayed", then the MUST reflect the client's account balance without any fees or credits associated with that command. 3.6. Credit Limit As described above, if a server returns a response containing a with a negative value, then the server has extended a line of credit to the client. A server MAY also include a element in responses that indicates the maximum credit available to a client. A server MAY reject certain transactions if the absolute value of the is equal to or exceeds the value of the element. Whether or not the 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. , , , , ). 3.7. 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 element, which MAY appear in and transform responses, is used to indicate the classification of an object. Carney, et al. Expires March 8, 2020 [Page 8] Internet-Draft Registry Fee Extension September 2019 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 which do not appear on this list. Servers that make use of this element MUST use a element with the value "standard" for all objects that are subject to the standard or default fee. 3.8. Phase and Subphase Attributes The 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 contains a server supported combination of phase/subphase the server MUST return fee data (including the phase/subphase attribute(s)) for the specific combination. If the client contains no phase/subphase attributes and the server has only one active phase/subphase combination the server MUST return data (including the phase/subphase attribute(s)) of the currently active phase/subphase. If the client 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 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 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 data (including the phase/ subphase attribute(s)) of the provided phase and currently active subphase. If the client 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. Carney, et al. Expires March 8, 2020 [Page 9] Internet-Draft Registry Fee Extension September 2019 If the client contains a subphase with no phase attribute the server MUST respond with a 2003 "Required parameter missing" error. If the client contains a phase attribute not defined in [RFC8334] or not supported by server the server MUST respond with a 2004 "Parameter value range" error. If the client contains a subphase attribute (or phase/ subphase combination) not supported by server the server MUST respond with a 2004 "Parameter value range" error. 3.9. Reason The element is used to provide server specific text in an effort to better explain why a command did not complete as the client expected. An OPTIONAL "lang" attribute MAY be present to identify the language of the returned text and has a default value of "en" (English). The element can be used within the server response element or within the 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 error processing of element(s): 1. Fast-fail - The server, upon error identification, MAY stop processing elements and return to the client a containing the and a element detailing the reason for failure. S: S: example.xyz S: Only 1 year registration periods are S: valid. S: 2. Partial-fail - The server, upon error identification, MAY continue processing elements and return to the client a containing successfully processed elements and failed elements. All returned failed elements MUST have a element detailing the reason for failure, and the server MAY additionally include a element at the level. Carney, et al. Expires March 8, 2020 [Page 10] Internet-Draft Registry Fee Extension September 2019 S: S: example.xyz S: S: 2 S: Only 1 year registration periods are S: valid. S: S: In either failure scenario the server MUST set the avail attribute to false (0) and the server MUST process all objects in the client request. 4. Server Handling of Fee Information Depending on 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 command for any object in the command that does not include the extension for which the server would likewise fail a domain command when no extension is provided for that same object. If a server receives a command from a client, which results in no possible fee combination but where a fee is required, the server MUST set the "avail" attribute of the element to false and provide a . If a server receives a command from a client, which 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, which 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 currency or total fee provided by the client is less than the server's own calculation of the fee for that command, then the server MUST reject the command with a 2004 "Parameter value range" error. Carney, et al. Expires March 8, 2020 [Page 11] Internet-Draft Registry Fee Extension September 2019 5. EPP Command Mapping A detailed description of the EPP syntax and semantics can be found in [RFC5730]. 5.1. EPP Query Commands This extension does not add any elements to the EPP or commands or responses. 5.1.1. EPP Command This extension defines a new command called the Fee Check Command that defines additional elements for the EPP command to provide fee information along with the availability information of the EPP command. The command MAY contain an element which MAY contain a element. The element MAY contain one element and MUST contain one or more elements. The element(s) contain(s) a "name" attribute (see Section 3.1), an OPTIONAL "phase" attribute, and an OPTIONAL "subphase" attribute (see Section 3.8). The element(s) MAY have the following child elements: o An OPTIONAL element (as described in Section 3.3). Carney, et al. Expires March 8, 2020 [Page 12] Internet-Draft Registry Fee Extension September 2019 Example command: C: C: C: C: C: C: example.com C: example.net C: example.xyz C: C: C: C: C: USD C: C: 2 C: C: C: C: C: C: C: ABC-12345 C: C: When the server receives a command that includes the extension elements described above, its response MUST contain an element, which MUST contain a child element. The element MUST contain a element and a for each element referenced in the client command. Each element MUST contain the following child elements: o A element, which MUST match an element referenced in the client command. o An OPTIONAL element (as described in Section 3.7). o A element matching each (unless the "avail" attribute of the if false) that appeared in the corresponding 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 matches the fee of the "standard" classification (see section 3.7). This element MAY have the OPTIONAL "phase" and "subphase" attributes, which Carney, et al. Expires March 8, 2020 [Page 13] Internet-Draft Registry Fee Extension September 2019 SHOULD match the same attributes in the corresponding element of the client command if sent by the client. The 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 or the element MUST contain a element (as described in Section 3.9) and the server MAY eliminate some or all of the element(s). The element(s) MAY have the following child elements: o An OPTIONAL element (as described in Section 3.3), which contains the same unit that appeared in the element of the command. If the value of the preceding element is "restore", this element MUST NOT be included, otherwise it MUST be included. If no appeared in the client command (and the command is not "restore") then the server MUST return its default period value. o Zero or more elements (as described in Section 3.4). o Zero or more elements (as described in Section 3.4). o An OPTIONAL element (as described in Section 3.9). If the "avail" attribute of the element is true and if no elements are present in a element, this indicates that no fee will be assessed by the server for this command. If the "avail" attribute is true, then the element MUST NOT contain a element. Example response: S: S: S: S: S: Command completed successfully S: S: S: S: S: example.com S: S: Carney, et al. Expires March 8, 2020 [Page 14] Internet-Draft Registry Fee Extension September 2019 S: example.net S: S: S: example.xyz S: S: S: S: S: S: USD S: S: example.com S: Premium S: S: 2 S: 10.00 S: S: S: 1 S: 10.00 S: S: S: 1 S: 10.00 S: S: S: 15.00 S: S: S: S: example.net S: standard S: S: 2 S: 5.00 S: S: S: 1 S: 5.00 S: S: S: 1 S: 5.00 S: S: S: 5.00 S: S: S: S: example.xyz S: S: 2 S: Only 1 year registration periods are S: valid. S: S: S: S: S: S: ABC-12345 S: 54322-XYZ S: S: S: 5.1.2. EPP Transfer Query Command This extension does not add any elements to the EPP query command, but does include elements in the response, when the extension is included in the command service extensions. When the query command has been processed successfully, if the client has included the extension in the command service element, and if the client is authorized by the server to view information about the transfer, then the server MAY include Carney, et al. Expires March 8, 2020 [Page 16] Internet-Draft Registry Fee Extension September 2019 in the section of the EPP response a element, which contains the following child elements: o A element (as described in Section 3.2). o A element (as described in Section 3.3). o Zero or more elements (as described in Section 3.4) containing the fees that will be charged to the gaining client. o Zero or more elements (as described in Section 3.4) containing the credits that will be refunded to the losing client. Servers SHOULD omit when returning a response to the gaining client, and omit elements when returning a response to the losing client. If no element is included in the response, then no fee will be assessed by the server for the transfer. Carney, et al. Expires March 8, 2020 [Page 17] Internet-Draft Registry Fee Extension September 2019 Example query response: S: S: S: S: S: Command completed successfully; action pending S: S: S: S: example.com S: pending S: ClientX S: 2000-06-08T22:00:00.0Z S: ClientY S: 2000-06-13T22:00:00.0Z S: 2002-09-08T22:00:00.0Z S: S: S: S: S: USD S: 1 S: 5.00 S: S: S: S: ABC-12345 S: 54322-XYZ S: S: S: 5.2. EPP Transform Commands 5.2.1. EPP Command This extension adds elements to both the EPP command and response, when the extension is included in the command service extensions. When submitting a command to the server, the client MAY include in the element a element which includes the following child elements: o An OPTIONAL element (as described in Section 3.2); o One or more elements (as described in Section 3.4). Carney, et al. Expires March 8, 2020 [Page 18] Internet-Draft Registry Fee Extension September 2019 The server MUST fail the command if the provided by the client is less than the server fee. When the command has been processed successfully, and the client included the extension in the command service extensions, and a fee was assessed by the server for the transaction, the server MUST include in the section of the EPP response a element, which contains the following child elements: o A element (as described in Section 3.2); o Zero or more elements (as described in Section 3.4); o Zero or more elements (as described in Section 3.4); o An OPTIONAL element (as described in Section 3.5); o An OPTIONAL element (as described in Section 3.6). Example command: C: C: C: C: C: C: example.com C: 2 C: C: ns1.example.net C: ns2.example.net C: C: jd1234 C: sh8013 C: sh8013 C: C: 2fooBAR C: C: C: C: C: C: USD C: 5.00 C: C: C: ABC-12345 C: C: Carney, et al. Expires March 8, 2020 [Page 19] Internet-Draft Registry Fee Extension September 2019 Example response: S: S: S: S: S: Command completed successfully S: S: S: S: example.com S: 1999-04-03T22:00:00.0Z S: 2001-04-03T22:00:00.0Z S: S: S: S: S: USD S: 5.00 S: -5.00 S: 1000.00 S: S: S: S: ABC-12345 S: 54321-XYZ S: S: S: 5.2.2. EPP Command This extension does not add any elements to the EPP command, but does include elements in the response, when the extension is included in the command service extensions. When the command has been processed successfully, and the client included the extension in the command service extensions, the server MAY include in the section of the EPP response a element, which contains the following child elements: o A element (as described in Section 3.2); Carney, et al. Expires March 8, 2020 [Page 20] Internet-Draft Registry Fee Extension September 2019 o Zero or more elements (as described in Section 3.4); o Zero or more elements (as described in Section 3.4); o An OPTIONAL element (as described in Section 3.5); o An OPTIONAL element (as described in Section 3.6). Example response: S: S: S: S: S: Command completed successfully S: S: S: S: USD S: -5.00 S: 1005.00 S: S: S: S: ABC-12345 S: 54321-XYZ S: S: S: 5.2.3. EPP Command This extension adds elements to both the EPP command and response, when the extension is included in the command service extensions. When submitting a command to the server, the client MAY include in the element a element which includes the following child elements: o An OPTIONAL element (as described in Section 3.2); o One or more elements (as described in Section 3.4). When the command has been processed successfully, and the client included the extension in the command service extensions, the server MAY include in the section of the Carney, et al. Expires March 8, 2020 [Page 21] Internet-Draft Registry Fee Extension September 2019 EPP response a element, which contains the following child elements: o A element (as described in Section 3.2); o Zero or more elements (as described in Section 3.4); o Zero or more elements (as described in Section 3.4); o An OPTIONAL element (as described in Section 3.5); o An OPTIONAL element (as described in Section 3.6). Example command: C: C: C: C: C: C: example.com C: 2000-04-03 C: 5 C: C: C: C: C: USD C: 5.00 C: C: C: ABC-12345 C: C: Carney, et al. Expires March 8, 2020 [Page 22] Internet-Draft Registry Fee Extension September 2019 Example response: S: S: S: S: S: Command completed successfully S: S: S: S: example.com S: 2005-04-03T22:00:00.0Z S: S: S: S: S: USD S: 5.00 S: 1000.00 S: S: S: S: ABC-12345 S: 54322-XYZ S: S: S: 5.2.4. EPP Command This extension adds elements to both the EPP command and response, when the value of the "op" attribute of the command element is "request", and the extension is included in the command service extensions. When submitting a command to the server, the client MAY include in the element a element which includes the following child elements: o An OPTIONAL element (as described in Section 3.2); o One or more elements (as described in Section 3.4). When the command has been processed successfully, and the client included the extension in the command service extensions, the server MAY include in the section of the Carney, et al. Expires March 8, 2020 [Page 23] Internet-Draft Registry Fee Extension September 2019 EPP response a element, which contains the following child elements: o A element (as described in Section 3.2); o Zero or more elements (as described in Section 3.4); o Zero or more elements (as described in Section 3.4); o An OPTIONAL element (as described in Section 3.5); o An OPTIONAL element (as described in Section 3.6). Example command: C: C: C: C: C: C: example.com C: 1 C: C: 2fooBAR C: C: C: C: C: C: USD C: 5.00 C: C: C: ABC-12345 C: C: Carney, et al. Expires March 8, 2020 [Page 24] Internet-Draft Registry Fee Extension September 2019 Example response: S: S: S: S: S: Command completed successfully; action pending S: S: S: S: example.com S: pending S: ClientX S: 2000-06-08T22:00:00.0Z S: ClientY S: 2000-06-13T22:00:00.0Z S: 2002-09-08T22:00:00.0Z S: S: S: S: S: USD S: 5.00 S: S: S: S: ABC-12345 S: 54322-XYZ S: S: S: 5.2.5. EPP Command This extension adds elements to both the EPP command and response, when the extension is included in the command service extensions. When submitting a command to the server, the client MAY include in the element a element which includes the following child elements: o An OPTIONAL element (as described in Section 3.2); o One or more elements (as described in Section 3.4). Carney, et al. Expires March 8, 2020 [Page 25] Internet-Draft Registry Fee Extension September 2019 When the command has been processed successfully, and the client included the extension in the command service extensions, the server MAY include in the section of the EPP response a element, which contains the following child elements: o A element (as described in Section 3.2); o Zero or more elements (as described in Section 3.4); o Zero or more elements (as described in Section 3.4); o An OPTIONAL element (as described in Section 3.5); o An OPTIONAL element (as described in Section 3.6). Example command: C: C: C: C: C: C: example.com C: C: sh8013 C: C: C: C: C: C: USD C: 5.00 C: C: C: ABC-12345 C: C: Carney, et al. Expires March 8, 2020 [Page 26] Internet-Draft Registry Fee Extension September 2019 Example response: S: S: S: S: S: Command completed successfully S: S: S: S: USD S: 5.00 S: S: S: S: ABC-12345 S: 54321-XYZ S: S: S: 6. Formal Syntax One schema is presented here that is 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. The BEGIN and END tags are not part of the schema; they are used to note the beginning and ending of the schema for URI registration purposes. 6.1. 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. The BEGIN and END tags are not part of the schema; they are used to note the beginning and ending of the schema for URI registration purposes. BEGIN Carney, et al. Expires March 8, 2020 [Page 27] Internet-Draft Registry Fee Extension September 2019 Extensible Provisioning Protocol v1.0 Fee Extension Carney, et al. Expires March 8, 2020 [Page 28] Internet-Draft Registry Fee Extension September 2019 Carney, et al. Expires March 8, 2020 [Page 29] Internet-Draft Registry Fee Extension September 2019 Carney, et al. Expires March 8, 2020 [Page 30] Internet-Draft Registry Fee Extension September 2019 Carney, et al. Expires March 8, 2020 [Page 31] Internet-Draft Registry Fee Extension September 2019 END 7. Security Considerations The mapping extensions described in this document do not provide any security services beyond those described by EPP [RFC5730], the EPP domain name mapping [RFC5731], and protocol layers used by 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. 8. IANA Considerations 8.1. 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 the "Formal Syntax" section of this document. 8.2. EPP Extension Registry The EPP extension described in this document should be registered by the IANA in the EPP Extension 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 Carney, et al. Expires March 8, 2020 [Page 32] Internet-Draft Registry Fee Extension September 2019 Reference: (insert reference to RFC version of this document) Registrant Name and Email Address: IESG, TLDs: Any IPR Disclosure: None Status: Active Notes: None 9. Implementation Status Note to RFC Editor: Please remove this section and the reference to [RFC7942] before publication. This section records the status of known implementations of the protocol defined by this specification at the time of posting of this Internet-Draft, and is based on a proposal described in [RFC7942]. The description of implementations in this section is intended to assist the IETF in its decision processes in progressing drafts to RFCs. Please note that the listing of any individual implementation here does not imply endorsement by the IETF. Furthermore, no effort has been spent to verify the information presented here that was supplied by IETF contributors. This is not intended as, and must not be construed to be, a catalog of available implementations or their features. Readers are advised to note that other implementations may exist. According to [RFC7942], "this will allow reviewers and working groups to assign due consideration to documents that have the benefit of running code, which may serve as evidence of valuable experimentation and feedback that have made the implemented protocols more mature. It is up to the individual working groups to use this information as they see fit". 9.1. RegistryEngine EPP Service Organization: CentralNic Name: RegistryEngine EPP Service Description: Generic high-volume EPP service for gTLDs, ccTLDs and SLDs Carney, et al. Expires March 8, 2020 [Page 33] Internet-Draft Registry Fee Extension September 2019 Level of maturity: Deployed in CentralNic's production environment as well as two other gTLD registry systems, and two ccTLD registry systems. Coverage: All aspects of the protocol are implemented. Licensing: Proprietary In-House software Contact: epp@centralnic.com URL: https://www.centralnic.com 10. Acknowledgements The authors wish to thank the following persons for their feedback and suggestions: o James Gould of Verisign Inc o Luis Munoz of ISC o Michael Young of Architelos o Ben Levac and Jeff Eckhaus of Demand Media o Seth Goldman of Google o Klaus Malorny and Michael Bauland of Knipp o Jody Kolker, Joe Snitker and Kevin Allendorf of Go Daddy o Michael Holloway of Com Laude o Santosh Kalsangrah of Impetus Infotech o Alex Mayrhofer of Nic.at o Thomas Corte of Knipp Medien und Kommunikation GmbH 11. Change History 11.1. Change from 16 to 17 Updated per AD review, all updates were just textual for clarity and correctness. 11.2. Change from 15 to 16 Updated per AD review and list comments: several grammar corrections; clarification text added to section 3.4.3 and 3.5; and a schema update for consistency by providing a "lang" attribute to the and "description" attribute detailed in section 3.4. Carney, et al. Expires March 8, 2020 [Page 34] Internet-Draft Registry Fee Extension September 2019 11.3. Change from 14 to 15 Updated schema, moving the "standard" attribute of the "commandDataType" inside the block. 11.4. Change from 13 to 14 Moved RFC 7451 reference from Normative to Informative section. 11.5. Change from 12 to 13 Updated XML namespace and schema registration to be "epp" scoped - global replace of XML namespace from urn:ietf:params:xml:ns:fee-1.0 to urn:ietf:params:xml:ns:epp:fee-1.0 and the XML schema registration from urn:ietf:params:xml:schema:fee-1.0 to urn:ietf:params:xml:schema:epp:fee-1.0. 11.6. Change from 11 to 12 Updated references to current version of documents and moved the "standard" attribute from the check command (commandType) to the check response (commandDataType). 11.7. Change from 10 to 11 Updated document per Working Group Last Call comments. Made minor textual changes throughout for enhanced clarity per WGLC comments. 11.8. Change from 09 to 10 Updated document per Working Group Last Call comments. Updated schema to version 1.0 in anticipation of standardization, no changes were made to the latest, 0.25, schema. Made minor textual changes throughout for enhanced clarity per WGLC comments. 11.9. Change from 08 to 09 Updated scheme to version 0.25 to allow tighter checking on by splitting the client and server definitions, moved the class element from the command to the object level and added an optional standard attribute to the command element. Also updated section 3.1 for clarity on name attribute; updated section 3.9 for clarity on uses of ; removed second paragraph in section 5.2.1 as it was duplicative of second to last paragraph in 4.0; and updated section 5.1.1 to add section references. Carney, et al. Expires March 8, 2020 [Page 35] Internet-Draft Registry Fee Extension September 2019 11.10. Change from 07 to 08 Updated section 3.8 and 5.1.1 to provide clarity on server processing and response of various scenarios (i.e. "quiet" period processing). 11.11. Change from 06 to 07 Updated section 3.8 and 4.0 to provide clarity on server processing and response of various scenarios. 11.12. Change from 05 to 06 Updated scheme to version 0.23 to allow the return of no element(s) if an error situation occurs. Edited section 3.8 extensively after input from interim meeting and REGEXT F2F meeting at IETF-99. Added normative reference for draft-ietf- eppext-launchphase. 11.13. Change from 04 to 05 Updated scheme to version 0.21 to support the lang attribute for the reason element of the objectCDType and the commandType types as well as to add the update command to the commandEnum type. Updated section 3.1 to include language for the custom command. Added section 3.9 to provide a description of the element. Fixed typos and added clarification text on when client fee is less than server fee in section 4. Additionally, I added description pointers to appropriate Section 3 definitions for element clarity throughout the document. 11.14. Change from 03 to 04 Updated scheme to version 0.19 to correct typos and to replace the commandTypeValue type with the commandEnum type and customName attribute for stricter validation. Updated various text for grammar and clarity. Added text to section 4 clarifying the response when the client provided no fee extension but the server was expecting the extension. 11.15. Change from 02 to 03 Updated scheme to version 0.17 to simplify the check command syntax. Moved fee avail to objectCDType to allow fast failing on error situations. Removed the objectCheckType as it was no longer being used. Updated examples to reflect these scheme changes. Added language for server failing a if the passed by the client is less than the server fee. Carney, et al. Expires March 8, 2020 [Page 36] Internet-Draft Registry Fee Extension September 2019 11.16. Change from 01 to 02 Updated scheme to version 0.15 to fix errors in CommandType, objectCDType, transformCommandType and transformResultType definitions. 11.17. Change from 00 to 01 Added Roger Carney as author to finish draft. Moved Formal Syntax section to main level numbering. Various grammar, typos, and administrative edits for clarity. Removed default value for the "applied" attribute of so that it can truly be optional. Added support for the command to return a element as well. Modified default response on the command for the optional when it was not provided in the command, leaving it to the server to provide the default period value. Extensive edits were done to the command, the response and to the fee extension schema (checkType, objectCheckType, objectIdentifierType, objectCDType, commandType) to support requesting and returning multiple transformation fees in a single call. Added section on Phase/Subphase to provide more context on the uses. 11.18. Change from draft-brown-00 to draft-ietf-regext-fees-00 Updated to be REGEXT WG document. 12. References 12.1. Normative References [ISO4217:2015] International Organization for Standardization, "Codes for the representation of currencies", August 2015, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, DOI 10.17487/RFC3688, January 2004, . Carney, et al. Expires March 8, 2020 [Page 37] Internet-Draft Registry Fee Extension September 2019 [RFC3915] Hollenbeck, S., "Domain Registry Grace Period Mapping for the Extensible Provisioning Protocol (EPP)", RFC 3915, DOI 10.17487/RFC3915, September 2004, . [RFC5730] Hollenbeck, S., "Extensible Provisioning Protocol (EPP)", STD 69, RFC 5730, DOI 10.17487/RFC5730, August 2009, . [RFC5731] Hollenbeck, S., "Extensible Provisioning Protocol (EPP) Domain Name Mapping", STD 69, RFC 5731, DOI 10.17487/RFC5731, August 2009, . [RFC7942] Sheffer, Y. and A. Farrel, "Improving Awareness of Running Code: The Implementation Status Section", BCP 205, RFC 7942, DOI 10.17487/RFC7942, July 2016, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [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, . 12.2. Informative References [RFC7451] Hollenbeck, S., "Extension Registry for the Extensible Provisioning Protocol", RFC 7451, DOI 10.17487/RFC7451, February 2015, . Authors' Addresses Roger Carney GoDaddy Inc. 14455 N. Hayden Rd. #219 Scottsdale, AZ 85260 US Email: rcarney@godaddy.com URI: http://www.godaddy.com Carney, et al. Expires March 8, 2020 [Page 38] Internet-Draft Registry Fee Extension September 2019 Gavin Brown CentralNic Group plc 35-39 Moorgate London, England EC2R 6AR GB Phone: +44 20 33 88 0600 Email: gavin.brown@centralnic.com URI: http://www.centralnic.com Jothan Frakes Email: jothan@jothan.com URI: http://jothan.com Carney, et al. Expires March 8, 2020 [Page 39]