F/X Currency Rates
This API returns F/X currency dates for the requested date.
API Information
URL |
/getCurrencyRates |
Method |
POST |
Version |
1.0 |
Scope |
public |
Authorization Flow |
Client Credentials |
Input Information
| Name | Format | Description | Required/Optional |
ValidityDate |
yyyy-MM-ddTHH24:mm:ss | F/X currency rates date | Required |
Output Information
| Name | Format | Description |
Currency |
List< Currency > | F/X currency rate information |
Currency
| Name | Format | Description |
CurrencyCode |
String | F/X currency code |
RateDate |
yyyy-MM-ddTHH24:mm:ss | F/X currency rate date |
PurchaseRate |
Decimal | F/X currency purchase rate |
SaleRate |
Decimal | F/X currency sale rate |
Message Codes
| Message Code | Description |
ACBH000023 |
Date format is incorrect. |
ACBH000083 |
Date cannot be grater than today. |
Example
Request:
{
"ValidityDate": "2020-06-01T00:00:00+03:00"
}
Response:
{
"Header": {
"StatusCode": "APIGW000000",
"StatusDescription": "Completed",
"ObjectID": "e0251ced-9ead-4086-8ec1-f46ac496a3d3"
},
"Data": {
"Currency": [
{
"CurrencyCode": "EUR",
"RateDate": "2020-06-01T00:00:00+03:00",
"SaleRate": "7.58195",
"PurchaseRate": "7.62595"
},
{
"CurrencyCode": "DKK",
"RateDate": "2020-06-01T00:00:00+03:00",
"SaleRate": "0.9984",
"PurchaseRate": "1.0384"
},
{
"CurrencyCode": "RUB",
"RateDate": "2020-06-01T00:00:00+03:00",
"SaleRate": "0.09465",
"PurchaseRate": "0.09865"
},
...
{
"CurrencyCode": "USD",
"RateDate": "2020-06-01T00:00:00+03:00",
"SaleRate": "6.8086",
"PurchaseRate": "6.8486"
}
]
}
}
-
API URL : https://apigw.vakifbank.com.tr:8443
-
-
-