Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
Money — openapi
Represents an amount of money with its currency type.
Examples:
- Five US dollars ===
{currency_code: "USD" quantity: {significand: 5}}
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| currencyCode | string | false | A currency code. This may be a three-letter currency code defined in ISO 4217. APIs may define additional currency codes that are not included in the ISO 4217 standard (for example, virtual currencies or cryptocurrencies). These must start with X-, in order to distinguish them from potential future ISO 4217 codes. For example, "USD" is the ISO 4217 code for United States dollar. |
| quantity | #/components/schemas/Decimal | false | The quantity of currency. |
Related Schemas
Complete Schema
{
"type": "object",
"properties": {
"currencyCode": {
"type": "string",
"description": "A currency code.\n\nThis may be a three-letter currency code defined in ISO 4217.\n\nAPIs may define additional currency codes that are not included in the ISO\n4217 standard (for example, virtual currencies or cryptocurrencies). These\nmust start with `X-`, in order to distinguish them from potential future\nISO 4217 codes. For example, `\"USD\"` is the ISO 4217 code for United States\ndollar."
},
"quantity": {
"$ref": "#/components/schemas/Decimal",
"description": "The quantity of currency."
}
},
"description": "Represents an amount of money with its currency type.\n\nExamples:\n - Five US dollars === `{currency_code: \"USD\" quantity: {significand: 5}}`"
}