Convert Currency from base currency to variable currency

This API can be used for converting from one base currency to another.

The following table describes the parameters for the Convert Currency API:

NameData TypeTechnical DescriptionMandatorySample ValueFunctional Description
amountNumberamount after conversion Y1438250Passed as input from the front end 
fromCurrencyCodeStringbase currency YUSDShould be passed as input from the front end 
toCurrencyCodeStringrequired conversion currencyYIDRCan either be input from the front end or hardcoded in the front end
currencyRateNumberconversion rate Y14382.5Conversion rate as of that day. This value is derived from fixer.io
Language
Authorization
Bearer
Click Try It! to start a request and see the response here!