CreateRemittanceRequest
public struct CreateRemittanceRequest : Encodable, Sendable
Create remittance transaction request model.
-
The UUID of the quote that is being used for the transaction.
Declaration
Swift
public let quoteUuid: String -
UUID of the payment method to use to fund this transaction. Is none provided, the transaction will be funded from the wallet balance
Declaration
Swift
public let paymentMethodUuid: String? -
A small description to identify the transaction.
Declaration
Swift
public let description: String? -
The unique identifier of this remittance in your own system.
Declaration
Swift
public let externalId: String? -
The purpose of the transaction.
Declaration
Swift
public let transactionPurpose: TransactionPurpose? -
The source of funds for the transaction.
Declaration
Swift
public let sourceOfFunds: TransactionSourceOfFunds? -
If the transaction is to be funded with cash.
Declaration
Swift
public let fundingMethod: 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]? -
init(quoteUuid:description: paymentMethodUuid: externalId: transactionPurpose: sourceOfFunds: fundingMethod: metadata: ) Auxiliary constructor.
Declaration
Swift
public init(quoteUuid: String, description: String? = nil, paymentMethodUuid: String? = nil, externalId: String? = nil, transactionPurpose: TransactionPurpose? = nil, sourceOfFunds: TransactionSourceOfFunds? = nil, fundingMethod: String? = nil, metadata: [String: CustomValue]? = nil)Parameters
quoteUuidThe UUID of the quote that is being used for the transaction.
descriptionA small description to identify the transaction.
paymentMethodUuidUUID of the payment method to use to fund this transaction. Is none provided, the transaction will be funded from the wallet balance
externalIdThe unique identifier of this remittance in your own system.
transactionPurposeThe purpose of the transaction.
sourceOfFundsThe source of funds for the transaction.
fundingMethodIf the transaction is to be funded with cash.
metadataAllows for any number of custom metadata keys and values to be stored with a given transaction.
View on GitHub