1、 ETSI ES 202 391-6 V1.3.1 (2008-05)ETSI Standard Open Service Access (OSA);Parlay X Web Services;Part 6: Payment(Parlay X 2)floppy3 ETSI ETSI ES 202 391-6 V1.3.1 (2008-05) 2 Reference RES/TISPAN-01056-06-OSA Keywords API, OSA, service ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRAN
2、CE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice Individual copies of the present document can be downloaded from: http:/www.etsi.org The present document may be
3、 made available in more than one electronic version or in print. In any case of existing or perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF). In case of dispute, the reference shall be the printing on ETSI printers of the PDF version
4、 kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at http:/portal.etsi.org/tb/status/status.asp If
5、you find errors in the present document, please send your comment to one of the following services: http:/portal.etsi.org/chaircor/ETSI_support.asp Copyright Notification No part may be reproduced except as authorized by written permission. The copyright and the foregoing restriction extend to repro
6、duction in all media. European Telecommunications Standards Institute 2008. The Parlay Group 2008. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTM, TIPHONTM, the TIPHON logo and the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM is a Trade Mark of ETSI registere
7、d for the benefit of its Members and of the 3GPP Organizational Partners. ETSI ETSI ES 202 391-6 V1.3.1 (2008-05) 3 Contents Intellectual Property Rights5 Foreword.5 1 Scope 6 2 References 6 2.1 Normative references .6 3 Definitions and abbreviations.7 3.1 Definitions7 3.2 Abbreviations .7 4 Detaile
8、d service description .7 5 Namespaces7 6 Sequence diagrams.8 6.1 Charge for content8 7 XML Schema data type definition .9 7.1 Property structure .9 8 Web Service interface definition9 8.1 Interface: AmountCharging9 8.1.1 Operation: chargeAmount.9 8.1.1.1 Input message: chargeAmountRequest .9 8.1.1.2
9、 Output message: chargeAmountResponse 9 8.1.1.3 Referenced faults.9 8.1.2 Operation: refundAmount.10 8.1.2.1 Input message: refundAmountRequest .10 8.1.2.2 Output message: refundAmountResponse 10 8.1.2.3 Referenced faults.10 8.2 Interface: VolumeCharging10 8.2.1 Operation: chargeVolume.11 8.2.1.1 In
10、put message: chargeVolumeRequest .11 8.2.1.2 Output message: chargeVolumeResponse 11 8.2.1.3 Referenced faults.11 8.2.2 Operation: getAmount 11 8.2.2.1 Input message: getAmountRequest.12 8.2.2.2 Output message: getAmountResponse12 8.2.2.3 Referenced faults.12 8.2.3 Operation: refundVolume .12 8.2.3.
11、1 Input message: refundVolumeRequest12 8.2.3.2 Output message: refundVolumeResponse.12 8.2.3.3 Referenced faults.12 8.3 Interface: ReserveAmountCharging.13 8.3.1 Operation: reserveAmount13 8.3.1.1 Input message: reserveAmountRequest 13 8.3.1.2 Output message: reserveAmountResponse .13 8.3.1.3 Refere
12、nced faults.13 8.3.2 Operation: reserveAdditionalAmount.14 8.3.2.1 Input message: reserveAdditionalAmountRequest .14 8.3.2.2 Output message : reserveAdditionalAmountResponse .14 8.3.2.3 Referenced faults.14 8.3.3 Operation: chargeReservation.15 8.3.3.1 Input message: chargeReservationRequest .15 8.3
13、.3.2 Output message: chargeReservationResponse 15 8.3.3.3 Referenced faults.15 8.3.4 Operation: releaseReservation 15 ETSI ETSI ES 202 391-6 V1.3.1 (2008-05) 4 8.3.4.1 Input message: releaseReservationRequest.15 8.3.4.2 Output message: releaseReservationResponse16 8.3.4.3 Referenced faults.16 8.4 In
14、terface: ReserveVolumeCharging .16 8.4.1 Operation: getAmount 16 8.4.1.1 Input message: getAmountRequest.16 8.4.1.2 Output message : getAmountResponse.16 8.4.1.3 Referenced faults.16 8.4.2 Operation: reserveVolume17 8.4.2.1 Input message: reserveVolumeRequest.17 8.4.2.2 Output message: reserveVolume
15、Response .17 8.4.2.3 Referenced faults.17 8.4.3 Operation: reserveAdditionalVolume .17 8.4.3.1 Input message: reserveAdditionalVolumeRequest18 8.4.3.2 Output message: reserveAdditionalVolumeResponse 18 8.4.3.3 Referenced faults.18 8.4.4 Operation: chargeReservation.18 8.4.4.1 Input message: chargeRe
16、servationRequest .18 8.4.4.2 Output message: chargeReservationResponse 18 8.4.4.3 Referenced faults.19 8.4.5 Operation: releaseReservation 19 8.4.5.1 Input message: releaseReservationRequest.19 8.4.5.2 Output message: releaseReservationResponse19 8.4.5.3 Referenced faults.19 9 Fault definitions19 9.
17、1 ServiceException19 9.1.1 SVC0270: Charge failed.19 10 Service policies 20 Annex A (normative): WSDL for Payment .21 Annex B (informative): Bibliography.22 History 23 ETSI ETSI ES 202 391-6 V1.3.1 (2008-05) 5 Intellectual Property Rights IPRs essential or potentially essential to the present docume
18、nt may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of E
19、TSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (http:/webapp.etsi.org/IPR/home.asp). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existen
20、ce of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are, or may be, or may become, essential to the present document. Foreword This ETSI Standard (ES) has been produced by ETSI Technical Committee Telecommunications and Internet converged Services and Pro
21、tocols for Advanced Networking (TISPAN). The present document is part 6 of a multi-part deliverable covering Open Service Access (OSA); Parlay X Web Services, as identified below: Part 1: “Common“; Part 2: “Third Party Call“; Part 3: “Call Notification“; Part 4: “Short Messaging“; Part 5: “Multimedi
22、a Messaging“; Part 6: “Payment“; Part 7: “Account Management“; Part 8: “Terminal Status“; Part 9: “Terminal Location“; Part 10: “Call Handling“; Part 11: “Audio Call“; Part 12: “Multimedia Conference“; Part 13: “Address List Management“; Part 14: “Presence“. The present document has been defined joi
23、ntly between ETSI, The Parlay Group (http:/www.parlay.org), PayCircle (http:/www.paycircle.org/) and the 3GPP. The present document forms part of the Parlay X 2.2 set of specifications. The present document is equivalent to 3GPP TS 29.199-06 V6.5.0 (Release 6). ETSI ETSI ES 202 391-6 V1.3.1 (2008-05
24、) 6 1 Scope The present document is part 6 of the Stage 3 Parlay X 2 Web Services specification for Open Service Access (OSA). The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardized interface, i.e. the OSA A
25、PIs. The present document specifies the Payment Web Service. The following are defined here: Name spaces. Sequence diagrams. Data definitions. Interface specification plus detailed method descriptions. Fault definitions. Service Policies. WSDL Description of the interfaces. 2 References References a
26、re either specific (identified by date of publication and/or edition number or version number) or non-specific. For a specific reference, subsequent revisions do not apply. Non-specific reference may be made only to a complete document or a part thereof and only in the following cases: - if it is ac
27、cepted that it will be possible to use all future changes of the referenced document for the purposes of the referring document; - for informative references. Referenced documents which are not found to be publicly available in the expected location might be found at http:/docbox.etsi.org/Reference.
28、 For online referenced documents, information sufficient to identify and locate the source shall be provided. Preferably, the primary source of the referenced document should be cited, in order to ensure traceability. Furthermore, the reference should, as far as possible, remain valid for the expect
29、ed life of the document. The reference shall include the method of access to the referenced document and the full network address, with the same punctuation and use of upper case and lower case letters. NOTE: While any hyperlinks included in this clause were valid at the time of publication ETSI can
30、not guarantee their long term validity. 2.1 Normative references The following referenced documents are indispensable for the application of the present document. For dated references, only the edition cited applies. For non-specific references, the latest edition of the referenced document (includi
31、ng any amendments) applies. 1 W3C Recommendation (2 May 2001): “XML Schema Part 2: Datatypes“. NOTE: Available at: http:/www.w3.org/TR/2001/REC-xmlschema-2-20010502/. ETSI ETSI ES 202 391-6 V1.3.1 (2008-05) 7 2 ETSI ES 202 391-1: “Open Service Access (OSA); Parlay X Web Services; Part 1: Common (Par
32、lay X 2)“. 3 ISO 4217: “Codes for the representation of currencies and funds“. 3 Definitions and abbreviations 3.1 Definitions For the purposes of the present document, the terms and definitions given in ES 202 391-1 2 apply. 3.2 Abbreviations For the purposes of the present document, the abbreviati
33、ons given in ES 202 391-1 2 apply. 4 Detailed service description A vast amount of content, both information and entertainment, will be made available to subscribers. To support a business model that enables operators to offer integrated billing, a payment API is crucial. Open and inter-operable “pa
34、yment APIs“ are the key to market growth and investment protection. The Payment Web Service supports payments for any content in an open, Web-like environment. The Payment Web Service described in the present document supports payment reservation, pre-paid payments, and post-paid payments. It suppor
35、ts charging of both volume and currency amounts, a conversion function and a settlement function in case of a financially resolved dispute. Note that certain parameters are negotiated off line. For example the currency, volume type, default reservation enforcement time, as well as the taxation proce
36、dures and parameters. An example of an application scenario could be a multimedia service. Assume a subscriber is interested in receiving a stream of, say, a soccer match. The subscriber selects a match and establishes a trusted relation with the provider. Again, the provider obtains the MSISDN and
37、other information from the subscriber. The subscriber wants to know what the service will cost and the provider interacts with the operators rating engine (getAmount) taking into account the subscribers subscription, time of day, etc. The value returned is a ChargingInformation amount and is printed
38、 on the page that is displayed at the MS. The subscriber then decides to stream the match to his MS. Subsequently, the provider will reserve the appropriate amount with the operator (reserveAmount) to ensure that the subscriber can fulfil his payment obligations. The match starts and the provider pe
39、riodically charges against the reservation (chargeReservation). The match ends in a draw and is extended with a “sudden death“ phase. The subscriber continues listening, so the existing reservation is enlarged (reserveAdditionalAmount). Suddenly, one of the teams scores a goal, so the match abruptly
40、 ends, leaving part of the reserved amount unused. The provider now releases the reservation (releaseReservation), and the remaining amount is available for future use by the subscriber. Now we can extend this scenario by having the subscriber participate in a game of chance in which the provider re
41、funds a percentage of the usage costs (refundAmount) based on the ranking of a particular team in this tournament. For example, the subscriber gambling on the team that wins the tournament receives a full refund, while for gambling on the team that finishes in second place, the refund is 50 %, etc.
42、5 Namespaces The AmountCharging interface uses the namespace: http:/www.csapi.org/wsdl/parlayx/payment/amount_charging/v2_2 The VolumeCharging interface uses the namespace: http:/www.csapi.org/wsdl/parlayx/payment/volume_charging/v2_2 ETSI ETSI ES 202 391-6 V1.3.1 (2008-05) 8 The ReserveAmountChargi
43、ng interface uses the namespace: http:/www.csapi.org/wsdl/parlayx/payment/reserve_amount_charging/v2_2 The ReserveVolumeCharging interface uses the namespace: http:/www.csapi.org/wsdl/parlayx/payment/reserve_volume_charging/v2_3 The data types are defined in the namespace: http:/www.csapi.org/schema
44、/parlayx/payment/v2_1 The “xsd“ namespace is used in the present document to refer to the XML Schema data types defined in XML Schema 1. The use of the name “xsd“ is not semantically significant. 6 Sequence diagrams 6.1 Charge for content Assume a subscriber is interested in downloading a ring tone
45、to his device. The subscriber selects a ring tone and establishes a trusted relation with the ring tone provider. Essentially, the ring tone provider obtains the address (MSISDN) and other information from the subscriber. The ring tone may be downloaded to the device using SMS. As soon as the downlo
46、ad succeeds, the provider of the ring tone will charge the subscriber (chargeAmount). : End User : Self Serve Portal: Send Sms Web Service: Amount Charging Web ServiceLog on to content portalOrder RingtoneSend ringtone to deviceCreate charge for contentDisplay status pageMessage identifierFigure 1 E
47、TSI ETSI ES 202 391-6 V1.3.1 (2008-05) 9 7 XML Schema data type definition 7.1 Property structure Property with a name and value. Element name Type Optional Description name xsd:string No Name of property value xsd:string No Value of property8 Web Service interface definition 8.1 Interface: AmountCh
48、arging Charge operations by amount. 8.1.1 Operation: chargeAmount This operation results in directly charging to the account indicated by the end user identifier. The charge is specified as a ChargingInformation data structure, consisting of information on the amount to be charged and a description
49、to appear on the bill. The reference code is used to uniquely identify the request; it is the applications responsibility to provide a unique reference code within the scope of the application. 8.1.1.1 Input message: chargeAmountRequest Part name Part type Optional Description endUserIdentifier xsd:anyURI No The end users account to be charged charge common:ChargingInformation No Information on the charge to be made. In the ChargingInformation structure: The description element is information to appear on the bill. The amount to be