- 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
Status
POST
https://api.freedompay.kg/g2g/p2p/status
Request
Body Params multipart/form-data
pg_merchant_id
string
required
pg_payment_id
integer
required
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/status' \
--form 'pg_merchant_id="";type=false' \
--form 'pg_payment_id="";type=false' \
--form 'pg_salt="";type=false' \
--form 'pg_sig="";type=false'
Responses
🟢200Success
application/xml
Body
pg_payment_id
integer
required
pg_status
string
required
pg_payment_status
string
required
pg_order_id
string
required
pg_payment_amount
number
required
pg_payout_amount
number
required
pg_currency_from
string
required
pg_currency_to
string
required
pg_card_token
string
required
pg_card_recipient_token
string
required
pg_card_mask
string
required
pg_card_recipient_mask
string
required
pg_payment_date
string
required
pg_salt
string
required
pg_sig
string
required
pg_datetime
string
required
Example
<?xml version="1.0" encoding="UTF-8"?>
<response>
<pg_payment_id>777777777</pg_payment_id>
<pg_order_id>980528</pg_order_id>
<pg_payment_amount>10</pg_payment_amount>
<pg_status>ok</pg_status>
<pg_payment_status>success</pg_payment_status>
<pg_currency_from>KZT</pg_currency_from>
<pg_card_mask>5555-55XX-XXXX-5555</pg_card_mask>
<pg_payment_date>2024-11-28 16:46:51</pg_payment_date>
<pg_payout_amount>10</pg_payout_amount>
<pg_currency_to>KZT</pg_currency_to>
<pg_card_recipient_mask>4444-44XX-XXXX-4444</pg_card_recipient_mask>
<pg_card_recipient_token>c735446te-b354-43gw-35vf-9b8353fdga0a</pg_card_recipient_token>
<pg_datetime>2024-11-28T11:52:02+00:00</pg_datetime>
<pg_salt>JQlU3sl2TwJFGDTHgSZ0WnnCr0ZXfV</pg_salt>
<pg_sig>355048fgdfsgh4352145e983ee7</pg_sig>
</response>
🟢200Process
Modified at 2025-02-03 10:08:06