export Amount

interface Amount {
    currency?: null | string;
    formatted_quantity?: null | string;
    quantity?: number;
    wallet_id?: null | string;
}

Properties

currency?: null | string

The currency of the amount

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

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