Get External Rate By Custom API
GET ${Custom Api Url}
Query Parameters
| Name | Type | Required | Description | 
|---|---|---|---|
| source_currency | string | Mandatory | the currency code of source currency | 
| target_currency | string | Mandatory | the currency code of target currency | 
Expected HTTP status code
- 200
Response
| Name | Type | Description | 
|---|---|---|
| rate | number | Exchange rate | 
Sample Command
curl https://api.example.com?source_currency=USD&target_currency=EUR
Sample Response
{
  "rate": 1.01223444
}