Monetary amounts in the Trace Finance API are represented as decimal strings in the asset’s canonical scale, paired with an ISO 4217 currency code or stablecoin ticker. This single shape works uniformly for fiat (2 decimals) and stablecoins (6 decimals).
Always parse amounts with a decimal-precision library (BigDecimal, decimal.Decimal, Decimal.js). Never use JavaScript Number or any 64-bit float — values like 0.1 + 0.2 lose precision, and high-decimal tokens overflow the safe-integer range.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Trace Finance","description":"Explore guides, examples, and API references to build with Trace Finance.","colors":{"primary":"#15803D","light":"#18E299","dark":"#0C8C5E"},"logo":{"light":"https://mintcdn.com/tracefinance/Z0lGetTZ5_xyIY5m/logo/light.svg?fit=max\u0026auto=format\u0026n=Z0lGetTZ5_xyIY5m\u0026q=85\u0026s=ba19c7b8c24c8e96c9966e48d66e0704","dark":"https://mintcdn.com/tracefinance/Z0lGetTZ5_xyIY5m/logo/dark.svg?fit=max\u0026auto=format\u0026n=Z0lGetTZ5_xyIY5m\u0026q=85\u0026s=5b72f9c311add7f96778c3ac791a4965"},"favicon":"https://mintcdn.com/tracefinance/Z0lGetTZ5_xyIY5m/favicon.svg?fit=max\u0026auto=format\u0026n=Z0lGetTZ5_xyIY5m\u0026q=85\u0026s=68646cf39b77bc31420bd7abfb28a392","api":{},"appearance":{"default":"dark"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://dashboard.tracefinance.com/","label":"Dashboard"}]},"footer":{"socials":{"github":"https://github.com/tracefinance","linkedin":"https://linkedin.com/company/tracefinance"}},"search":{},"seo":{"indexing":"navigable"},"fonts":{"heading":{"family":"Inter","weight":600},"body":{"family":"Inter","weight":400}},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":"tokyo-night"},"latex":false},"contextual":{"options":["copy","view","claude","chatgpt","grok","cursor","mcp"],"display":"header"},"metadata":{"timestamp":false},"variables":{"sandboxUrl":"https://api.sandbox.tracefinance.com"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tracefinance","hasAudioNarration":false,"actualSubdomain":"tracefinance","customDomains":["docs.tracefinance.com"],"gitSource":{"type":"github","owner":"tracefinance","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ab28633716060868ac36cac","collectionId":"d5136a41-32fa-468f-98ac-e71b41eabe6a","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ab28633716060868ac36cac"},"feedback":{"thumbs":true,"issues":false,"edits":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ab28633716060868ac36cac","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"API Reference","count":53},{"language":"default","tag":"Guides","count":29},{"language":"default","tag":"Webhooks","count":28},{"language":"default","tag":"Events","count":15},{"language":"default","tag":"Accounts","count":13},{"language":"default","tag":"Operations","count":8},{"language":"default","tag":"Journeys","count":8},{"language":"default","tag":"Beneficiaries","count":7},{"language":"default","tag":"Operation","count":7},{"language":"default","tag":"API principles","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":not(pre)>code{hyphens:none!important;-webkit-hyphens:none!important;word-break:normal!important;overflow-wrap:normal!important;white-space:nowrap!important}.navbar-link a{border:1px solid rgba(21,128,61,.25);border-radius:10px;padding:7px 22px!important;font-size:.8125rem;letter-spacing:.02em;font-weight:500;color:rgba(21,128,61,.85)!important;transition:all .25s ease}.dark .navbar-link a{border-color:rgba(24,226,153,.2);color:rgba(24,226,153,.7)!important}.navbar-link a:hover{border-color:rgba(21,128,61,.5);color:#15803d!important;background:rgba(21,128,61,.04)}.dark .navbar-link a:hover{border-color:rgba(24,226,153,.4);color:#18e299!important;background:rgba(24,226,153,.06)}"}],"page":{"pagePath":"guides/principles/money","slug":"/guides/principles/money","pageMetadata":{"title":"Money and currencies","description":"How monetary amounts are represented in the API.","href":"/guides/principles/money"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How monetary amounts are represented in the API.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Monetary amounts in the Trace Finance API are represented as `,_jsx(_components.strong,{children:`decimal strings`}),` in the asset’s canonical scale, paired with an ISO 4217 currency code or stablecoin ticker. This single shape works uniformly for fiat (2 decimals) and stablecoins (6 decimals).`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Always parse amounts with a decimal-precision library (`,_jsx(_components.code,{children:`BigDecimal`}),`, `,_jsx(_components.code,{children:`decimal.Decimal`}),`, `,_jsx(_components.code,{children:`Decimal.js`}),`). Never use JavaScript `,_jsx(_components.code,{children:`Number`}),` or any 64-bit float — values like `,_jsx(_components.code,{children:`0.1 + 0.2`}),` lose precision, and high-decimal tokens overflow the safe-integer range.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How it works`}),`\n`,_jsx(Heading,{level:`3`,id:`amount-object`,children:`Amount object`}),`\n`,_jsx(_components.p,{children:`Every amount in a response uses the same structure:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes tokyo-night tokyo-night`,style:{backgroundColor:`#1a1b26`,\"--shiki-dark-bg\":`#1a1b26`,color:`#a9b1d6`,\"--shiki-dark\":`#a9b1d6`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ABDF5`,\"--shiki-dark\":`#9ABDF5`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#7AA2F7`,\"--shiki-dark\":`#7AA2F7`},children:`value`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#9ECE6A`,\"--shiki-dark\":`#9ECE6A`},children:`0.11`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#7AA2F7`,\"--shiki-dark\":`#7AA2F7`},children:`asset`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#9ECE6A`,\"--shiki-dark\":`#9ECE6A`},children:`BRL`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#7AA2F7`,\"--shiki-dark\":`#7AA2F7`},children:`decimals`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#FF9E64`,\"--shiki-dark\":`#FF9E64`},children:` 2`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ABDF5`,\"--shiki-dark\":`#9ABDF5`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Decimal amount in the asset’s canonical scale. Always a string to preserve precision.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`asset`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`ISO 4217 currency code or stablecoin ticker.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`decimals`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Number of decimal places for the asset.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`in-request-bodies`,children:`In request bodies`}),`\n`,_jsxs(_components.p,{children:[`Quote and operation requests take amounts as a `,_jsx(_components.strong,{children:`decimal-string scalar`}),` paired with a separate asset field — not the full object:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes tokyo-night tokyo-night`,style:{backgroundColor:`#1a1b26`,\"--shiki-dark-bg\":`#1a1b26`,color:`#a9b1d6`,\"--shiki-dark\":`#a9b1d6`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ABDF5`,\"--shiki-dark\":`#9ABDF5`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#7AA2F7`,\"--shiki-dark\":`#7AA2F7`},children:`sourceAmount`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#9ECE6A`,\"--shiki-dark\":`#9ECE6A`},children:`500.00`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#7AA2F7`,\"--shiki-dark\":`#7AA2F7`},children:`sourceAsset`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#9ECE6A`,\"--shiki-dark\":`#9ECE6A`},children:`BRL`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ABDF5`,\"--shiki-dark\":`#9ABDF5`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The number of fractional digits must not exceed the asset’s precision (table below). Exceeding it returns `,_jsx(_components.code,{children:`INVALID_AMOUNT_PRECISION`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`decimal-precision-per-asset`,children:`Decimal precision per asset`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`asset`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`decimals`})}),_jsxs(_components.th,{children:[`Example `,_jsx(_components.code,{children:`value`})]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BRL`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"5000.00\"`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`USDT`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`6`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`\"100.000000\"`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`USDC`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`6`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`\"1.500000\"`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(_components.p,{children:`A deposit of R$ 1.250,00:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes tokyo-night tokyo-night`,style:{backgroundColor:`#1a1b26`,\"--shiki-dark-bg\":`#1a1b26`,color:`#a9b1d6`,\"--shiki-dark\":`#a9b1d6`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ABDF5`,\"--shiki-dark\":`#9ABDF5`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#7AA2F7`,\"--shiki-dark\":`#7AA2F7`},children:`amount`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#9ABDF5`,\"--shiki-dark\":`#9ABDF5`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#0DB9D7`,\"--shiki-dark\":`#0DB9D7`},children:`value`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#9ECE6A`,\"--shiki-dark\":`#9ECE6A`},children:`1250.00`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#0DB9D7`,\"--shiki-dark\":`#0DB9D7`},children:`asset`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#9ECE6A`,\"--shiki-dark\":`#9ECE6A`},children:`BRL`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#0DB9D7`,\"--shiki-dark\":`#0DB9D7`},children:`decimals`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#FF9E64`,\"--shiki-dark\":`#FF9E64`},children:` 2`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ABDF5`,\"--shiki-dark\":`#9ABDF5`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ABDF5`,\"--shiki-dark\":`#9ABDF5`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`A withdrawal of 500 USDT:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes tokyo-night tokyo-night`,style:{backgroundColor:`#1a1b26`,\"--shiki-dark-bg\":`#1a1b26`,color:`#a9b1d6`,\"--shiki-dark\":`#a9b1d6`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ABDF5`,\"--shiki-dark\":`#9ABDF5`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#7AA2F7`,\"--shiki-dark\":`#7AA2F7`},children:`amount`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#9ABDF5`,\"--shiki-dark\":`#9ABDF5`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#0DB9D7`,\"--shiki-dark\":`#0DB9D7`},children:`value`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#9ECE6A`,\"--shiki-dark\":`#9ECE6A`},children:`500.000000`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#0DB9D7`,\"--shiki-dark\":`#0DB9D7`},children:`asset`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#9ECE6A`,\"--shiki-dark\":`#9ECE6A`},children:`USDT`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:` \"`}),_jsx(_components.span,{style:{color:`#0DB9D7`,\"--shiki-dark\":`#0DB9D7`},children:`decimals`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`\"`}),_jsx(_components.span,{style:{color:`#89DDFF`,\"--shiki-dark\":`#89DDFF`},children:`:`}),_jsx(_components.span,{style:{color:`#FF9E64`,\"--shiki-dark\":`#FF9E64`},children:` 6`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ABDF5`,\"--shiki-dark\":`#9ABDF5`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#9ABDF5`,\"--shiki-dark\":`#9ABDF5`},children:`}`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":"tokyo-night"},"config":{},"pageMetadata":{"title":"Money and currencies","description":"How monetary amounts are represented in the API.","href":"/guides/principles/money"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"How it works","slug":"how-it-works","depth":2,"children":[{"title":"Amount object","slug":"amount-object","depth":3,"children":[]},{"title":"In request bodies","slug":"in-request-bodies","depth":3,"children":[]},{"title":"Decimal precision per asset","slug":"decimal-precision-per-asset","depth":3,"children":[]}]},{"title":"Examples","slug":"examples","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"tracefinance","siteName":"Trace Finance","title":"Money and currencies - Trace Finance","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-14T21:05:59.666Z","originalFileLocation":"guides/principles/money.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How monetary amounts are represented in the API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Trace Finance\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tracefinance/BcVkRlEfQ3nPAdoA/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/tracefinance/BcVkRlEfQ3nPAdoA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tracefinance/BcVkRlEfQ3nPAdoA/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tracefinance/BcVkRlEfQ3nPAdoA/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tracefinance/BcVkRlEfQ3nPAdoA/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tracefinance/BcVkRlEfQ3nPAdoA/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tracefinance/BcVkRlEfQ3nPAdoA/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tracefinance/BcVkRlEfQ3nPAdoA/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tracefinance/BcVkRlEfQ3nPAdoA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Money and currencies - Trace Finance\">\u003cmeta data-mint-head property=\"og:description\" content=\"How monetary amounts are represented in the API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Trace Finance\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tracefinance.com/guides/principles/money\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tracefinance.mintlify.app/_mintlify/api/og/v2?division=API+principles\u0026amp;title=Money+and+currencies\u0026amp;description=How+monetary+amounts+are+represented+in+the+API.\u0026amp;theme=b76e0dddf69073b4f4160d37\u0026amp;signature=c17da57371495db855ad2d54b49f9fef284b9eb0eec0110cbe0f0eef9c01fc80\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Money and currencies - Trace Finance\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How monetary amounts are represented in the API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tracefinance.mintlify.app/_mintlify/api/og/v2?division=API+principles\u0026amp;title=Money+and+currencies\u0026amp;description=How+monetary+amounts+are+represented+in+the+API.\u0026amp;theme=b76e0dddf69073b4f4160d37\u0026amp;signature=c17da57371495db855ad2d54b49f9fef284b9eb0eec0110cbe0f0eef9c01fc80\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/tracefinance/BcVkRlEfQ3nPAdoA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Trace Finance\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#15803D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tracefinance.com/guides/principles/money\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/principles/money.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tracefinance.com/#organization\",\"name\":\"Trace Finance\",\"url\":\"https://docs.tracefinance.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tracefinance/Z0lGetTZ5_xyIY5m/logo/light.svg?fit=max\u0026auto=format\u0026n=Z0lGetTZ5_xyIY5m\u0026q=85\u0026s=ba19c7b8c24c8e96c9966e48d66e0704\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tracefinance.com#website\",\"name\":\"Trace Finance\",\"url\":\"https://docs.tracefinance.com\",\"publisher\":{\"@id\":\"https://docs.tracefinance.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tracefinance.com/guides/principles/money#webpage\",\"url\":\"https://docs.tracefinance.com/guides/principles/money\",\"name\":\"Money and currencies\",\"description\":\"How monetary amounts are represented in the API.\",\"dateModified\":\"2026-07-14T21:05:59.666Z\",\"isPartOf\":{\"@id\":\"https://docs.tracefinance.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tracefinance.com/guides/principles/money#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tracefinance.com/guides/principles/money#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API principles\",\"item\":\"https://docs.tracefinance.com/guides/principles/versioning\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Money and currencies\",\"item\":\"https://docs.tracefinance.com/guides/principles/money\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.tracefinance.com/guides/principles/money#article\",\"headline\":\"Money and currencies\",\"name\":\"Money and currencies\",\"description\":\"How monetary amounts are represented in the API.\",\"url\":\"https://docs.tracefinance.com/guides/principles/money\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tracefinance.com/guides/principles/money#webpage\"},\"dateModified\":\"2026-07-14T21:05:59.666Z\",\"publisher\":{\"@id\":\"https://docs.tracefinance.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tracefinance.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Trace Finance\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Trace Finance","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","groups":[{"group":"Getting started","pages":[{"title":"Home","sidebarTitle":"Home","mode":"wide","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/guides/authentication"},{"title":"Environments","href":"/guides/environments"},{"title":"Crypto assets and networks","href":"/guides/crypto-assets"},{"title":"Testing in sandbox","href":"/guides/testing-in-sandbox"}]},{"group":"Compliance Requirements","pages":[{"title":"BRL virtual accounts","href":"/guides/compliance/brl-virtual-accounts"},{"title":"BRL named accounts","href":"/guides/compliance/brl-named-accounts"},{"title":"Beneficiaries","href":"/guides/compliance/beneficiaries"}]},{"group":"API principles","pages":[{"title":"Versioning","href":"/guides/principles/versioning"},{"title":"Idempotency","href":"/guides/principles/idempotency"},{"title":"Pagination","href":"/guides/principles/pagination"},{"title":"Filtering","description":"Refine list results using the filters query parameter.","href":"/guides/principles/filtering"},{"title":"Money and currencies","href":"/guides/principles/money"},{"title":"Date and time","description":"How dates and timestamps are formatted in the API.","href":"/guides/principles/datetime"},{"title":"Errors","href":"/guides/principles/errors"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks/overview"},{"title":"Subscribe to events","href":"/webhooks/subscribe"},{"title":"Verify signatures","href":"/webhooks/verify-signatures"},{"title":"Retry policy","href":"/webhooks/retry-policy"},{"title":"Test webhooks in sandbox","href":"/webhooks/test-in-sandbox"}]},{"group":"Journeys","pages":[{"title":"Open an account","href":"/journeys/open-account"},{"title":"Open a named account","href":"/journeys/open-named-account"},{"title":"Open a virtual account","href":"/journeys/open-virtual-account"},{"title":"Register a beneficiary","href":"/journeys/register-beneficiary"},{"title":"Deposit","href":"/journeys/deposit"},{"title":"Withdraw","href":"/journeys/withdrawal"},{"title":"Swap","href":"/journeys/swap"},{"title":"Transfer","href":"/journeys/transfer"}]}]},{"tab":"API Reference","icon":"code","pages":[{"title":"API Reference","href":"/api-reference/fx-account/accounts/create-account"}]}]},"title":"Money and currencies - Trace Finance","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":[],"chunks":[]}