Transaction
Transaction
Transaction response Payload
Status
-
transactionStatus
TransactionStatus
The transaction status. This value is populated only if the request was COMPLETED.
(1) Show values-
TransactionStatus
The transaction's current status
AUTHORIZED
Authorization request was approved, but funds are held until explicitly completed by a capture request or canceled by void request.CAPTURED
Transaction is approved and captured on the batch fileDECLINED
Transaction declinedSETTLED
Transaction is approved and settled with the processor.DEPOSITED
Transaction is approved and deposited to a gateway.VOIDED
Transaction that was canceled with void request.INFORMATIVE
Transaction is declined but has an informative record to report to the processor according to specifications.
-
END
-
-
hostErrorCode
int
The host returns an optional error code. This value is populated only if the request is COMPLETED or the transaction is queried. -
hostErrorMessage
string
The host returns an optional human-readable error message. This value is populated only if the request is COMPLETED or the transaction is queried. -
transactionTime
string
The timestamp for this transaction was last updated in RFC 3339 format.
Transaction info
-
transactionType
TransactionType
The type of transaction for which funds were requested.
(1) Show values-
TransactionType
Describe the type of transaction. Some of the values are used as input only and affect only the TransactionStatus
SALE
Sale transaction.REFUND
Refund Transaction.AUTH_ONLY
Authorization only for aSALE
transaction. UponCAPTURE
, this type becomes aSALE
transaction.CASH
- TBDCASHBACK
- Cashback transaction.VOID
- Void transaction. This transaction type acts as an operation on an already existing transaction. The registered type is not changed; upon success, only the transaction status is set toVOIDED
.CAPTURE
- Capture anAUTH_ONLY
transaction. This transaction type acts as an operation to an alreadyAUTH_ONLY
existing transaction. Upon success, the registered type is changed toSALE
and the status toCAPTURED
.FORCED
- Forced transactionTOP_UP
- Top-Up transaction for prepaid cardsDISCHARGE
- Discharge all funds on prepaid cardBALANCE
- Balance inquiry request. This transaction is not registered or cached on the device.
-
END
-
-
referenceId
string
A unique string that identifies the transaction on the client side. The client generated this value. If the transaction type isVOID
orCAPTURE
, the value represents the original transactionreferenceId
as provided. -
amount
long
The amount of money to authorize this transaction, not includingtipAmount
. The amount is specified in the smallest denomination of the applicable currency. See Monetary Amount -
currency
int
The currency code of all amount fields that relate to the transaction. The currency is specified as an ISO numeric code. See Monetary Amount -
cashAmount
long
The amount of money that is cashed back to the cardholder. The amount is specified in the smallest denomination of the applicable currency. See Monetary Amount -
tipAmount
long
The amount of money is designated as a tip. This amount is added toamount
, and the summary of the two will be thetotalAmount
the cardholder will be charged. The amount is specified in the smallest denomination of the applicable currency. See Monetary Amount -
totalAmount
long
The total amount of money charged from the card. This amount is a summary ofamount
andtipAmount
. The amount is specified in the smallest denomination of the applicable currency. See Monetary Amount -
transactionId
string
A unique ID (UID) is generated by the host to identify this transaction. -
authorizationNumber
string
The authorization code returned by the card issuer describes the authorization status. This value is populated only if the transaction was processed for online authorization. -
rrn
string
The Retrieval Reference Number generated by the credit card company is populated only if the transaction was processed for online authorization. -
systemTraceNumber
string
A number is generated by the host during the transaction execution to identify the transaction in the batch file. -
batchNo
string
An optional ID that represents the batch number this transaction was settled during settlement. This value is populated if the transaction status is SETTLED or a VOIDED or INFORMATIVE transaction was settled. -
depositId
string
An optional ID representing the deposit ACK number in a gateway with a remote batch file. This value is populated if the transaction status is DEPOSITED or a VOIDED or INFORMATIVE transaction was deposited. -
cvvResponse
CVVResponse
A value that represents the response from the card issuer regarding the CVV input.
(1) Show values-
CVVResponse
The response returned from the issuer for the Card Verification Value (CVV) verification
NO_CVV
Cvv not enteredCVV_ACCEPTED
Cvv entered and validCVV_REJECTED
Cvv entered and invalidCVV_NOT_CHECKED
Cvv entered and not checked
-
-
cardHolderIdResponse
CardholderIdResponse
A value that represents the response from the card issuer regarding the Cardholder ID input.
(1) Show values-
CardholderIdResponse
The response returned from the issuer for the Cardholder ID verification.
NO_CARDHOLDER_ID
Cardholder ID not enteredCARDHOLDER_ID_ACCEPTED
Cardholder ID entered and validCARDHOLDER_ID_REJECTED
Cardholder ID entered and invalidCARDHOLDER_ID_NOT_CHECKED
Cardholder ID entered and not checked
-
Device info
-
appVersion
string
The current application version. -
terminalId
String
The terminal ID. -
terminalNo
int
The sequence number of the terminal that belongs to this terminal ID.
Card Details
-
panEntryMode
PanEntryMode
The PAN entry mode for this transaction
(1) Show values-
PanEntryMode
This enumerator describes the PAN entry mode (The way the card was detected) according to Ashrait specifications.
MSR
Card detected with magnetic reader upon swipeMSR_CONTACTLESS
Card detected with RF reader upon tap and without authentication between the smart card and the smart readerCONTACTLESS
Card detected with RF reader upon tapMOBILE_WALLET
Card detected with RF reader upon tap with a mobile phone or smartwatchEMV
Card detected with ICC reader upon insertion to slotMOTO
Card was detected upon manual entry of the PAN, which was received through telephone or mail.SIGNATURE_ONLY
Card was detected upon manual entry of the PAN. The card was present during the manual entry.FALLBACK_CHIP_ERROR
Card detected with magnetic reader upon swipe after the card insertion failed to operateFALLBACK_EMPTY_CANDIDATE_LIST
Card was detected by a magnetic reader upon swipe after the smart reader couldn't find any matching AID with the inserted card.OTHER
Other, should be never received
-
-
cardName
string
A name that describes the card used to request the funds. This value is dynamic and sometimes can be retrieved from the ICC and include Hebrew characters. -
maskedPan
string
The PAN on the card used to request the funds is masked with Xs for security reasons. The value represents the actual length of the PAN. -
panSuffix
string
The last four digits of the PAN on the card were used to request the funds. -
acquirer
int
The detected card acquirer ID. -
acquirerName
string
The detected card acquirer name this value is human readable and may contain Hebrew characters. -
acquirerBusinessNumber
string
The business number of the credit card acquiring company for the detected card. -
acquirerPhoneNumber
string
The detected card acquirer's phone number. This value is used when telephony authorization is needed. -
issuer
int
The detected card issuer ID. -
issuerName
string
The detected card issuer name for this value is human-readable and may contain Hebrew characters. -
brand
int
The detected card brand ID. -
brandName
string
The detected card brand name this value is human readable and may contain Hebrew characters.
Credit Terms
-
creditTerms
CreditTerms
The credit terms used for this transaction.
(1) Show values-
CreditTerms
Transaction Credit terms. Only for Israel Credit Card transaction
REGULAR
Regular credit termsSPECIAL
Special Credit terms (Isracaredit/ Adif30)IMMEDIATE
Immediate creditCREDIT
Credit transaction. The amount is equaled evenly by the Card issuer after the sale.INSTALLMENTS
Installments transaction. The amount is divided by the merchant during the sale.
-
-
noOtherInstallmentPayments
int
The number of additional payments when using theINSTALLMENTS
credit term. This number doesn't include the first payment. For example, for a transaction of four payments in installment terms, this value equals 3. This value is populated only ifcreditTerms
is INSTALLMENTS. -
firstPayment
long
The amount of money charged on the first payment on theINSTALLMENTS
transaction. The amount is specified in the smallest denomination of the applicable currency. See Monetary Amount. This value is populated only ifcreditTerms
is INSTALLMENTS. -
otherPayment
long
The amount of money charged on the other payments (noOtherInstallmentPayments
) for theINSTALLMENTS
transaction. The amount is specified in the smallest denomination of the applicable currency. See Monetary Amount. This value is populated only ifcreditTerms
is INSTALLMENTS. -
noCreditPayments
int
The number of credit payments when using theCREDIT
credit term. This number represents the total number of credit payments. The card issuer divides. This value is populated only ifcreditTerms
is CREDIT. -
paymentLinkedTo
PaymentLinked
The credit terms linking used for this transaction. This value is populated only ifcreditTerms
is INSTALLMENTS or CREDIT
(1) Show values-
PaymentLinked
Link Credit / Installment payment
NONE
NoneINDEX
To Index AKA צמוד מדדFOREIGN_CURRENCY
to Foreign currency
-
Update Info
-
allowedCreditTerms
CreditTerms[]
An array with all allowed credit terms for this request with the read card. This value is populated only when the state is UPDATE. -
maxNumberInstallmentPayments
int
The highest number of payments allowed when choosingnoOtherInstallmentPayments
for INSTALLMENTS credit terms includes the first payment. For example, if it equals 18, the maximum value fornoOtherInstallmentPayments
is 17. This value is populated only when the state is UPDATE. -
maxNumberCreditPayments
int
The highest number of payments allowed when choosingnoCreditPayments
for CREDIT credit terms. This value is populated only when the state is UPDATE. -
minNumberCreditPayments
int
The lowest number of payments allowed when choosingnoCreditPayments
for CREDIT credit terms is. This value is populated only when the state is UPDATE. -
minAmountPerCreditPayments
int
The lowest amount of money allowed per payment when choosing CREDIT for credit terms is. The amount divided bynoCreditPayments
must be greater than this value. This value is populated only when the state is UPDATE. -
cvvRequired
boolean
Is CVV required according to host identification. This value is populated only when the state is UPDATE. -
cardHolderIdRequired
boolean
Is CardHolderId required according to host identification. This value is populated only when the state is UPDATE.
Associated Data
-
shiftId
string
An optional field associated with this transaction -
dealId
string
An optional field associated with this transaction
Receipts
-
cardHolderReceipt
Receipt
The cardholder receipt copy for the transaction. This value is populated only if the transaction is approved
(1) Show values-
Receipt
Receipt object for a transaction. The receipt language and fields vary according to the Host specification.
-
language
string
Receipt languageHEBREW
orENGLISH
-
fields
ReceiptField[]
The fields in an array. The order of the array is mandatory and can't be modified
(1) Show values-
ReceiptField
A field in the receipt for an Ashrait transaction
-
id
string
The ID of the field. This field is an enumerator and should not be printed on a copy of the receipt. -
key
string
The name of the field to print. This value is human-readable and may contain Hebrew characters. This field must not be modified and is delivered as mentioned in host specifications. -
value
string
The value of the field to print. This value is human-readable and may contain Hebrew characters. This field must not be modified and is delivered as mentioned in host specifications.
Possible ID's
id Note POS_NAME
POS_NUM
SOFTWARE_VERSION
MERCHANT_ID
TRAN_DATE_TIME
CARD_NAME
CARD_NUMBER
POS_TRAN_ID
UID
RRN
TRAN_TYPE
ISSUER_AUTH_NUM
AUTH_BY
ENTRY_MODE
CREDIT_TERMS
AMOUNT
CURRENCY
INSTALLMENT_NUM
FIRST_INSTALLMENT
ADD_INSTALLMENT
ADD_INSTALLMENT_AMOUNT
DEFER
DUE_DATE
TIP
CASHBACK_AMOUNT
TOTAL_AMOUNT
VERIFIED_BY_PIN
This field has no value VERIFIED_BY_DEVICE
This field has no value AID
ATC
PSN
TSI
ARC
TVR
DSP_BALANCE
-
-
END
-
-
collectSignature
boolean
Should collect a signature from the card-holder on this copy -
collectTelephoneNo
boolean
Should collect phone number from the card-holder on this copy
-
-
-
merchantReceipt
Receipt
The merchant receipt copy for the transaction. This value is populated only if the transaction is approved
(1) Show values-
Receipt
Receipt object for a transaction. The receipt language and fields vary according to the Host specification.
-
language
string
Receipt languageHEBREW
orENGLISH
-
fields
ReceiptField[]
The fields in an array. The order of the array is mandatory and can't be modified
(1) Show values-
ReceiptField
A field in the receipt for an Ashrait transaction
-
id
string
The ID of the field. This field is an enumerator and should not be printed on a copy of the receipt. -
key
string
The name of the field to print. This value is human-readable and may contain Hebrew characters. This field must not be modified and is delivered as mentioned in host specifications. -
value
string
The value of the field to print. This value is human-readable and may contain Hebrew characters. This field must not be modified and is delivered as mentioned in host specifications.
Possible ID's
id Note POS_NAME
POS_NUM
SOFTWARE_VERSION
MERCHANT_ID
TRAN_DATE_TIME
CARD_NAME
CARD_NUMBER
POS_TRAN_ID
UID
RRN
TRAN_TYPE
ISSUER_AUTH_NUM
AUTH_BY
ENTRY_MODE
CREDIT_TERMS
AMOUNT
CURRENCY
INSTALLMENT_NUM
FIRST_INSTALLMENT
ADD_INSTALLMENT
ADD_INSTALLMENT_AMOUNT
DEFER
DUE_DATE
TIP
CASHBACK_AMOUNT
TOTAL_AMOUNT
VERIFIED_BY_PIN
This field has no value VERIFIED_BY_DEVICE
This field has no value AID
ATC
PSN
TSI
ARC
TVR
DSP_BALANCE
-
-
END
-
-
collectSignature
boolean
Should collect a signature from the card-holder on this copy -
collectTelephoneNo
boolean
Should collect phone number from the card-holder on this copy
-
-