add currency codes endpoint

This commit is contained in:
Asim Aslam
2021-06-16 18:10:52 +01:00
parent 8a8a72a1d1
commit f8db6eb1a9
4 changed files with 84 additions and 54 deletions

View File

@@ -12,9 +12,9 @@ service Currency {
message Code {
// e.g USD
string symbol = 1;
string name = 1;
// e.g United States Dollar
string name = 2;
string currency = 2;
}
// Codes returns the supported currency codes for the API