Skip to content
oabdoun edited this page Dec 3, 2014 · 6 revisions

Payment Bill

A bill is a JSON or JavaScript objects that contains data about your order (or transaction), your customer, as well as processing related information. It has the following format:

{
	"merchantTxnId": "ORDER_846BCE",
	"amount": {
		"currency": "INR",
		"value": "256.32"
	},
	"returnUrl": "https://www.example.com/payment_response/citrus",
	"merchantAccessKey": "LY80PJEZK5TDFWKATHTL",
	"requestSignature": "19157bfd6eb14e50c2522631eb2dd9f978ecdb90",
		
	"userDetails": {
		"firstName": "Chhota",
		"lastName": "Bheem",
		"email": "chhota.bheem@pogo.tv",
		"mobileNo": "8844662200",
		"address": {
			"street1": "Laddoo House",
			"street2": "Main Road",
			"city": "Dholakpur",
			"zip": "100024",
			"state": "Dholakpur",
			"country": "India"
		}
	},
	
	"customParameters": {
		"paramOne": "one value",
		"secundo": "online"
	}
}

Clone this wiki locally