- Gateway API
- Introduction
- Reference
- Sync API
- Async API
- Merchant API
- Introduction
- Reference
- Page
- Pay
- Payout
- Mobile balance
- Card
- Token
- Invoice
- ATM
- Additional
- Card API
- Introduction
- Payment Cards
- Gift Cards
- Partner API
- Rates
- Products
- E-Money
- Freedom ID
- Mobile SDK
- Payment SDK
- Freedom QR
- CMS
Rates
POST
https://api.freedompay.kg/v5/partner/rates/add
Request
Body Params application/json
rates
object
required
currency_from
string
required
KZT, USD, EUR. Directory of currencies
currency_to
string
required
KZT, USD, EUR. Directory of currencies
rate
number
required
rate_type
string
optional
start_date
string
optional
Example: 2019-01-01 12:00:00
end_date
string
optional
Example: 2019-01-01 12:00:00
Example
{
"rates": {
"currency_from": "string",
"currency_to": "string",
"rate": 0,
"rate_type": "string",
"start_date": "string",
"end_date": "string"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.freedompay.kg/v5/partner/rates/add' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200Success
application/json
Body
status
string
optional
ok
: Request was successful.error
: Request passed with an error.error_code
integer
optional
error_description
string
optional
dt
string <date-time>
optional
Example
{
"status": "string",
"error_code": 0,
"error_description": "string",
"dt": "2019-08-24T14:15:22Z"
}
Modified at 2025-02-03 10:08:06