Repository navigation
Pax API: Transaction Commands
The result of a successful swipe, split by the <FS> (\0x1c)
0, T01, 1.35, 000000, OK, 0APPROVED00000088888888, 01, 40300000120482022, 48011061901HERZFELD/FINNIAN 0, 13120160625005408, , , , CARDBIN=414709
Broken down:
-
Status:
0 -
Command:
T01 -
Version:
1.35 -
Response Code:
000000 -
Response Message:
OK -
Host Information: (page 189):
-
Host respones code:
0 -
Host response message:
APPROVED -
Auth Code:
000000 -
Host reference number:
88888888 -
Trace Number: (blank)
-
Batch number: (blank)
-
Transaction Type:
01(documented on page 46). Here are a few: -
Amount Information: (documented on page 181):
-
Approve Amount:
403(this transaction was for $4.03) -
Amount Due:
0 -
Tip Amount:
0 -
Cash Back Amount:
0 -
Merchant Fee:
0 -
Tax Amount:
0 -
Balance1:
12048 -
Balance2:
2022 -
Account Information:
- Account:
4801(the last 4 digits of my card number) - Entry Mode:
1(1 = Swipe) - Expiry Date:
0619(my card expires in June, 2019) - EBT Type: (blank)
- Voucher number: (blank)
- New Account no: (blank)
- Card type:
01 - Card Holder:
HERZFELD/FINNIAN(my legal last/first name) - CVD Approval Code: (blank)
- CVD Message: (blank)
- Card Present Indicator:
0(0 = present, 1 = not present)
- Account:
-
Trace Information:
-
Transaction Number:
19 -
Reference Number:
1 -
Time Stamp:
20160625022956 -
AVS Information: (blank)
-
Commericial Information: (blank)
-
MOTO/E-Commerce: (blank)
-
Additional Information: (arbitrary key/value pairs)
-
CARDBIN:414709
- dateID:
date('Ymd') - empNo:
CoreLocal::get("CashierNo") - registerNo:
CoreLocal::get("laneno") - transNo:
CoreLocal::get("transno") - transID:
CoreLocal::get("paycard_id") - previousPaycardTransactionID: (unknown)
- processor: (doesn't seem to be returned. TODO)
- refNum:
$out['host']['reference_number'] - live: (unknown)
- cardType:
$out['account']['card_type'] - transType:
$out['transaction_type'] - amount:
$out['amount']['approved'] - PAN:
$out['additional']['CARDBIN']."000000".$out['account']['number'] - issuer: (we don't appear to get this information, maybe put CARDBIN here)
- name:
$out['account']['name'] - manual:
$out['account']['entry'] == 0 - requestDatetime: (we don't appear to get this information)
- responseDatetime:
date('Y-m-d H:i:s') - seconds: (we don't appear to get this information)
- commErr: (TODO error handling)
- httpCode: (proly wont come up)
- validResponse:
- xResultCode:
- xApprovalNumber:
- xResponseCode:
- xResultMessage:
- xTransactionID:
- xBalance:
- xToken:
- xProcessorRef:
- xAcquirerRef: