curl --location --request POST 'https://api.freedompay.kg/get_status2.php' \
--form 'pg_merchant_id=""' \
--form 'pg_order_id="00102"' \
--form 'pg_salt="some random string"' \
--form 'pg_sig=""'
ok
— Request was successful.error
— Request encountered an error.partial
— New payment.pending
— Awaiting payer or payment system action.ok
— Payment successfully completed.failed
— Payment encountered an error.incomplete
— Payment lifetime expired.0 | 1
.0
— Payment is in production mode.1
— Payment is in test mode.0 | 1
.<?xml version="1.0" encoding="utf-8"?>
<response>
<pg_status>ok</pg_status>
<pg_payment_id>511194</pg_payment_id>
<pg_transaction_status>ok</pg_transaction_status>
<pg_can_reject>0</pg_can_reject>
<pg_captured>1</pg_captured>
<pg_create_date>2021-08-26 11:52:25</pg_create_date>
<pg_salt>41F5ZyqcOabTG5u7</pg_salt>
<pg_sig>34484775bd62986753429d6af57e94eb</pg_sig>
</response>