Service - Currencies: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(Created page with "= 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 === <syntaxhighlight lang="JavaScript"> { configKey: "baseCurrencyId", configTag: "baseCurrencyId", configValue: "USD", }, </syntaxhighlight> == CurrencyMain == <syntaxhighlight lang="JavaScript"> { currencyId: "xx", // can be...")
 
No edit summary
 
Line 38: Line 38:
Rate is mid-market rate to a base currency, in our project work with USD.
Rate is mid-market rate to a base currency, in our project work with USD.


* partition key: importBatchId
= Working documents =
* sort key: {none}
 
[[:Category:Working_documents - Currencies|Currencies]]
 
[[Category:Backend services| Currencies]]

Latest revision as of 13:22, 7 March 2023

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