https://test-api.tbcbank.ge/v1/exchange-rates/commercial/convert
https://api.tbcbank.ge/v1/exchange-rates/commercial/convert
Authorization Type | Description |
---|
None | |
Parameter | Type | Description |
---|
apikey | string | Developer app API key |
Parameter | Type | Description |
---|
amount (required) | number | value to be converted |
from (required) | string | base currency from which given amount should be converted |
to (required) | string | target currency to which amount should be converted |
curl \
'https://test-api.tbcbank.ge/v1/exchange-rates/commercial/convert?amount=10&from=usd&to=gel' \
--header 'apikey: I3Rz8QXBVPofKtucsenkW7g2n7aDwqBg' \
--header 'Accept: application/json' \
--compressed
Parameter | Type | Description |
---|
from | string | base currency from which given amount was converted |
to | string | target currency to which given amount was converted |
amount | number | amount that was converted |
value | number | conversion result |
{
"from": "USD",
"to": "GEL",
"amount": 1,
"value": 3.265
}
In case of error, standard response in problem json will be returned.
Details can be found at Error Code Description