Response Parameters

Response Parameters

accountType

 accountType

The account type represents the client's account in which the financial transaction took place.

FormatLengthPossible Values
Alphanumeric1“C” chequing account
“S” savings account

amount

 amount

Same as request parameter Amount


authorizationNumber

 authorizationNumber

The authorization number is obtained following the successful completion of the transaction. The display of the authorization number is mandatory for all successful payments.

FormatLengthPossible Values
Alphanumeric8Example: “APPROV99”

avsStatus

 avsStatus

This parameter posts the verification status in relation to the code provided in the request.

FormatLengthPossible Values
Alphanumeric1“M” Address and ZIP/Postal match
“N” Address and ZIP/Postal do NOT match
“Z” ZIP/Postal matches, but Address does NOT match
“A” Address matches, but ZIP/Postal does NOT match
“U” AVS unavailable or not supported

See Address Verification Status (AVS) Result Codes for complete result


bankTerminalNumber

 bankTerminalNumber

This number identifies the terminal at the banking acquirer's that processed the transaction.

FormatLengthPossible Values
Alphanumeric8“00000000”

batchNumber

 batchNumber

The batch number identifies the batch used by the terminal to process the transaction.

FormatLengthPossible Values
Numeric4“0000”

cardNumber

 cardNumber

Same as request parameter CardNumber


cardType

 cardType

Same as request parameter CardType


cashbackAmount

 cashbackAmount

This parameter is the cash back amount of the financial transaction.
The value also contains the decimal part of the transaction. Left (0) padding.

FormatLengthPossible Values
Numeric11Example : $4,29 is “00000000429”

companyNumber

 companyNumber

Same as request parameter CompanyNumber


customerNumber

 customerNumber

Same as request parameter CustomerNumber


cvmResults

 cvmResults

This parameter is the cardholder verification method result. This parameter is used to determine if a signature line must be printed on a receipt.

FormatLengthPossible Values
Alphanumeric6“030000”


Signature line must be printed if the 2 first digits of the CVM are: 03, 05, 43, 45, 1E or 5E


cvv2Cvc2Status

 cvv2Cvc2Status

This parameter posts the verification status in relation to the code provided in the request

FormatLengthPossible Values
Alphanumeric1“M” Matches
“N” Not Matches
“ “ Unknown

demoMode

 demoMode

This parameter indicate if the terminal is in demo mode or not

FormatLengthPossible Values
Alphanumeric4“true” Demo mode is ACTIVE

email

 email

This email entered on the hosted payment page.

FormatLengthPossible Values
Alphanumeric250test@test.com

emvAID

 emvAID

This parameter is the EMV Application identifier

FormatLengthPossible Values
Alphanumeric32“AID: A000000277”

emvLabel

 emvLabel

This parameter is the EMV label

FormatLengthPossible Values
Alphanumeric16Examples:
“Interac”
“Visa”
“Mastercard”

emvTC

 emvTC

This parameter is the EMV Transaction cryptogram.

FormatLengthPossible Values
Alphanumeric40“TC: A2E51243D4C7E551”
“AAC: A2E51243D4C7E551”

emvTSI

 emvTSI

This parameter is the EMV transaction status information.

FormatLengthPossible Values
Alphanumeric4“F800”

emvTVR

 emvTVR

This parameter is the EMV terminal verification result.

FormatLengthPossible Values
Alphanumeric10

errorDescription

 errorDescription

This parameter is an description on the error. It give more information on the result code. Only present on NOT APPROVED transaction.

FormatLengthPossible Values
Alphanumeric50

expirationDate

 expirationDate

Same as request parameter ExpirationDate


holderName

 holderName

This parameter is a the cardholder name entered on the hosted payment page

FormatLengthPossible Values
Alphanumeric50

invoiceNumber

 invoiceNumber

Same as request parameter InvoiceNumber


iopIssuerConfirmationNumber

 iopIssuerConfirmationNumber

Same as request parameter IopIssuerConfirmationNumber


iopIssuerName

 iopIssuerName

Same as request parameter IopIssuerName


languageCode

 languageCode

Same as request parameter LanguageCode


merchantNumber

 merchantNumber

Same as request parameter MerchantNumber


operatorId

 operatorId

Same as request parameter OperatorID


receiptDisp

 receiptDisp

The “display receipt” message is generated by the PayFacto Network. It can also be used to create a receipt.

FormatLengthPossible Values
Alphanumeric32” APPROVED-THANK-YOU “

referenceNumber

 referenceNumber

The reference number is obtained following the successful completion of the transaction.

FormatLengthPossible Values
Alphanumeric10Example: “0000000000”

returnCode

 returnCode

The return code identifies the exact status of a transaction result, indicating whether the transaction succeeded or failed. The return code for a successful transaction completion is ” 00”. All other return codes mean that a problem lead to a transaction failure. For a complete list, refer to the document on return codes.

FormatLengthPossible Values
Alphanumeric4Example: “ 00” or “9121”

secureID

 secureID

This parameter is the identifier of a secure redirection/PayFactoObjects session.

FormatLengthPossible Values
Alphanumeric35“127584m4sc8698590p0r13605tu6o3ofjpi”

sequenceNumber

 sequenceNumber

The sequence number is generated by the banking acquirer.

FormatLengthPossible Values
Alphanumeric12“000011112222”

serverNumber

 serverNumber

The server number identifies the PayFacto Network server in which the transaction was processed.

FormatLengthPossible Values
Alphanumeric4“0000”

signatureBase64Png

 signatureBase64Png

The base64 encoded PNG image of the captured signature.
Since PNG is a compressed format, the length of the returned value is not static. The image as an uncompressed BPM is around 5000 bytes, usually much less when compressed into PNG (around 700 bytes).

FormatLengthPossible Values
Alphanumeric(Base64)Around 700 bytesA 310×100 PNG encoded to base64

surchargeAmount

 surchargeAmount

This parameter is the surcharge amount of the financial transaction.
The value also contains the decimal part of the transaction. Left (0) padding.

FormatLengthPossible Values
Numeric11Example : $4,29 is “00000000429”

taxAmount

 taxAmount

This parameter is the tax amount of the financial transaction.
The value also contains the decimal part of the transaction. Left (0) padding.

FormatLengthPossible Values
Numeric11Example : $4,29 is “00000000429”

terminalDisp

 terminalDisp

The terminal displays the transaction message for the user of the terminal, the POS cash register or the Internet page.

FormatLengthPossible Values
Alphanumeric24“APPROVED “

terminalInvoiceNumber

 terminalInvoiceNumber

This parameter is the terminal invoice number

FormatLengthPossible Values
Numeric12

terminalNumber

 terminalNumber

The terminal number identifies the terminal in the PayFacto Network used to process the transaction.

FormatLengthPossible Values
Numeric5“00000”

threeDSStatus

 threeDSStatus

This parameter posts the verification status in relation to the code provided in the request

FormatLengthPossible Values
Alphanumeric1“P” Passed validation
“F” Failed validation
“N” Not validated or not supported

See 3D Secure Result Codes (VbV CAVV/ SafeKey AEVV) for complete results.


timeStamp

 timeStamp

This field identifies the date and time the transaction was processed in the payment server.
The format is: “YYYYMMDD-HHMMSSCC”

FormatLengthPossible Values
Alphanumeric17“20170501-01010101

tipAmount

 tipAmount

This parameter is the tip amount of the financial transaction.
The value also contains the decimal part of the transaction. Left (0) padding.

FormatLengthPossible Values
Numeric11Example : $4,29 is “00000000429”

token

 token

This parameter is the identifier of a token linked to a cardholder.

FormatLengthPossible Values
Alphanumeric35“127584m4sc8698590p0r13605tu6o3ofjpi”

transactionNumber

 transactionNumber

The transaction number is obtained on a request. This number is a unique identifier for PayFacto gateway.

FormatLengthPossible Values
Numeric12“000111222333”

trxCode

 trxCode

This code determines which transaction was processed.

FormatLengthPossible Values
Alphanumeric2“00” Purchase
“01” Pre-Authorization
“02” Completion
“03” Refund
“04” Void Purchase
“05” Void Refund
“06” Void Completion
“07” Force Post
“08” Verify Account
“50” Refund without card
“51” Standalone Completion
“52” Purchase with Token
“53” Refund with Token
“54” Pre-Authorization with Token
“98” Recover
“99” Cash

trxDate

 trxDate

This represents the date at the banking acquirer's. The value of this parameter may differ from the value in the Timestamp parameter.
Format: MMDDYYYY.

FormatLengthPossible Values
Numeric8“05132017”

trxMethod

 trxMethod

The transaction method is the code that summarizes the transaction as a whole

FormatLengthPossible Values
Alphanumeric3“D@1”
“T@1”

Description:
‘D@’ means the card was swiped in the terminal
‘T@’ means the card number was entered manually (credit card only)
‘1’ means the system authorized the transaction.
‘M’ means Manual
‘S’ means Swipe
‘D’ means Dipped
‘C’ means Chip
‘T’ means Tap (Contactless)


trxTime

 trxTime

This field represents the time at the banking acquirer's. The value of this parameter may differ from the value in the timestamp parameter.
Format: HHMMSS

FormatLengthPossible Values
Numeric6“010101”

trxType

 trxType

The transaction type is directly related to the card used by the client to carry out the transaction.

FormatLengthPossible Values
Alphanumeric1“C” Credit card transaction
“D” Debit card transaction
“F” Fidelity card transaction (gift card)

id

 id

Id associated with the function (customer, subscription, session)

FormatLengthPossible Values
Numeric12000001144391

accountNumber

 accountNumber

Reference for the merchant

FormatLengthPossible Values
Alphanumeric50123456a789bc1012d

client

 client

Subscriber number

FormatLengthPossible Values
Alphanumeric8123b56a8

currencyCode

 currencyCode

Same as request parameter CurrencyCode


description

 description

Reference for the merchant

FormatLengthPossible Values
Alphanumeric, Special characters50123456@789bc1012d

startDate

 ​startDate

Same as request parameter StartDate

FormatLengthPossible Values
Alphanumeric1“C” Credit card transactions
“D” Debit card transaction

endDate

 endDate

End date in the format “YYYYMMDD” or 8 spaces

FormatLengthPossible Values
Numeric820180430

frequency

 frequency

Same as request parameter Frequency


lastInvoiceDate

 lastInvoiceDate

Date of the last invoice. Format “YYYYMMDD”.

FormatLengthPossible Values
Numeric820180430

name

 name

Subscriber name.

FormatLengthPossible Values
Alphanumeric and spaces50

nextInvoiceDate

 nextInvoiceDate

Date of the next invoice. Format “YYYYMMDD”.

FormatLengthPossible Values
Numeric820180430

numberOfPayments

 numberOfPayments

Same as request parameter NumberOfPayments


recurReturnCode

 recurReturnCode

Return code of the function.

FormatLengthPossible Values
Alphanumeric and spaces4

status

 status

Same as request parameter Status


subscriptionId

 subscriptionId

Subscription identifier number

FormatLengthPossible Values
Numeric12

transactionReturnCode

 transactionReturnCode

Return code of the function.

FormatLengthPossible Values
Alphanumeric and spaces4

recurReturnCode

 recurReturnCode

Return code of the function.

FormatLengthPossible Values
Alphanumeric and spaces4


DataCandy Fields

balanceAmount

 balanceAmount 

The balance in dollars available on the card.

FormatLengthPossible Values
Numeric12000000001000 (for 10.00$)

startDate (DataCandy)

 startDateDataCandy

The start date of the card, if later than the activation date. If this parameter is not returned, the card is active when activated.

FormatLengthPossible Values
Alphanumeric102019-12-31

accountTypeNumber

 accountTypeNumber

The account type number.

FormatLengthPossible Values
Numeric1See DataCandy documentation

remainingAmount

 remainingAmount

The amount remaining on the transaction.

FormatLengthPossible Values
Numeric12000000001000 (for 10.00$)

totalBalanceAmount

 totalBalanceAmount

The total balance on the card including all locked amounts.

FormatLengthPossible Values
Numeric12000000001000 (for 10.00$)

transactionConfirmationNumber

 transactionConfirmationNumber

The transaction confirmation number. This number must be kept and saved for committing and possibly later cancelling the transaction. It is also used for unlocking the card once it has been locked.

FormatLengthPossible Values
NumericAnyAny

pic

 pic

Card’s profile complete or not.

FormatLengthPossible Values
Numeric1Either 1 (complete) or 0 (incomplete)

ctm

 ctm

A multiple line consumer targeted message to be printed on the receipt. Each line is separated by a pipe “|” character.

FormatLengthPossible Values
String155Test123
    • Related Articles

    • Request Parameters

      Parameter AccountNumber Amount BatchNumber CardHolderAddress CardHolderAVV CardHolderPostalCode CardNumber CardType CompanyNumber CurrencyCode CustomerNumber Cvv2Cvc2Number Description DisplayText Email EndDate ExpirationDate FailureUrl Frequency ID ...
    • Endpoint : Recurring - Get Response

      Recurring - Get Response Upon a successful redirection to the merchant success or failure URL, you must used this transaction to get the result of the recurring web session. You must issue a RecurAck or RecurNACK to accept or refuse the token ...
    • Endpoint : Redirect - Get Response

      Upon a successful redirection to the merchant success or failure URL, you must used this transaction to get the result of the payment transaction. You must issue a ACK or NACK to accept or refuse the transaction. Timing See the ACK transaction ...
    • API Specifications

      Overview To communicate with the Payment API you should submit HTTP POST requests to the corresponding endpoints. There are differ endpoints for Test and Production. The API uses FORM parameters (key-value parameters passed in an HTTP POST URL) for ...
    • Credit and Debit on Semi-Integrated Terminals

      Transaction Flow Semi-Integrated Process Flow Send basic transaction information from the Point of Sale (POS) workstation with a transactional application to the merchant environment (back office) server. The merchant must collect the essential data ...