LoadFundsRequest
public struct LoadFundsRequest : Codable, Sendable
Load funds request model.
-
The token corresponding to the payment method being used.
Declaration
Swift
public let paymentMethodUuid: String -
The amount is the value associated with the request, in cents.
Declaration
Swift
public let amount: Int64 -
Service fees associated with the load funds transaction.
Declaration
Swift
public let serviceFees: [ServiceFee]? -
This value is used for idempotency purposes.
Declaration
Swift
public let externalId: String -
Options related to transaction handling.
Declaration
Swift
public let transactionOptions: TransactionOptions? -
Allows for any number of custom metadata keys and values to be stored with a given transaction.
Declaration
Swift
public let metadata: [String : CustomValue]? -
Auxiliary constructor.
Declaration
Swift
public init( paymentMethodUuid: String, amount: Int64, externalId: String, serviceFees: [ServiceFee]? = nil, transactionOptions: TransactionOptions? = nil, metadata: [String: CustomValue]? = nil)Parameters
paymentMethodUuidThe token corresponding to the payment method being used.
amountThe amount is the value associated with the request, in cents.
externalIdThis value is used for idempotency purposes.
serviceFeesService fees associated with the load funds transaction.
transactionOptionsOptions related to transaction handling.
metadataAllows for any number of custom metadata keys and values to be stored with a given transaction.
View on GitHub