Добавление курсов
Параметры
Запрос:

Примеры запросов
URL запроса:
POST https://api.freedompay.kz/v5/partner/rates/add

Запрос:
{
  "rates": [
    {
      "currency_from": "USD",
      "currency_to": "KZT",
      "end_date": null,
      "rate": 481,54,
      "operation": "rate",
      "rate_type": "fbkz",
      "start_date": "2024-08-12T19:25:44+00:00"
    },
    {
      "currency_from": "KZT",
      "currency_to": "USD",
      "end_date": 2024-10-12T19:25:44+00:00,
      "rate": 0.002273560157,
      "operation": "rate",
      "rate_type": "fbkz",
      "start_date": "2024-08-12T19:25:44+00:00"
    },
    {
      "currency_from": "EUR",
      "currency_to": "KZT",
      "end_date": null,
      "rate": 533.0,
      "operation": "sell",
      "rate_type": "fbkz",
      "start_date": "2024-08-12T19:25:44+00:00"
    },
    {
      "currency_from": "EUR",
      "currency_to": "KZT",
      "end_date": null,
      "rate": 537.5,
      "operation": "buy",
      "rate_type": "fbkz",
      "start_date": "2024-08-12T19:25:44+00:00"
    }
    ]
}
Ответ:
{
  "status": "ok",
  "dt": "2024-08-12T19:25:44+00:00"
}