TSYS E-Commerce Sale - HTTPS
Description:
TSYS E-Commerce Sale script is used to authorize credit cards in both Mail Order (Direct Marketing) and eCommerce environments, Where the customer is ordering products or services via the telephone or Internet.
Example (HTTPS)
Request:
POST /tsysecommerce.ps1
Host: https://localhost:8282
User-Agent: IPWorks HTTP Component – www.nsoftware.com
Content-Type: application/x-www-form-urlencoded
APIKey=00001111-71ec-4e52-bd98-a604537bf24a
&OutputFormat=json
&GenKey=GenKey_1
&MerchantId=MerchantId_2
&RoutingId=RoutingId_3
&CardNumber=4444333322221111
&CardExpMonth=12
&CardExpYear=2021
&TransactionNumber=1
&TransactionAmount=100
&TransactionType=ttECommerce
Response:
{
"AuthorizedAmount": "100",
"BatchNumber": "250",
"CardType": "Visa",
"Code": "00",
"ApprovalCode": "TAS097",
"AVSResult": "M",
"CVVResult": "M",
"RetrievalNumber": "123456789101",
"ReturnedACI": "N",
"Text": "APPROVAL",
"TransactionDate": "092016",
"TransactionTime": "092522",
"CommercialCardType": "tccNotCommercial",
"TransactionNumber": "1001",
"InstallmentAdvice": "ivNoDataPresent"
}