QuoteRequest

@Serializable
data class QuoteRequest(val amount: Long, val beneficiaryUuid: String, val payoutMethodUuid: String? = null, val amountCurrency: AmountCurrencyModel, val exchangeRate: String? = null, val exchangeRateMarkup: Float? = null, var quoteServiceFees: List<ServiceFeeRequestModel>? = null)

Model that holds the quote data to be created.

Constructors

Link copied to clipboard
constructor(amount: Long, beneficiaryUuid: String, payoutMethodUuid: String? = null, amountCurrency: AmountCurrencyModel, exchangeRate: String? = null, exchangeRateMarkup: Float? = null, quoteServiceFees: List<ServiceFeeRequestModel>? = null)

Properties

Link copied to clipboard
@SerialName(value = "amount")
val amount: Long

Amount to be sent to the beneficiary, in cents (1USD = 100)

Link copied to clipboard
@SerialName(value = "amount_currency")
val amountCurrency: AmountCurrencyModel

Quote amount currency

Link copied to clipboard
@SerialName(value = "beneficiary_uuid")
val beneficiaryUuid: String

Beneficiary unique identifier

Link copied to clipboard
@SerialName(value = "exchange_rate")
val exchangeRate: String? = null

Quote exchange transaction

Link copied to clipboard
@SerialName(value = "exchange_rate_markup")
val exchangeRateMarkup: Float? = null

Quote exchange rate markup (percent value)

Link copied to clipboard
@SerialName(value = "payout_method_uuid")
val payoutMethodUuid: String? = null

Payout method unique identifier. If not provided the primary Payout Method of the Beneficiary will be used.

Link copied to clipboard
@SerialName(value = "service_fees")
var quoteServiceFees: List<ServiceFeeRequestModel>?

Quote service fees