TSYS HC Retail Sale - cURL
Description:
The 123 TSYS HC Retail script is used to authorize credit cards in a Retail environment, where the customer is purchasing products or services in person.
Example (cURL)
Request:
$ curl -X POST https://localhost:8282/tsyshcretail.ps1 \
-d APIKey=00001111-71ec-4e52-bd98-a604537bf24a \
-d OutputFormat=json \
-d GenKey=GenKey_1 \
-d MerchantId=MerchantId_2 \
-d RoutingId=RoutingId_3 \
-d EntryDataSource=0
(edsTrack1) \
-d CardNumber=4444333322221111 \
-d CardExpMonth=12 \
-d CardExpYear=2021 \
-d TransactionNumber=1 \
-d TransactionAmount=100
Response:
{
"AuthorizedAmount": "AuthorizedAmount",
"BatchNumber": "BatchNumber",
"CardType": "CardType",
"Code": "Code",
"CommercialCardType": "CommercialCardType",
"ApprovalCode": "ApprovalCode",
"AVSResult": "AVSResult",
"CVVResult": "CVVResult",
"RetrievalNumber": "RetrievalNumber",
"ReturnedACI": "ReturnedACI",
"Text": "Text",
"TransactionDate": "TransactionDate",
"TransactionTime": "TransactionTime",
"TransactionNumber": "TransactionNumber",
"InstallmentAdvice": "InstallmentAdvice"
}