Académique Documents
Professionnel Documents
Culture Documents
1/16
Table of Contents
Document History...................................................................................................................3
Introduction.............................................................................................................................4
Session Timeout.....................................................................................................................4
MNO Coverage......................................................................................................................4
MSISDN Lookup (WAP).........................................................................................................4
Usecases................................................................................................................................5
WEB-Handshake......................................................................................................................... 5
WAP-Handshake......................................................................................................................... 5
SMS-Handshake.......................................................................................................................... 5
WEB & WAP Flow........................................................................................................................ 6
SMS Flow.................................................................................................................................... 6
Interfaces................................................................................................................................7
Start-Transaction-Interface.......................................................................................................... 7
WEB-Handshake.................................................................................................................................... 7
WAP-Handshake.................................................................................................................................... 8
SMS-Handshake..................................................................................................................................... 9
Success/Failure Redirect/Request........................................................................................................ 10
Query-Operator-Interface (WAP)...............................................................................................10
Charge-Subscription-Interface...................................................................................................11
Stop-Subscription-Interface........................................................................................................11
Statuscodes.........................................................................................................................12
MNO Token..........................................................................................................................12
Responseformats.................................................................................................................13
XML (default)............................................................................................................................. 13
JSON......................................................................................................................................... 13
TEXT......................................................................................................................................... 13
Screenshots.........................................................................................................................13
Examples..............................................................................................................................14
Event based Service.................................................................................................................. 14
Start-Transaction-Interface................................................................................................................... 14
Subscription Service.................................................................................................................. 15
Start-Transaction-Interface................................................................................................................... 15
Charge-Subscription-Interface.............................................................................................................. 16
Stop-Subscription-Interface.................................................................................................................. 16
2/16
Document History
Date
Author
Changes
18.08.11
3/16
Introduction
ATMS mobile-payment provides an easy way to charge your customers to their mobile-phone contract. The
following use-cases and description will use the terms service provider (you) , customer (end-user),
MNO (Mobile Network Operator) and atms (we) for the involved parties.
Mobile-payment is split into three separate use-cases:
1)
WEB-Handshake
2)
WAP-Handshake
3)
SMS-Handshake
Each of them can be either used for Event based Services or Subscription Services.
Session Timeout
The Session Timeout is 5 minutes. If a user does not confirm the payment within this timeframe, the session
is marked as timed out. No further action is done at this point.
MNO Coverage
MNO
WEB
Handshake
WAP
Handshake
SMS
Handshake
Subscription
Services
Austria
A1
(+bob/bfree)
T-Mobile
Orange
Dez. 2011
H3G
Yesss
Table 1: Current MNO Coverage in Austria
4/16
Usecases
WEB-Handshake
1.
2.
3.
4.
5.
6.
WAP-Handshake
1.
2.
3.
4.
5.
6.
7.
SMS-Handshake
1.
2.
3.
4.
5.
5/16
SMS Flow
6/16
Interfaces
Start-Transaction-Interface
WEB-Handshake
REQUEST
URL: http://mp.mobileworx.at/mp.php
Parameter
Description
Sample
O/M
pid
100000
uid
1000
upw
xxx
amount
amount in Euro-Cent
100
text
Billing-Text
ContentXY
urlsuccess
http://www.yoursuccessurl.com
urlfailure
http://www.yourfailureurl.com
msisdn
43664123456
format
xml
periodtype
week
periodlength
Description
Sample
status-code
100
status-message
Status Message
OK
status-detail
hash
Unique Transaction-Id
493b7aa32fced5f87adf64cad9e
966a36462680e
mno
A_MK
msisdn
43664123456
url-popup
http://mp.mtms.at/web_popup.js
.php?
id=493b7aa32fced5f87adf64cad
9e966a36462680e
url-redirect
http://mp.mtms.at/web.php?
id=493b7aa32fced5f87adf64cad
9e966a36462680e
7/16
WAP-Handshake
REQUEST
URL: http://mp.mobileworx.at/mp.php
Parameter
Description
Sample
O/M
pid
100000
uid
1000
upw
xxx
amount
amount in Euro-Cent
100
text
Billing-Text
ContentXY
urlsuccess
http://www.yoursuccessurl.com
urlfailure
http://www.yourfailureurl.com
format
xml
periodtype
week
periodlength
Description
Sample
status-code
100
status-message
Status Message
OK
status-detail
hash
Unique Transaction-Id
493b7aa32fced5f87adf64cad9e
966a36462680e
url-redirect
http://mp.mtms.at/wap.php?
id=e5f3eb99e1983882d1e9cfb1
33b398fab258a780
8/16
SMS-Handshake
REQUEST
URL: http://mp.mobileworx.at/mp.php
Parameter
Description
Sample
O/M
pid
100000
uid
1000
upw
xxx
amount
amount in Euro-Cent
100
text
Billing-Text
ContentXY
urlsuccess
http://www.yoursuccessurl.com
urlfailure
http://www.yourfailureurl.com
msisdn
43664123456
format
xml
periodtype
week
periodlength
Description
Sample
status-code
100
status-message
Status Message
OK
status-detail
hash
Unique Transaction-Id
493b7aa32fced5f87adf64cad9e
966a36462680e
mno
A_MK
msisdn
43664123456
9/16
Success/Failure Redirect/Request
In the case of WEB & WAP Handshake, after confirmation the customer is redirected back to your success
or failure url. When using the SMS Handshake the request to your success or failure url is done by the
atms MobilePayment Platform. In both cases, the following parameters are appended.
REDIRECT to your Success/Failure URL after confirmation this parameters are appended
Parameter
Description
Sample
statuscode
100
statusmessage
Status Message
OK
statusdetail
hash
Unique Transaction-Id
493b7aa32fced5f87adf64cad9e
966a36462680e
msisdn
43664123456
mno
A_MK
Query-Operator-Interface (WAP)
With this interface you can identify a customers MNO when surfing on your WAP-Shop.
REQUEST
URL: http://mp.mobileworx.at/mp-mno.php
Parameter
Description
Sample
O/M
pid
100000
uid
1000
upw
xxx
ip
80.75.55.136
RESPONSE
Parameter
Description
Sample
status-code
100
status-message
Status Message
OK
status-detail
mno
A_MK
10/16
Charge-Subscription-Interface
REQUEST
URL: http://mp.mobileworx.at/mp-charge.php
Parameter
Erklrung
Beispiel
pid
100000
uid
1000
upw
xxx
hash
493b7aa32fced5f87adf64cad9e96
6a36462680e
format
xml
RESPONSE
Parameter
Erklrung
Beispiel
status-code
100
status-message
Status Message
OK
status-detail
mno
A_MK
msisdn
43664123456
Stop-Subscription-Interface
REQUEST
URL: http://mp.mobileworx.at/mp-stop.php
Parameter
Erklrung
Beispiel
pid
100000
uid
1000
upw
xxx
hash
493b7aa32fced5f87adf64cad9e96
6a36462680e
format
xml
RESPONSE
Parameter
Erklrung
Beispiel
status-code
100
status-message
Status Message
OK
status-detail
mno
A_MK
msisdn
43664123456
11/16
Statuscodes
Code
Message
Detail
100
OK
200
Client Error
300
Payment Problem
MNO Token
Token
MNO
AT_A1
A1 (Mobilkom Austria)
AT_T-Mobile
T-Mobile Austria
AT_Orange
Orange Austria
AT_Drei
Drei (Hutchison/H3G)
AT_Yesss
Yesss!
12/16
Responseformats
XML (default)
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status-code>100</status-code>
<status-message>OK</status-message>
<hash>493b7aa32fced5f87adf64cad9e966a36462680e</hash>
<mno>A_MK</mno>
<msisdn>436XXX</msisdn>
<url-popup><![CDATA[http://vas.a1.net/wappaen/web_popup.js?
pID=224XXX&pToken=e48e351a48e58019e013cdf6XXX]]></url-popup>
<url-redirect><![CDATA[http://vas.a1.net/wappaen/web?2246981-e48e351a48e58019e013cdfXXX]]></urlredirect>
</response>
JSON
{"status-code":100,
"status-message":"OK",
"hash":"20cb099654eb56a1555ca6d0fd9fef88512c01d6",
"mno":"A_MK",
"msisdn":"436XXX",
"url-popup":"http:\/\/vas.a1.net\/wappaen\/web_popup.js?
pID=2247XXX&pToken=e48e351a48e58019e013cdf6753XXX",
"url-redirect":"http:\/\/vas.a1.net\/wappaen\/web?2247492-e48e351a48e58019e013cdf675XXX"}
TEXT
status-code:100
status-message:OK
hash:922dfa7b790b3b8596c9e5ad247da01c1ab00c65
mno:A_MK
msisdn:436XXX
url-popup:http://vas.a1.net/wappaen/web_popup.js?
pID=2247XXX&pToken=e48e351a48e58019e013cdf6753689d
url-redirect:http://vas.a1.net/wappaen/web?2247495-e48e351a48e58019e013cdf6753689d
Screenshots
Screenshots of the WEB and WAP Flows are available here:
http://mp.mtms.at/demo/screenshots/index.html
13/16
Examples
Event based Service
Start-Transaction-Interface
WEB-Handshake
Request:
http://mp.mobileworx.at/mp.php?pid=xxx&uid=xxx&upw=xxx&amount=100&text=ContentXY&urlsuccess=http
%3A%2F%2Fwww.mobileworx.at%2F%3Fstatus%3Dsuccess&urlfailure=http%3A%2F
%2Fwww.mobileworx.at%2F%3Fstatus%3Dfailure&msisdn=436XXX
Response:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status-code>100</status-code>
<status-message>OK</status-message>
<hash>224b530d7933e57ed755959646aded05f66f349f</hash>
<mno>A_MK</mno>
<msisdn>436XXX</msisdn>
<url-popup><![CDATA[http://mp.mtms.at/web_popup.js.php?
id=224b530d7933e57ed755959646aded05f66f349f]]></url-popup>
<url-redirect><![CDATA[http://mp.mtms.at/web.php?
id=224b530d7933e57ed755959646aded05f66f349f]]></url-redirect>
</response>
WAP-Handshake
Request:
http://mp.mobileworx.at/mp.php?pid=xxx&uid=xxx&upw=xxx&amount=100&text=ContentXY&urlsuccess=http
%3A%2F%2Fwww.mobileworx.at%2F%3Fstatus%3Dsuccess&urlfailure=http%3A%2F
%2Fwww.mobileworx.at%2F%3Fstatus%3Dfailure
Response:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status-code>100</status-code>
<status-message>OK</status-message>
<hash>224b530d7933e57ed755959646aded05f66f349f</hash>
<mno>A_MK</mno>
<msisdn>436XXX</msisdn>
<url-redirect><![CDATA[http://mp.mtms.at/web.php?
id=224b530d7933e57ed755959646aded05f66f349f]]></url-redirect>
</response>
SMS-Handshake
Request:
http://mp.mobileworx.at/mp.php?pid=xxx&uid=xxx&upw=xxx&amount=100&text= ContentXY&urlsuccess=http
%3A%2F%2Fwww.mobileworx.at%2F%3Fstatus%3Dsuccess&urlfailure=http%3A%2F
%2Fwww.mobileworx.at%2F%3Fstatus%3Dfailure&msisdn=43664XXX
Response:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status-code>100</status-code>
<status-message>OK</status-message>
<hash>224b530d7933e57ed755959646aded05f66f349f</hash>
<mno>A_MK</mno>
14/16
<msisdn>436XXX</msisdn>
</response>
Subscription Service
Start-Transaction-Interface
Example (Subscription: payment 2 times a week EUR 1,- ):
WEB-Handshake
Request:
http://mp.mobileworx.at/mp.php?pid=xxx&uid=xxx&upw=xxx&amount=100&text= ContentXY&urlsuccess=http
%3A%2F%2Fwww.mobileworx.at%2F%3Fstatus%3Dsuccess&urlfailure=http%3A%2F
%2Fwww.mobileworx.at%2F%3Fstatus
%3Dfailure&msisdn=436XXX&chargeunits=2&periodtype=week&periodlength=1
Response:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status-code>100</status-code>
<status-message>OK</status-message>
<hash>224b530d7933e57ed755959646aded05f66f349f</hash>
<mno>A_MK</mno>
<msisdn>436XXX</msisdn>
<url-popup><![CDATA[http://mp.mtms.at/web_popup.js.php?
id=224b530d7933e57ed755959646aded05f66f349f]]></url-popup>
<url-redirect><![CDATA[http://mp.mtms.at/web.php?
id=224b530d7933e57ed755959646aded05f66f349f]]></url-redirect>
</response>
WAP-Handshake
Request:
http://mp.mobileworx.at/mp.php?pid=xxx&uid=xxx&upw=xxx&amount=100&text=ContentXY&urlsuccess=http
%3A%2F%2Fwww.mobileworx.at%2F%3Fstatus%3Dsuccess&urlfailure=http%3A%2F
%2Fwww.mobileworx.at%2F%3Fstatus%3Dfailure&chargeunits=2&periodtype=week&periodlength=1
Response:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status-code>100</status-code>
<status-message>OK</status-message>
<hash>224b530d7933e57ed755959646aded05f66f349f</hash>
<mno>A_MK</mno>
<msisdn>436XXX</msisdn>
<url-redirect><![CDATA[http://mp.mtms.at/web.php?
id=224b530d7933e57ed755959646aded05f66f349f]]></url-redirect>
</response>
SMS-Handshake
Request:
http://mp.mobileworx.at/mp.php?pid=xxx&uid=xxx&upw=xxx&amount=100&text= ContentXY&urlsuccess=http
%3A%2F%2Fwww.mobileworx.at%2F%3Fstatus%3Dsuccess&urlfailure=http%3A%2F
%2Fwww.mobileworx.at%2F%3Fstatus
%3Dfailure&msisdn=43664XXX&chargeunits=2&periodtype=week&periodlength=1
Response:
15/16
Charge-Subscription-Interface
Request:
http://mp.mobileworx.at/mp-charge.php?
pid=xxx&uid=xxx&upw=xxx&hash=493b7aa32fced5f87adf64cad9e966a36462680e
Response:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status-code>100</status-code>
<status-message>OK</status-message>
<hash>224b530d7933e57ed755959646aded05f66f349f</hash>
<mno>A_MK</mno>
<msisdn>436XXX</msisdn>
</response>
Stop-Subscription-Interface
Request:
http://mp.mobileworx.at/mp-stop.php?
pid=xxx&uid=xxx&upw=xxx&hash=493b7aa32fced5f87adf64cad9e966a36462680e
Response:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status-code>100</status-code>
<status-message>OK</status-message>
<hash>224b530d7933e57ed755959646aded05f66f349f</hash>
<mno>A_MK</mno>
<msisdn>436XXX</msisdn>
</response>
16/16