Get a mobile user's location

Use any Web client (Rails, PHP, JSP, AJAX etc.) to perform the following request:
GET http://onemorefortheroad.heroku.com/2/location/queries/location?address=12345
...and get the following JSON. You can change the address (the phone number), but the location will always return as London for this sandbox.
	{"terminalLoc":
		{"address":"12345",
		"currentLoc":
			{"latitude":"0",
			"timestamp":"Sat Apr 09 11:25:09 -0700 2011",
			"accuracy":"500","altitude":"5","longitude":"51"}}}

Charge to a mobile user's bill

POST this request:
POST http://onemorefortheroad.heroku.com/2/payment/acr:Authorization/transactions/amount
						
Accept: application/json
Host: onemorefortheroad.heroku.com
Content-Type: application/x-www-form-urlencoded
endUserId=acr:Authorization&
transactionOperationStatus=charged&
code=12345&
referenceCode=REF-12345
...and get the following JSON detailing the transaction. Note that the transactionOperationStatus is "Processing" - so to check that the user has been charged you will need to query the transaction.
HTTP/1.1 202 Accepted
Content-Type: application/json
Content-Length: 12345
Date: Thu, 04 Jun 2009 02:51:59 GMT
Location: http://onemorefortheroad.heroku.com/2/payment/acr:authorization/transactions/amount/abc123

{"amountTransaction": {
    "clientCorrelator": "54321",
    "endUserId": "tel:+16309700001",
    "paymentAmount": {
        "chargingInformation": {
            "code": "xyz",
            "description": " Alien Invaders Game"
        },
    },
    "referenceCode": "REF-12345",
    "serverReferenceCode": "ABC-123",
	"resourceURL": "http://onemorefortheroad.heroku.com/2/payment/acr:authorization/transactions/amount/abc123
    "transactionOperationStatus": "Processing"
}}

Query a transaction

GET http://onemorefortheroad.heroku.com/2/payment/acr:Authorization/transactions/amount/a3c0e4e0-06da-40a8-a5b5-045972478cc3
Accept: application/json
...to find out if the transaction has been processed (change the string following /amount/ to the transactionID returned when you charged the user.
HTTP/1.1 202 Accepted
Content-Type: application/json
Content-Length: 12345
Date: Thu, 04 Jun 2009 02:51:59 GMT
Location: http://onemorefortheroad.heroku.com/2/payment/acr:authorization/transactions/amount/abc123

{"amountTransaction": {
"clientCorrelator": "54321",
"endUserId": "tel:+16309700001",
"paymentAmount": {
    "chargingInformation": {
        "code": "xyz",
        "description": " Alien Invaders Game"
    },
},
"referenceCode": "REF-12345",
"serverReferenceCode": "ABC-123",
"resourceURL": "http://onemorefortheroad.heroku.com/2/payment/acr:authorization/transactions/amount/abc123
"transactionOperationStatus": "Charged"
}}