Service - Currencies: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
= Overview =
= Overview =
* obsolete, see [[Development - Izara Currency]]


Manages currencies used in project including rates
Manages currencies used in project including rates

Latest revision as of 00:53, 20 May 2026

Overview

Manages currencies used in project including rates

Repository

https://bitbucket.org/izara-core-shared/izara-core-shared-currencies

DynamoDB tables

Standard Config Table Per Service

Configuration tags

{
	configKey: "baseCurrencyId",
	configTag: "baseCurrencyId",
	configValue: "USD",
},

CurrencyMain

{
	currencyId: "xx", // can be any string identifier, for standard ISO 4217 use the string code
	rate: "xx",
	timeRateUpdated: "xx" // timestamp
}
  • partition key: currencyId
  • sort key: {none}

Rates

Rate is mid-market rate to a base currency, in our project work with USD.

Working documents

Currencies