Skip to content
Last updated

TransactionDetail

Request parameters for starting a transaction or refunding a transaction.

public struct TransactionDetail: @unchecked Sendable {

  public let amount: String

  public let referenceNumber: String

  public let transactionID: String

  public let posInformation: TyroTapToPaySDK.POSInformation

  public init(
    amount: String,
    referenceNumber: String,
    transactionID: String,
    posInformation: TyroTapToPaySDK.POSInformation
  )
}

Parameters

amountStringrequired

The transaction amount in cents e.g. '1325' = $13.25

referenceNumberStringrequired

The identifier for the transaction and MUST be unique.

transactionIDStringrequired

The transaction ID, only set if the payment type is a refund.

posInformationPosInformationrequired

Information about the POS.