Authentication
Authentication Overview
To authenticate the payer and mitigate fraud risks during transaction processing, you need to provide the following information:
API Credentials: Includes
apiUser
andapiPassword
.Transaction Details: Consists of
apiCmd
,merchantTransactionId
,amount
,currencyCode
,ccNumber
,ccv
, andnameOnCard
.Security Key: Your
apiKey
.
These details are used to compute a SHA1 hash checksum, ensuring the integrity and authenticity of the transaction data.
Required Data:
apiUser
: Your API usernameapiPassword
: Your API passwordapiCmd
: The API command (e.g., 700)merchantTransactionId
: Unique transaction ID assigned by the merchantamount
: Transaction amountcurrencyCode
: Currency code (e.g., USD)ccNumber
: Credit card numberccv
: Credit card verification codenameOnCard
: Name printed on the cardapiKey
: Your API key
By compiling these elements, you create a secure and validated transaction request, reducing the risk of fraudulent activities.
Authentication Examples:
checksum
= sha1(apiUser +
"YourAPIUser"
+ apiPassword +
"YourAPIPassword"
+ apiCmd + "700" + merchantTransactionId + "YourMerchantTransactionId" + amount + "TransactionAmount" + currencyCode + "CurrencyCode" + ccNumber + "CreditCardNumber" + ccv + "CreditCardCVV" + nameOnCard + "NameOnCard" + apiKey + "YourAPIKey")
Reference: Please refer to the Data Table associated with the specific API Command you are employing. It provides a comprehensive overview of the fields utilized and their respective order for verification.
Last updated