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
amount required | String The transaction amount in cents e.g. '1325' = $13.25 |
referenceNumber required | String The identifier for the transaction and MUST be unique. |
transactionID required | String The transaction ID, only set if the payment type is a refund. |
posInformation required | PosInformation Information about the POS. |