Skip to content

Instantly share code, notes, and snippets.

@michaelO93
Created February 13, 2017 10:29
Show Gist options
  • Save michaelO93/e0e7f1c0ff78f99bb18af6470fda78bd to your computer and use it in GitHub Desktop.
Save michaelO93/e0e7f1c0ff78f99bb18af6470fda78bd to your computer and use it in GitHub Desktop.
The Request to be sent to the requested endpoint
//All parameters except for merchantid should be
//encrypted with the API key using the TripleDES algorithm.
//The JSON Object should look like the sample below.
//This request requires a [POST] method
{
"amount": "Encrypted Amount",
"authmodel": "Encrypted Authmodel (PIN )",
"cardno": "Encrypted Card Number",
"currency": "Encrypted Currency", //NGN
"custid": "Encrypted CustID",
"country": "(Optional: Default is NG) Encrypted Country", //NG
"cvv": "Encrypted CVV",
"pin": "Encrypted PIN",
"expirymonth": "Encrypted Expiry Month", //MM
"expiryyear": "Encrypted Expiry Year", //YY
"merchantid": "Merchant Key",
"narration": "Encrypted Narration", //A short description about the transaction
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment