TransferV2Money

data class TransferV2Money(val value: Int, val currency: String? = null)

Amount expressed as { value, currency } on the V2 Transfers API.

Constructors

Link copied to clipboard
constructor(value: Int, currency: String? = null)

Properties

Link copied to clipboard
val currency: String? = null

ISO 4217 currency code (e.g. "usd").

Link copied to clipboard
val value: Int

Amount in the smallest currency unit (e.g. cents for USD).