Skip to content

Instantly share code, notes, and snippets.

@michaelO93
Last active February 8, 2017 15:00
Show Gist options
  • Save michaelO93/dbebd5e9ceba7340afc71977355cb85e to your computer and use it in GitHub Desktop.
Save michaelO93/dbebd5e9ceba7340afc71977355cb85e to your computer and use it in GitHub Desktop.
JSON request to be sent to the required 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.
{
"amount": "Encrypted Amount",
"authmodel": "Encrypted Authmodel (PIN )",
"cardno": "Encrypted Card Number",
"currency": "Encrypted Currency",
"custid": "Encrypted CustID",
"country": "(Optional: Default is NG, see below for other options) Encrypted Country",
"cvv": "Encrypted CVV",
"pin": "Encrypted PIN",
"expirymonth": "Encrypted Expiry Month",
"expiryyear": "Encrypted Expiry Year",
"merchantid": "Merchant Key",
"narration": "Encrypted Narration",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment