| returnCode |
Alphanumeric(4) |
00=refund was applied successfully. Any other value indicates a failure. Refer to the Return Code reference for the complete list. |
| authorizationNumber |
Alphanumeric(8) |
Authorization code issued on successful refund. Mandatory to display on all customer receipts. Example: REFND902 |
| transactionNumber |
Numeric(12) |
Unique PayFacto gateway identifier for this refund transaction. Store for auditing purposes. Example: 000111222999 |
| amount |
Numeric(11) |
Echo of the refund amount. Zero-padded left. |
| accountType |
Alphanumeric(1) |
Account type of the original transaction. C=Chequing, S=Savings. |
| bankTerminalNumber |
Alphanumeric(8) |
Terminal identifier at the banking acquirer. |
| batchNumber |
Numeric(4) |
Batch number in which the refund was processed. |
| cardNumber |
Alphanumeric(40) |
Masked card number retrieved via the TUID from the original transaction. |
| cardType |
Alphanumeric(1) |
Card brand. A=Amex, D=Debit, M=Mastercard, V=Visa, O=Discover, I=Diners, J=JCB, F=Datacandy. |
| companyNumber |
Numeric(5) |
Echo of the request CompanyNumber. |
| customerNumber |
Alphanumeric(8) |
Only returned when provided in the request. Echo of the request CustomerNumber. |
| expirationDate |
Numeric(4) |
Expiration date retrieved via the TUID from the original transaction. |
| invoiceNumber |
Alphanumeric(12) |
Echo of the request InvoiceNumber for this refund transaction. |
| languageCode |
Alphanumeric(1) |
Echo of the request LanguageCode. |
| merchantNumber |
Numeric(8) |
Echo of the request MerchantNumber. |
| operatorId |
Alphanumeric(8) |
Echo of the request OperatorID. |
| receiptDisp |
Alphanumeric(32) |
PayFacto-generated receipt message. Example: APPROVED-THANK-YOU |
| referenceNumber |
Alphanumeric(10) |
Reference number issued on successful refund. |
| sequenceNumber |
Alphanumeric(12) |
Sequence number generated by the banking acquirer. |
| serverNumber |
Alphanumeric(4) |
Identifies the PayFacto Network server that processed the refund. |
| terminalDisp |
Alphanumeric(24) |
Transaction message for the terminal or payment page. Example: APPROVED |
| terminalNumber |
Numeric(5) |
Identifies the terminal in the PayFacto Network used to process the refund. |
| timeStamp |
Alphanumeric(17) |
Date and time the refund was processed. Format: YYYYMMDD-HHMMSSCC. Example: 20240515-19000100 |
| trxCode |
Alphanumeric(2) |
Transaction type code. For a standard Refund this is 03. |
| trxDate |
Numeric(8) |
Refund date at the banking acquirer. Format: MMDDYYYY. May differ from timeStamp. |
| trxMethod |
Alphanumeric(3) |
Summarizes the transaction method. Example: T@1 |
| trxTime |
Numeric(6) |
Refund time at the banking acquirer. Format: HHMMSS. May differ from timeStamp. |
| trxType |
Alphanumeric(1) |
Card type used in the original transaction. C=Credit, D=Debit, F=Fidelity/Gift. |
| avsStatus |
Alphanumeric(1) |
Only returned when AVS data was present on the original transaction. M=Both match, N=Neither match, Z=Postal only, A=Address only, U=Unavailable. |
| cashbackAmount |
Numeric(11) |
Only returned when a cash-back amount was applied. Zero-padded left. |
| cvmResults |
Alphanumeric(6) |
Only returned for chip transactions. Cardholder Verification Method result. Print a signature line on the receipt if the first 2 digits are 03, 05, 43, 45, 1E, or 5E. |
| cvv2Cvc2Status |
Alphanumeric(1) |
Only returned when CVD data was present. M=Matches, N=Does not match, blank=Unknown. |
| demoMode |
Alphanumeric(4) |
Only returned when the terminal is in demo mode. Value will be true. |
| email |
Alphanumeric(250) |
Only returned when an email was captured on a hosted payment page. |
| emvAID |
Alphanumeric(32) |
Only returned for chip (EMV) transactions. EMV Application Identifier. Example: AID: A000000277 |
| emvLabel |
Alphanumeric(16) |
Only returned for chip (EMV) transactions. Human-readable application label. Example: Visa, Interac |
| emvTC |
Alphanumeric(40) |
Only returned for chip (EMV) transactions. EMV Transaction Cryptogram. Example: TC: A2E51243D4C7E551 |
| emvTSI |
Alphanumeric(4) |
Only returned for chip (EMV) transactions. EMV Transaction Status Information. |
| emvTVR |
Alphanumeric(10) |
Only returned for chip (EMV) transactions. EMV Terminal Verification Result. |
| errorDescription |
Alphanumeric(50) |
Only returned when the refund is not approved. Human-readable description of the failure reason. |
| holderName |
Alphanumeric(50) |
Only returned when the cardholder name was captured on a hosted payment page. |
| iopIssuerConfirmationNumber |
Alphanumeric(1β15) |
Only returned when the original payment was guaranteed via Interac Online. Must be displayed on the merchant's confirmation screen. |
| iopIssuerName |
Alphanumeric(1β30) |
Only returned when the original payment was guaranteed via Interac Online. Issuer name in the customer's banking language. |
| secureID |
Alphanumeric(35) |
Only returned for redirect / PayFacto Objects sessions. |
| surchargeAmount |
Numeric(11) |
Only returned when a surcharge was applied. Zero-padded left. |
| taxAmount |
Numeric(11) |
Only returned when a tax amount was present. Zero-padded left. |
| terminalInvoiceNumber |
Numeric(12) |
Only returned for terminal transactions. Terminal-assigned invoice number. |
| threeDSStatus |
Alphanumeric(1) |
Only returned when 3-D Secure data was present on the original transaction. P=Passed, F=Failed, N=Not validated. |
| tipAmount |
Numeric(11) |
Only returned when a tip was present on the original transaction. Zero-padded left. |
| token |
Alphanumeric(35) |
Only returned when tokenization is enabled. Token associated with the cardholder's card. |