-
Notifications
You must be signed in to change notification settings - Fork 9
bill
oabdoun edited this page Dec 3, 2014
·
6 revisions
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"
}
}where
-
merchantTxnIdis your order (or transaction) identifier -
amount.currencymust be "INR" -
amount.valueis the amount of your order (or transaction); format must be identical to the one passed to signature algorithm on your server (i.e. if you have generated signature with amount equals to "1", thenamount.valuemust be "1"; if you have generated signature with amount equals to "1.00", thenamount.valuemust be "1.00") returnUrlmerchantAccessKeyrequestSignature-
userDetailsis self explaining ;) customParameters