Service - Currencies
Jump to navigation
Jump to search
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.