PTech E-Commerce Sale - cURL
Description:
PTech E-Commerce Sale is an advanced tool used to authorize credit card transactions in both Direct Marketing and E-Commerce environments with the Paymentech NetConnect system on the Tampa platform.
Example (cURL)
Request:
$ curl -X POST https://localhost:8282/ptechecommerce.ps1 \
-d APIKey=00001111-71ec-4e52-bd98-a604537bf24a \
-d OutputFormat=json \
-d MerchantNumber=600000000110 \
-d TerminalNumber=101 \
-d ClientNumber=0101 \
-d UserId=User01 \
-d Password=password1 \
-d IndustryType=pitDirectMarketing \
-d InvoiceNumber=inv123 \
-d CardNumber=4444333322221111 \
-d CardExpMonth=12 \
-d CardExpYear=2021 \
-d CardEntryDataSource=edsManualEntryNoCardReader \
-d TransactionAmount=250
Response:
{
"ApprovalCode": "399138",
"AuthorizedAmount": "200",
"AuthSource": "AuthSource",
"AVSResult": "AVSResult",
"BatchNumber": "272001",
"CardLevel": "CardLevel",
"CardType": "MC",
"CAVVCode": "CAVVCode",
"Code": "A",
"CVVResult": "CVVResult",
"NetworkId": "02",
"RetrievalNumber": "00000063",
"SequenceNumber": "000000",
"Text": "APPROVED"
}