curl --location --request POST 'https://api.freedompay.uz/g2g/reg2reg' \
--form 'pg_amount="10"' \
--form 'pg_merchant_id="{{paybox_merchant_id}}"' \
--form 'pg_order_id="1234"' \
--form 'pg_user_id="1234"' \
--form 'pg_card_token_to="c92741d9-ddd7-4bad-abd0-5594a79eea1"' \
--form 'pg_description="Payment Description"' \
--form 'pg_post_link="http://site.kz/post"' \
--form 'pg_order_time_limit="2020-12-31 12:00:00"' \
--form 'pg_salt="some random string"' \
--form 'pg_sig="{{paybox_signature}}"'
<?xml version="1.0" encoding="utf-8"?>
<response>
<pg_payment_id>1234567890</pg_payment_id>
<pg_merchant_id>9970</pg_merchant_id>
<pg_status>ok</pg_status>
<pg_order_id>ABC12345</pg_order_id>
<pg_balance>5000.75</pg_balance>
<pg_card_hash>39b32dfc9ed18533ee98b921687ad87a</pg_card_hash>
<pg_card_token>token-xyz987</pg_card_token>
<pg_payment_amount>100.00</pg_payment_amount>
<pg_payment_date>2024-09-02T12:19:01+00:00</pg_payment_date>
<pg_error_code>0</pg_error_code>
<pg_error_description>Description</pg_error_description>
<pg_salt>some random string</pg_salt>
<pg_sig>signature-abc123</pg_sig>
</response>