WalletStatementTransaction
public struct WalletStatementTransaction : Codable, Sendable
The wallet statement transaction model.
-
This field is Alviere’s internal unique transaction identifier and is required to reference the transaction that we wish to perform an operation on.
Declaration
Swift
public let transactionUuid: String
-
The ID of this transaction in your own platform. This ID can be used to identify the transaction as well as protect our API against duplicate transactions.
Note
This field MUST be unique.Declaration
Swift
public let externalId: String
-
The payment transaction type details either the direction of funds flow such as debits or credits, or other types such as refunds.
Declaration
Swift
public let transactionTypeString: String
-
The payment transaction type details either the direction of funds flow such as debits or credits, or other types such as refunds. Check
transactionTypeString
ifnil
.Declaration
Swift
public var transactionType: TransactionType? { get }
-
The transaction status details the current status of the transaction during its life-cycle.
Declaration
Swift
public let statusString: String
-
The transaction status details the current status of the transaction during its life-cycle. Check
statusString
ifnil
.Declaration
Swift
public var status: TransactionStatus? { get }
-
The transaction amount in the currency of the transaction, defined in cents.
Declaration
Swift
public let amount: Int64
-
The date the transaction was created.
Declaration
Swift
public let createdAt: String
-
The date the transaction was last updated.
Declaration
Swift
public let updatedAt: String
-
The date the transaction settled.
Declaration
Swift
public let settledAt: String?