Verify Transaction [VERIFYTRAN]
Method Name: VERIFYTRAN
Verify the status of a Payment/Refund/Void Transaction
Request
Level | Node Name | Node Value(s) | Notes |
---|---|---|---|
1 | VerifyTran |
|
|
2 | Action | PAY | Verify a Payment |
2 | PaymentChannel | STD | Specify the payment channel to be used. |
2 | PrintLocation | ECR | Specify where the payment receipt copy will be printed: |
2 | Reference | <string> | An optional string that can be passed to the provider and/or printed on the payment receipt |
2 | MerchantCode | <string> | Code of the Merchant |
2 | StoreCode | <string> | Code of the Store |
2 | TillCode | <string> | Code of the Till |
2 | OperatorId | <string> | Code of the Operator that performed the payment transaction |
2 | ReceiptColCount | <integer> | Used only if the EFT returns the receipt text with dynamic alignment. |
2 | ReceiptId | <string> | The Reference of the Transaction to be verified If ReceiptId=LAST the last transaction is verified |
Example
<VerifyTran>
<Action>PAY</Pay>
<PrintLocation>ECR</PrintLocation>
<PaymentChannel>STD</PaymentChannel>
<Reference>Test Payment</Reference>
<StoreCode>S01</StoreCode>
<MerchantCode>ABCDEFG</MerchantCode>
<TillCode>001</TillCode>
<OperatorId>OP0001</OperatorId>
<ReceiptColCount>32</ReceiptColCount>
<ReceiptId>I1234567</ReceiptId>
</VerifyTran>
Response
The response is identical to the Response of the Pay Method.
Example
<ReceiptPrinterManagerResponse>
<DeviceId>05041966</DeviceId>
<PaymentDateTime>2020-07-14T22:06:05.910Z</PaymentDateTime>
<PaymentNumber>079565</PaymentNumber>
<PaymentAmount>0.02</PaymentAmount>
<PaymentCurrency>EUR</PaymentCurrency>
<ExchangeRate>0</ExchangeRate>
<PaymentAmountCurrency>0</PaymentAmountCurrency>
<MaskedPAN>4242********424242</MaskedPAN>
<PaymentNetwork>visa</PaymentNetwork>
<TransactionType>CLESSCHIP</TransactionType>
<AuthCode>565910</AuthCode>
<TraceAuditId>001326</TraceAuditId>
<ReceiptText>.....</ReceiptText>
<Error>False</Error> <ErrorText/>
<LogFileName/>
</ReceiptPrinterManagerResponse>