export Amount

interface Amount {
    currency?: null | string;
    exchange_rate?: null | number;
    localized_formatted_quantity?: null | string;
    quantity?: number;
    rate_date?: null | string;
    source_currency?: null | string;
    source_quantity?: number;
    wallet_id?: null | string;
}

Properties

currency?: null | string

The currency of the amount

exchange_rate?: null | number

The exchange rate used for the last conversion.

localized_formatted_quantity?: null | string
quantity?: number

The quantity of Currency to send Note that quantity is either base units or fractional depending on the currency and wallet type

rate_date?: null | string

The date the exchange rate was applied.

source_currency?: null | string

The source currency of the amount.

source_quantity?: number

The source quantity before conversion.

wallet_id?: null | string

The id of the wallet to use. If an Wallet id is not specified the platform balance is used if the amount is less than or equal to the balance, otherwise the default Wallet for the currency will be charged