Terminal-2 icon

Receipts

NameDescription

Receipts

Object representing the receipts. The print receipt callback contains the full receipt objects. The cash register should accept and store receipts for handling outside of the transaction flow. You receive a merchant, and a cardholder receipt.

Getters

Name

Description
GetResponseHeader

Returns the tender state, PED result, LIB result, error messages if necessary, tender reference and additional data. Certain callbacks, such as the print receipt callback and final callback get more information using GetResponseHeader.

GetMerchantReceipt

Retrieves merchant version of the receipt.

GetCardHolderReceipt

Retrieves cardholder version of the receipt.

GetReceiptType

Returns type of receipt:

  • UNDEFINED

  • AUTHORISED

  • REFUSED

  • SIGNATURE
  • CANCELLED

  • REFUND_AUTHORISED

  • REFUND_REFUSED

Use this object in the following calls and callbacks to represent the receipts: