Money: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
(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...")
 
m (add pln and ron)
 
Line 20: Line 20:
** "HUF" (Hungarian forint)
** "HUF" (Hungarian forint)
** "USD" (U.S. dollar)
** "USD" (U.S. dollar)
** "RON" (Romanian lei)
** "PLN" (Polish zloty)
|| The currency of the money  
|| The currency of the money  



Latest revision as of 16:35, 29 October 2025

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)
    • "RON" (Romanian lei)
    • "PLN" (Polish zloty)
The currency of the money
Value decimal
  • Required
The total amount of money in the currency set above.