- Gateway API
- Overview
- Sync API
- Async API
- Merchant API
- Card API
- Overview
- Payment Cards
- Overview
- Dictionaries
- Bulk issue
- Issue card
- Issue plastic card
- Activate card
- Block card
- Unblock card
- Set PIN
- Reset PIN counter
- Close card
- Update client
- Card info
- Balance
- Secret data
- Statement
- Statement extended
- Create client
- Edit client
- Сards' list
- Request' status
- Create transaction
- Clearing transaction
- Refund transaction
- Transaction request' status
- Transaction info
- Gift Cards
- Partner API
- Rates
- Products
- E-Money
- Freedom ID
- IMTS "Leskar"
- Mobile SDK
- Payment SDK
- Freedom QR
- CMS
Rates
POST
https://api.freedompay.kz/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
operation
string
optional
sell
, buy
- Purchase/Sale - rate
- Standard rates (National Bank)Example
{
"rates": {
"currency_from": "string",
"currency_to": "string",
"rate": 0,
"rate_type": "string",
"start_date": "string",
"end_date": "string",
"operation": "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.kz/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-24 11:48:51