SIST ES 202 504-6 V1.1.1:2008
Open Service Access (OSA) - Parlay X Web Services - Part 6: Payment (Parlay X 3)
- Abstract
New edition of ParlayX specification based on requirements in EG 201 988-4, corresponding to 3GPP TS 29.199 Rel-7. The present document is part 6 of the Stage 3 Parlay X 3 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 APIs.
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.
- Status
- Published
- Publication Date
- 14-Jul-2008
- Technical Committee
- SPN - Services and Protocols for Networks
- Current Stage
- 6060 - National Implementation/Publication (Adopted Project)
- Start Date
- 18-Jun-2008
- Due Date
- 23-Aug-2008
- Completion Date
- 15-Jul-2008
Buy Documents
ETSI ES 202 504-6 V1.1.1 (2008-02) - Open Service Access (OSA); Parlay X Web Services; Part 6: Payment (Parlay X 3)
ETSI ES 202 504-6 V1.1.1 (2008-05) - Open Service Access (OSA); Parlay X Web Services; Part 6: Payment (Parlay X 3)
SIST ES 202 504-6 V1.1.1:2008 is the SIST publication of the ETSI standard for Open Service Access (OSA) Parlay X Web Services Part 6: Payment (Parlay X 3). It specifies the Payment Web Service used to expose charging, refund and reservation functions through a standardized web-service interface for applications that work with network billing. The document is aimed at service developers, platform integrators, operators and billing system designers who need to charge by amount or volume, reserve credit and split charges between end-user accounts.
What does SIST ES 202 504-6 V1.1.1:2008 specify?
SIST ES 202 504-6 V1.1.1:2008 is part 6 of the Stage 3 Parlay X 3 Web Services specification for Open Service Access (OSA). It describes the Payment Web Service and organizes the specification into clauses for scope, references, definitions, service description, namespaces, sequence diagrams, XML schema data types, interface definitions, fault definitions and service policies.
The scope covers payment reservation, pre-paid and post-paid payments, charging by currency amount or by volume, a conversion function, and settlement support for a financially resolved dispute. It also defines the WSDL representation of the interface.
| Annex | What it covers |
|---|---|
| Annex A | Normative WSDL for Payment |
| Annex B | Informative bibliography |
What are the key requirements of SIST ES 202 504-6 V1.1.1:2008?
The service supports several payment patterns
SIST ES 202 504-6 V1.1.1:2008 defines direct charging, refunds, split charging and reservation-based charging. In practice, that means one application can bill a user immediately, reverse a charge, divide a charge across several accounts, or reserve credit first and settle it later.
Clause 4 says the service supports both currency and volume charging. It also includes a conversion function so an application can ask for the amount corresponding to a usage volume before it charges the user.
The service uses four named interfaces
SIST ES 202 504-6 V1.1.1:2008 defines the interfaces AmountCharging, VolumeCharging, ReserveAmountCharging and ReserveVolumeCharging. Each interface groups related operations so implementers can select the model they need instead of building one large generic call.
AmountCharging contains chargeAmount, refundAmount and chargeSplitAmount. VolumeCharging contains chargeVolume, getAmount, refundVolume and chargeSplitVolume. ReserveAmountCharging and ReserveVolumeCharging add reservation and settlement operations for amount-based and volume-based charging.
Split charging has specific rules
SIST ES 202 504-6 V1.1.1:2008 uses the SplitType structure to allocate part of a charge to each end user account. Each split entry names an end user account and a percentage, and the percentage shares must add up to 100.
In practice, this matters when one payment has to be shared across participants, such as a group service or conference. The document also names the faults that apply when split charging is misused: SVC0271 for an invalid percentage total, POL0250 for too many end user accounts, and POL0251 when split charging is not supported.
Charging requests carry billing text and a unique reference
SIST ES 202 504-6 V1.1.1:2008 uses ChargingInformation for the charge or refund details, including the amount or code, an optional currency and descriptive text that can appear on the bill. For chargeAmount, refundAmount, chargeSplitAmount, chargeReservation and similar operations, the application is responsible for providing a unique referenceCode within its own scope.
For a buyer or integrator, this means the charging side needs enough information to identify the transaction later in disputes, billing reconciliation or customer support.
Volume charging can use rating parameters
SIST ES 202 504-6 V1.1.1:2008 allows a Property list of rating parameters for volume-based operations. The documented parameter names are unit, contract, service and operation, and the text gives examples such as bytes, a contract number or a service name.
This is important because the charge for a volume can depend on the context of use, not only on the raw quantity. The same service can therefore be rated differently depending on the contract or the operation being performed.
Reservations are time-limited and can be extended or released
SIST ES 202 504-6 V1.1.1:2008 defines reserveAmount and reserveVolume to create a reservation and return a reservation identifier. It also defines reserveAdditionalAmount and reserveAdditionalVolume to adjust an existing reservation, chargeReservation to settle against a reservation, and releaseReservation to return unused credit or volume.
The service policies define the reservation duration, so implementations need to handle expiry as well as explicit release. The document also notes that one charging session to a reservation results in one bill entry, which matters for billing clarity.
The service behavior is controlled by policies
SIST ES 202 504-6 V1.1.1:2008 defines service policies for Currency, MaximumEndUserIdentifier, SplitChargingAvailable and ReservationDuration. Currency uses ISO 4217 codes, so billing systems need to use the configured currency consistently.
MaximumEndUserIdentifier and SplitChargingAvailable control whether multi-account charging is allowed and how many accounts can be charged at once. ReservationDuration sets the default life of amount and volume reservations.
What terms does SIST ES 202 504-6 V1.1.1:2008 define?
- ChargingInformation - The data structure that carries charge or refund details, including the amount, code, currency and description used for billing.
- Property - A simple name-value pair used for rating parameters such as unit, contract, service and operation.
- SplitType - The structure that links an end user account to a percentage share of a split charge.
- referenceCode - A request identifier used by the application to distinguish one charging transaction from another.
- reservationIdentifier - The identifier returned for a reservation and used later to charge, extend or release it.
- ServiceException - The fault class used for charging failures and invalid charging information.
- PolicyException - The fault class used when a request breaks service policy limits, such as too many end user accounts or unsupported split charging.
Who uses SIST ES 202 504-6 V1.1.1:2008?
SIST ES 202 504-6 V1.1.1:2008 is used by telecommunications operators, service providers, portal developers and billing or rating system implementers. It is relevant wherever network services are charged through an application-facing interface.
Typical uses include charging for downloaded content, rating a usage volume before presentation to the user, reserving credit for an ongoing session, splitting a charge across several participants and refunding part of a fee after a business rule or dispute outcome. The document also fits integration work where a web service must connect application logic to operator billing systems.
What changed in SIST ES 202 504-6 V1.1.1:2008 from the previous edition?
SIST ES 202 504-6 V1.1.1:2008 is presented as a new edition of the Parlay X specification and is equivalent to 3GPP TS 29.199-06 V7.2.2 (Release 7). It is based on requirements in EG 201 988-4.
Which standards are used with SIST ES 202 504-6 V1.1.1:2008?
| Standard | Contribution |
|---|---|
| ETSI ES 202 504-1 | Common Parlay X 3 material, including shared definitions and abbreviations |
| W3C Recommendation, XML Schema Part 2: Datatypes | The XML schema datatypes used for values such as strings, integers, anyURI and long |
| ISO 4217 | The currency code list used by the Currency service policy |
What does the SIST ES 202 504-6 V1.1.1:2008 document contain?
The document contains a sequence diagram for a charge-for-content scenario, showing how a service can trigger charging after a content download. It also contains XML schema definitions for the Property and SplitType data structures.
Clause 8 gives the interface definitions, input and output messages and referenced faults for AmountCharging, VolumeCharging, ReserveAmountCharging and ReserveVolumeCharging. Clause 9 defines the ServiceException and PolicyException faults, and clause 10 sets out the service policies.
Annex A provides the normative WSDL for Payment in document/literal form, and Annex B lists bibliography material.
Buy Documents
ETSI ES 202 504-6 V1.1.1 (2008-02) - Open Service Access (OSA); Parlay X Web Services; Part 6: Payment (Parlay X 3)
ETSI ES 202 504-6 V1.1.1 (2008-05) - Open Service Access (OSA); Parlay X Web Services; Part 6: Payment (Parlay X 3)
Get Certified
Connect with accredited certification bodies for this standard

BSI Group
BSI (British Standards Institution) is the business standards company that helps organizations make excellence a habit.

NYCE
Mexican standards and certification body.
Sponsored listings
Frequently Asked Questions
SIST ES 202 504-6 V1.1.1:2008 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Open Service Access (OSA) - Parlay X Web Services - Part 6: Payment (Parlay X 3)". This standard covers: New edition of ParlayX specification based on requirements in EG 201 988-4, corresponding to 3GPP TS 29.199 Rel-7. The present document is part 6 of the Stage 3 Parlay X 3 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 APIs. 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.
New edition of ParlayX specification based on requirements in EG 201 988-4, corresponding to 3GPP TS 29.199 Rel-7. The present document is part 6 of the Stage 3 Parlay X 3 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 APIs. 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.
SIST ES 202 504-6 V1.1.1:2008 is classified under the following ICS (International Classification for Standards) categories: 35.100.01 - Open systems interconnection in general. The ICS classification helps identify the subject area and facilitates finding related standards.
SIST ES 202 504-6 V1.1.1:2008 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.
Standards Content (Sample)
Contents
- 1 Scope
- 2 References
- 2.1 Normative references
- 8 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 3 Definitions and abbreviations
- 3.1 Definitions
- 3.2 Abbreviations
- 4 Detailed service description
- 5 Namespaces
- 9 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 6 Sequence diagrams
- 6.1 Charge for content
- 10 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 7 XML Schema data type definition
- 7.1 Property structure
- 7.2 SplitType structure
- 8 Web Service interface definition
- 8.1 Interface: AmountCharging
- 11 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 12 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 13 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 8.2 Interface: VolumeCharging
- 14 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 15 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 8.3 Interface: ReserveAmountCharging
- 16 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 17 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 18 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 19 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 8.4 Interface: ReserveVolumeCharging
- 20 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 21 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 22 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 9 Fault definitions
- 9.1 ServiceException
- 23 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 9.2 PolicyException
- 10 Service policies
- 24 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- 25 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- Bibliography
- 26 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
1 Scope
The present document is part 6 of the Stage 3 Parlay X 3 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 APIs.
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 are 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 accepted 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.
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 expected 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 cannot 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 (including 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
8 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
[2] ETSI ES 202 504-1: "Open Service Access (OSA); Parlay X Web Services; Part 1: Common (Parlay X 3)".
[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 504-1 [2] apply.
3.2 Abbreviations
For the purposes of the present document, the abbreviations given in ES 202 504-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 "payment 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 supports 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 as part of a service level agreement. For example the taxation procedures 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 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 subscriber's subscription, time of day, etc. The value returned is a ChargingInformation amount and is printed 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 periodically 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 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 refunds 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.
5 Namespaces
The AmountCharging interface uses the namespace:
http://www.csapi.org/wsdl/parlayx/payment/amount_charging/v3_1 The VolumeCharging interface uses the namespace:
http://www.csapi.org/wsdl/parlayx/payment/volume_charging/v3_1 ETSI
9 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
The ReserveAmountCharging interface uses the namespace:
http://www.csapi.org/wsdl/parlayx/payment/reserve_amount_charging/v3_1 The ReserveVolumeCharging interface uses the namespace:
http://www.csapi.org/wsdl/parlayx/payment/reserve_volume_charging/v3_1 The data types are defined in the namespace:
http://www.csapi.org/schema/parlayx/payment/v3_0 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 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 download succeeds, the provider of the ring tone will charge the subscriber (chargeAmount). : End User : Self Serve : Send Sms : Amount Charging Portal Web Service Web Service Log on to content portal Order Ringtone Send ringtone to device Message identifier Create charge for content Display status page
Figure 1 ETSI
10 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
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 property
7.2 SplitType structure
Identifies the percentage of the total charge that is be allocated to the specified end user's account. Element name Type Optional Description endUserIdentifier xsd:anyURI No The end user's account to be charged percent xsd: Int No Specifies the allocation of the total charge for this account. The sum of all allocations must equal 100. If sum of percentage allocations is not equal to 100 a service exception (SVC0271) will be thrown. The value of percentage should be positive.
8 Web Service interface definition
8.1 Interface: AmountCharging
Charge operations by currency 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 to appear on the bill. The reference code is used to uniquely identify the request; it is the application's 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 user's account to be charged. charge common:ChargingI No Information on the charge to be made. In the nformation ChargingInformation structure:
- the description element is information to appear on the bill.
- the amount to be charged appears either directly in the amount element or encoded in the code element. If both these elements are missing or empty, a service exception (SVC0007) will be thrown.
- the optional currency element specifies the currency to be used for the charge.
referenceCode xsd:string No Textual information to uniquely identify the request, e.g. in case of disputes.
ETSI
11 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
8.1.1.2 Output message: chargeAmountResponse
Part name Part type Optional Description None
8.1.1.3 Referenced faults
ServiceException from ES 202 504-1 [2]:
- SVC0001 - Service error.
- SVC0002 - Invalid input value.
- SVC0007 - Invalid charging information
- SVC0270 - Charge failed.
PolicyException from ES 202 504-1 [2]:
- POL0001 - Policy error.
8.1.2 Operation: refundAmount
This operation results in directly applying a refund to the account indicated by the end user identifier. The refund is specified as a currency amount. The billing text field is used for textual information to appear on the bill. The reference code is used to uniquely identify the request; it is the application's responsibility to provide a unique reference code within the scope of the application.
8.1.2.1 Input message: refundAmountRequest
Part name Part type Optional Description endUserIdentifier xsd:anyURI No The end user's account to be refunded. charge common:ChargingI No Information on the refund to be made. In the ChargingInformation structure:
nformation - the description element is information to appear on the bill.
- the amount to be refunded appears either directly in the amount element or encoded in the code element. If both these elements are missing or empty, a service exception (SVC0007) will be thrown.
- the optional currency element specifies the currency to be used for the refund.
referenceCode xsd:string No Textual information to uniquely identify the request, e.g. in case of disputes.
8.1.2.2 Output message: refundAmountResponse
Part name Part type Optional Description None
8.1.2.3 Referenced faults
ServiceException from ES 202 504-1 [2]:
- SVC0001 - Service error.
- SVC0002 - Invalid input value.
- SVC0007 - Invalid charging information.
ETSI
12 Final draft ETSI ES 202 504-6 V1.1.1 (2008-02)
- SVC0270 - Charge failed.
PolicyException from ES 202 504-1 [2]:
- POL0001 - Policy error.
8.1.3 Operation: chargeSplitAmount
This operation results in directly charging to multiple end user accounts concurrently (e.g. for allocating a charge among participants in a multi-user game or conference). The percentage allocation per end user account is specified using the SplitType data structure. The charge is specified as a ChargingInformation data structure, consisting of information on the total amount to be charged and a description to appear on the bill. The reference code is used to uniquely identify the request; it is the application's responsibility to provide a unique reference code within the scope of the application.
8.1.3.1 Input message: chargeSplitAmountRequest
Part name Part type Optional Description splitInfo SplitType No Identifies the percentage of the total charge that is be [1..unbounded] allocated to each of the specified end user accounts. charge common:ChargingI No Information on the charge to be made. In the nformation ChargingInformation structure:
- the description element is information to appear on the bill.
- the amount to be charged appears either directly in the amount element or encoded in the code element. If both these elements are missing or empty, a service exception (SVC0007) will be thrown.
...
Contents
- 1 Scope
- 2 References
- 2.1 Normative references
- 8 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 3 Definitions and abbreviations
- 3.1 Definitions
- 3.2 Abbreviations
- 4 Detailed service description
- 5 Namespaces
- 9 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 6 Sequence diagrams
- 6.1 Charge for content
- 10 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 7 XML Schema data type definition
- 7.1 Property structure
- 7.2 SplitType structure
- 8 Web Service interface definition
- 8.1 Interface: AmountCharging
- 11 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 12 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 13 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 8.2 Interface: VolumeCharging
- 14 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 15 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 8.3 Interface: ReserveAmountCharging
- 16 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 17 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 18 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 19 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 8.4 Interface: ReserveVolumeCharging
- 20 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 21 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 22 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 9 Fault definitions
- 9.1 ServiceException
- 23 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 9.2 PolicyException
- 10 Service policies
- 24 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 25 ETSI ES 202 504-6 V1.1.1 (2008-05)
- Bibliography
- 26 ETSI ES 202 504-6 V1.1.1 (2008-05)
1 Scope
The present document is part 6 of the Stage 3 Parlay X 3 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 APIs.
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 are 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 accepted 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.
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 expected 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 cannot 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 (including 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
8 ETSI ES 202 504-6 V1.1.1 (2008-05)
[2] ETSI ES 202 504-1: "Open Service Access (OSA); Parlay X Web Services; Part 1: Common (Parlay X 3)".
[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 504-1 [2] apply.
3.2 Abbreviations
For the purposes of the present document, the abbreviations given in ES 202 504-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 "payment 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 supports 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 as part of a service level agreement. For example the taxation procedures 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 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 subscriber's subscription, time of day, etc. The value returned is a ChargingInformation amount and is printed 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 periodically 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 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 refunds 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.
5 Namespaces
The AmountCharging interface uses the namespace:
http://www.csapi.org/wsdl/parlayx/payment/amount_charging/v3_1 The VolumeCharging interface uses the namespace:
http://www.csapi.org/wsdl/parlayx/payment/volume_charging/v3_1 ETSI
9 ETSI ES 202 504-6 V1.1.1 (2008-05)
The ReserveAmountCharging interface uses the namespace:
http://www.csapi.org/wsdl/parlayx/payment/reserve_amount_charging/v3_1 The ReserveVolumeCharging interface uses the namespace:
http://www.csapi.org/wsdl/parlayx/payment/reserve_volume_charging/v3_1 The data types are defined in the namespace:
http://www.csapi.org/schema/parlayx/payment/v3_0 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 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 download succeeds, the provider of the ring tone will charge the subscriber (chargeAmount). : End User : Self Serve : Send Sms : Amount Charging Portal Web Service Web Service Log on to content portal Order Ringtone Send ringtone to device Message identifier Create charge for content Display status page
Figure 1 ETSI
10 ETSI ES 202 504-6 V1.1.1 (2008-05)
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 property
7.2 SplitType structure
Identifies the percentage of the total charge that is be allocated to the specified end user's account. Element name Type Optional Description endUserIdentifier xsd:anyURI No The end user's account to be charged percent xsd: Int No Specifies the allocation of the total charge for this account. The sum of all allocations must equal 100. If sum of percentage allocations is not equal to 100 a service exception (SVC0271) will be thrown. The value of percentage should be positive.
8 Web Service interface definition
8.1 Interface: AmountCharging
Charge operations by currency 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 to appear on the bill. The reference code is used to uniquely identify the request; it is the application's 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 user's account to be charged. charge common:ChargingI No Information on the charge to be made. In the nformation ChargingInformation structure:
- the description element is information to appear on the bill.
- the amount to be charged appears either directly in the amount element or encoded in the code element. If both these elements are missing or empty, a service exception (SVC0007) will be thrown.
- the optional currency element specifies the currency to be used for the charge.
referenceCode xsd:string No Textual information to uniquely identify the request, e.g. in case of disputes.
ETSI
11 ETSI ES 202 504-6 V1.1.1 (2008-05)
8.1.1.2 Output message: chargeAmountResponse
Part name Part type Optional Description None
8.1.1.3 Referenced faults
ServiceException from ES 202 504-1 [2]:
- SVC0001 - Service error.
- SVC0002 - Invalid input value.
- SVC0007 - Invalid charging information
- SVC0270 - Charge failed.
PolicyException from ES 202 504-1 [2]:
- POL0001 - Policy error.
8.1.2 Operation: refundAmount
This operation results in directly applying a refund to the account indicated by the end user identifier. The refund is specified as a currency amount. The billing text field is used for textual information to appear on the bill. The reference code is used to uniquely identify the request; it is the application's responsibility to provide a unique reference code within the scope of the application.
8.1.2.1 Input message: refundAmountRequest
Part name Part type Optional Description endUserIdentifier xsd:anyURI No The end user's account to be refunded. charge common:ChargingI No Information on the refund to be made. In the ChargingInformation structure:
nformation - the description element is information to appear on the bill.
- the amount to be refunded appears either directly in the amount element or encoded in the code element. If both these elements are missing or empty, a service exception (SVC0007) will be thrown.
- the optional currency element specifies the currency to be used for the refund.
referenceCode xsd:string No Textual information to uniquely identify the request, e.g. in case of disputes.
8.1.2.2 Output message: refundAmountResponse
Part name Part type Optional Description None
8.1.2.3 Referenced faults
ServiceException from ES 202 504-1 [2]:
- SVC0001 - Service error.
- SVC0002 - Invalid input value.
- SVC0007 - Invalid charging information.
ETSI
12 ETSI ES 202 504-6 V1.1.1 (2008-05)
- SVC0270 - Charge failed.
PolicyException from ES 202 504-1 [2]:
- POL0001 - Policy error.
8.1.3 Operation: chargeSplitAmount
This operation results in directly charging to multiple end user accounts concurrently (e.g. for allocating a charge among participants in a multi-user game or conference). The percentage allocation per end user account is specified using the SplitType data structure. The charge is specified as a ChargingInformation data structure, consisting of information on the total amount to be charged and a description to appear on the bill. The reference code is used to uniquely identify the request; it is the application's responsibility to provide a unique reference code within the scope of the application.
8.1.3.1 Input message: chargeSplitAmountRequest
Part name Part type Optional Description splitInfo SplitType No Identifies the percentage of the total charge that is be [1..unbounded] allocated to each of the specified end user accounts. charge common:ChargingI No Information on the charge to be made. In the nformation ChargingInformation structure:
- the description element is information to appear on the bill.
- the amount to be charged appears either directly in the amount element or encoded in the code element. If both these elements are missing or empty, a service exception (SVC0007) will be thrown.
...
Contents
- 1 Scope
- 2 References
- 2.1 Normative references
- 8 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 3 Definitions and abbreviations
- 3.1 Definitions
- 3.2 Abbreviations
- 4 Detailed service description
- 5 Namespaces
- 9 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 6 Sequence diagrams
- 6.1 Charge for content
- 10 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 7 XML Schema data type definition
- 7.1 Property structure
- 7.2 SplitType structure
- 8 Web Service interface definition
- 8.1 Interface: AmountCharging
- 11 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 12 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 13 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 8.2 Interface: VolumeCharging
- 14 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 15 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 8.3 Interface: ReserveAmountCharging
- 16 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 17 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 18 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 19 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 8.4 Interface: ReserveVolumeCharging
- 20 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 21 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 22 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 9 Fault definitions
- 9.1 ServiceException
- 23 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 9.2 PolicyException
- 10 Service policies
- 24 ETSI ES 202 504-6 V1.1.1 (2008-05)
- 25 ETSI ES 202 504-6 V1.1.1 (2008-05)
- Bibliography
- 26 ETSI ES 202 504-6 V1.1.1 (2008-05)
1 Scope
The present document is part 6 of the Stage 3 Parlay X 3 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 APIs.
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 are 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 accepted 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.
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 expected 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 cannot 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 (including 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
SIST ES 202 504-6 V1.1.1:2008
8 ETSI ES 202 504-6 V1.1.1 (2008-05)
[2] ETSI ES 202 504-1: "Open Service Access (OSA); Parlay X Web Services; Part 1: Common (Parlay X 3)".
[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 504-1 [2] apply.
3.2 Abbreviations
For the purposes of the present document, the abbreviations given in ES 202 504-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 "payment 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 supports 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 as part of a service level agreement. For example the taxation procedures 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 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 subscriber's subscription, time of day, etc. The value returned is a ChargingInformation amount and is printed 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 periodically 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 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 refunds 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.
5 Namespaces
The AmountCharging interface uses the namespace:
http://www.csapi.org/wsdl/parlayx/payment/amount_charging/v3_1 The VolumeCharging interface uses the namespace:
http://www.csapi.org/wsdl/parlayx/payment/volume_charging/v3_1 ETSI
SIST ES 202 504-6 V1.1.1:2008
9 ETSI ES 202 504-6 V1.1.1 (2008-05)
The ReserveAmountCharging interface uses the namespace:
http://www.csapi.org/wsdl/parlayx/payment/reserve_amount_charging/v3_1 The ReserveVolumeCharging interface uses the namespace:
http://www.csapi.org/wsdl/parlayx/payment/reserve_volume_charging/v3_1 The data types are defined in the namespace:
http://www.csapi.org/schema/parlayx/payment/v3_0 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 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 download succeeds, the provider of the ring tone will charge the subscriber (chargeAmount). : End User : Self Serve : Send Sms : Amount Charging Portal Web Service Web Service Log on to content portal Order Ringtone Send ringtone to device Message identifier Create charge for content Display status page
Figure 1 ETSI
SIST ES 202 504-6 V1.1.1:2008
10 ETSI ES 202 504-6 V1.1.1 (2008-05)
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 property
7.2 SplitType structure
Identifies the percentage of the total charge that is be allocated to the specified end user's account. Element name Type Optional Description endUserIdentifier xsd:anyURI No The end user's account to be charged percent xsd: Int No Specifies the allocation of the total charge for this account. The sum of all allocations must equal 100. If sum of percentage allocations is not equal to 100 a service exception (SVC0271) will be thrown. The value of percentage should be positive.
8 Web Service interface definition
8.1 Interface: AmountCharging
Charge operations by currency 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 to appear on the bill. The reference code is used to uniquely identify the request; it is the application's 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 user's account to be charged. charge common:ChargingI No Information on the charge to be made. In the nformation ChargingInformation structure:
- the description element is information to appear on the bill.
- the amount to be charged appears either directly in the amount element or encoded in the code element. If both these elements are missing or empty, a service exception (SVC0007) will be thrown.
- the optional currency element specifies the currency to be used for the charge.
referenceCode xsd:string No Textual information to uniquely identify the request, e.g. in case of disputes.
ETSI
SIST ES 202 504-6 V1.1.1:2008
11 ETSI ES 202 504-6 V1.1.1 (2008-05)
8.1.1.2 Output message: chargeAmountResponse
Part name Part type Optional Description None
8.1.1.3 Referenced faults
ServiceException from ES 202 504-1 [2]:
- SVC0001 - Service error.
- SVC0002 - Invalid input value.
- SVC0007 - Invalid charging information
- SVC0270 - Charge failed.
PolicyException from ES 202 504-1 [2]:
- POL0001 - Policy error.
8.1.2 Operation: refundAmount
This operation results in directly applying a refund to the account indicated by the end user identifier. The refund is specified as a currency amount. The billing text field is used for textual information to appear on the bill. The reference code is used to uniquely identify the request; it is the application's responsibility to provide a unique reference code within the scope of the application.
8.1.2.1 Input message: refundAmountRequest
Part name Part type Optional Description endUserIdentifier xsd:anyURI No The end user's account to be refunded. charge common:ChargingI No Information on the refund to be made. In the ChargingInformation structure:
nformation - the description element is information to appear on the bill.
- the amount to be refunded appears either directly in the amount element or encoded in the code element. If both these elements are missing or empty, a service exception (SVC0007) will be thrown.
- the optional currency element specifies the currency to be used for the refund.
referenceCode xsd:string No Textual information to uniquely identify the request, e.g. in case of disputes.
8.1.2.2 Output message: refundAmountResponse
Part name Part type Optional Description None
8.1.2.3 Referenced faults
ServiceException from ES 202 504-1 [2]:
- SVC0001 - Service error.
- SVC0002 - Invalid input value.
- SVC0007 - Invalid charging information.
ETSI
SIST ES 202 504-6 V1.1.1:2008
12 ETSI ES 202 504-6 V1.1.1 (2008-05)
- SVC0270 - Charge failed.
PolicyException from ES 202 504-1 [2]:
- POL0001 - Policy error.
8.1.3 Operation: chargeSplitAmount
This operation results in directly charging to multiple end user accounts concurrently (e.g. for allocating a charge among participants in a multi-user game or conference). The percentage allocation per end user account is specified using the SplitType data structure. The charge is specified as a ChargingInformation data structure, consisting of information on the total amount to be charged and a description to appear on the bill. The reference code is used to uniquely identify the request; it is the application's responsibility to provide a unique reference code within the scope of the application.
8.1.3.1 Input message: chargeSplitAmountRequest
Part name Part type Optional Description splitInfo SplitType No Identifies the percentage of the total charge that is be [1..unbounded] allocated to each of the specified end user accounts. charge common:ChargingI No Information on the charge to be made. In the nformation ChargingInformation structure:
- the description element is information to appear on the bill.
- the amount to be charged appears either directly in the amount element or encoded in the code element. If both these elements are missing or empty, a service exception (SVC0007) will be thrown.
- the optional currency element specifies the currency to be used for the charge.
...











