Money

From Barion Documentation
Revision as of 12:31, 23 December 2019 by Vinczei (talk | contribs) (Created page with "{{PageTitle|title=Money structure}} The '''Money''' structure represents an amount of money in the Barion system. = API usage = This structure is used by the following API...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Money structure

The Money structure represents an amount of money in the Barion system.

API usage

This structure is used by the following API endpoints:

Properties

Property name Property type Limitations and constraints Description
Currency string
  • Required
  • Required length: 3 characters
  • Accepted values:
    • "CZK" (Czech crown)
    • "EUR" (Euro)
    • "HUF" (Hungarian forint)
    • "USD" (U.S. dollar)
The currency of the money
Value decimal
  • Required
The total amount of money in the currency set above.