Gateway API Sync API Token Run in Apidog
Request Body Params multipart/form-data
Merchant ID in the system {{project}}||integer
Payment amount. Minimum 0
Order ID in the merchant system||string
User ID in the merchant system||string
Card ID (Deprecated)||integer
Order description||string
A random string consisting of arbitrary numbers and Latin letters||string
Request signature||string
Currency of payment/transfer. Only KZT is allowed in Kazakhstan||string
Error text language||string
Additional Information||string
Additional Information||string
Additional Information||string
Request samples curl --location --request POST 'https://api.freedompay.kg/g2g/payment' \
--form 'pg_merchant_id=""' \
--form 'pg_amount=""' \
--form 'pg_order_id=""' \
--form 'pg_user_id=""' \
--form 'pg_card_id=""' \
--form 'pg_card_token=""' \
--form 'pg_description=""' \
--form 'pg_salt=""' \
--form 'pg_sig=""' \
--form 'pg_currency=""' \
--form 'pg_language=""' \
--form 'pg_param1=""' \
--form 'pg_param2=""' \
--form 'pg_param3=""'
Responses application/xml Generate Code
<?xml version="1.0" encoding="utf-8" ?>
<response >
<pg_status > ok</pg_status >
<pg_payment_id > 7777777777</pg_payment_id >
<pg_merchant_id > 9970</pg_merchant_id >
<pg_order_id > ORD12345</pg_order_id >
<pg_salt > some random string</pg_salt >
<pg_sig > ccee466c01c2332d8a065d6108fd686b</pg_sig >
<pg_datetime > 2024-09-02T12:19:01+00:00</pg_datetime >
</response >
Modified at 2025-02-03 10:08:06