- 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
Balance
POST
https://api.freedompay.uz/g2g/balance_status
Request
Body Params multipart/form-data
pg_merchant_id
integer
required
Example:
{{paybox_merchant_id}}
pg_currency
string
required
Example:
KZT
pg_salt
string
required
Example:
some random string
pg_sig
string
required
Example:
{{paybox_signature}}
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.uz/g2g/balance_status' \
--form 'pg_merchant_id="{{paybox_merchant_id}}"' \
--form 'pg_currency="KZT"' \
--form 'pg_salt="some random string"' \
--form 'pg_sig="{{paybox_signature}}"'
Responses
🟢200Success
application/xml
Body
pg_balance
number
required
pg_status
string
required
pg_currency
string
required
pg_salt
string
required
pg_sig
string
required
Example
<?xml version="1.0" encoding="utf-8"?>
<response>
<pg_balance>150000.50</pg_balance>
<pg_status>ok</pg_status>
<pg_currency>KZT</pg_currency>
<pg_salt>some random string</pg_salt>
<pg_sig>signature-abc123</pg_sig>
</response>
Modified at 2025-02-03 10:55:01