Sale Transaction (Credit Card) Ziftpay
Sale Transaction (Credit Card)
Although there are many different calls you can make to our API our example below will focus on building a basic sale transaction request. The concepts learned here will apply to most of our API requests.
Basic Transaction Components
While all of the above may seem like a lot of information the request is actually very simple. The table below explains how to build a basic sale request. Additional parameters and associated details can be found in our Full API Reference Manual.
The fields below are a subset of the all fields that can be used with a sale transaction. Please review our full reference site for additional information about sale transactions.
Building Your Request
Specifies the type of operation to be performed. In this example we are focusing on sale transaction operations.
If accountType (above) is set to C this field contains the credit card number
If accountType is set to C or S this field contains the checking or savings account number.
If accountType(above) is set to C this field contains the credit card expiration date. Month and year are represented by 4 digits. Example August 2017 = 0817.
If accountType is set to C or S this field contains the routing number.
Specifies the name of the card or account holder.
Specifies the industry related to this transaction.
sale < current example
Valid Values for accountType
R– Branded credit card < current example
E – Branded debit checking card
V – Branded debit savings card
D – Unbranded debit checking card
I – Unbranded debit savings card
S – Bank savings account (ACH)
C – Bank checking account (ACH)
F – EBT food stamp
H – EBT cash benefit
G – Gift card
L – Fleet
Valid values for transactionIndustryType
DM – Direct Marketing
EC – Ecommerce
PT – Petroleum RE – Retail < current example
RS – Restaurant
LD – Lodging
CCD – Corporate credit or debit (ACH)
PPD – Prearranged payment and deposit entry (ACH)
POP – Point purchase entry (ACH)
TEL – Telephone initatied entry (ACH)
WEB – Internet initiated enmtry (ACH)
C21 – Check 21 (ACH)