Money
An amount of money in minor units (cents) with its ISO 4217 currency.
On this page
An amount of money in minor units (cents) with its ISO 4217 currency.
import type { Money } from "@sponsorkit/sdk";
interface Money { … }Interface, exported from @sponsorkit/sdk, @sponsorkit/sdk/node, @sponsorkit/sdk/server.
Properties#
value#
value: numberMinor units, e.g. 500 for $5.00.
currency#
currency: stringISO 4217, uppercase, e.g. "USD".