- Gateway API
- Introduction
- Reference
- Sync API
- Introduction
- Page
- Pay
- Payout
- Transfer
- Card
- Token
- Async API
- Merchant API
- Introduction
- Reference
- Page
- Pay
- Payout
- Mobile balance
- Card
- Token
- Invoice
- ATM
- Additional
- Card API
- Partner API
- Mobile SDK
- CMS
Rates
POST
https://api.freedompay.kg/g2g/p2p/rates
Request
Body Params multipart/form-data
pg_merchant_id
integer
required
pg_currency_from
string
optional
pg_currency_to
string
optional
pg_salt
string
required
pg_sig
string
required
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/g2g/p2p/rates' \
--form 'pg_merchant_id="";type=false' \
--form 'pg_currency_from="";type=false' \
--form 'pg_currency_to="";type=false' \
--form 'pg_salt="";type=false' \
--form 'pg_sig="";type=false'
Responses
🟢200Success
application/xml
Body
pg_status
string
required
rates
object
required
pg_currency_from
string
required
pg_currency_to
string
required
pg_rate
number
required
pg_salt
string
required
pg_sig
string
required
pg_datetime
string
required
Example
<?xml version="1.0" encoding="utf-8"?>
<response>
<pg_status>ok</pg_status>
<rate>
<pg_currency_from>KZT</pg_currency_from>
<pg_currency_to>EUR</pg_currency_to>
<pg_rate>0.85</pg_rate>
</rate>
<pg_salt>some random string</pg_salt>
<pg_sig>signature-def456</pg_sig>
<pg_datetime>2024-10-01T14:00:00+00:00</pg_datetime>
</response>
Modified at 2025-02-03 10:08:06