SendFundsRequest
public struct SendFundsRequest : Codable, Sendable
Send funds request model.
-
The uuid of the wallet to send the funds to.
Declaration
Swift
public let destinationWalletUuid: 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
-
A small description to identify the transaction.
Declaration
Swift
public let description: String?
-
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( destinationWalletUuid: String, amount: Int64, externalId: String, serviceFees: [ServiceFee]? = nil, description: String? = nil, metadata: [String: CustomValue]? = nil)
Parameters
destinationWalletUuid
The uuid of the wallet to send the funds to.
amount
The amount is the value associated with the request, in cents.
externalId
This value is used for idempotency purposes.
serviceFees
Service fees associated with the load funds transaction.
description
A small description to identify the transaction.
metadata
Allows for any number of custom metadata keys and values to be stored with a given transaction.