Request
Body Params multipart/form-data
Merchant ID. Numbers.||integer
Example:{{paybox_merchant_id}}
Transaction ID. Numbers.||integer
Random string. Arbitrary numbers and letters
Digital signature of the request. Numbers and Latin letters
Example:{{paybox_signature}}
Return amount. Minimum 0.01. An integer or fractional number (a fractional number separated by ".").||number
Request samples
curl --location --request POST 'https://api.freedompay.kg/g2g/refund' \
--form 'pg_merchant_id="{{paybox_merchant_id}}"' \
--form 'pg_payment_id=""' \
--form 'pg_salt=""' \
--form 'pg_sig="{{paybox_signature}}"' \
--form 'pg_amount=""' \
--form 'pg_currency=""'
Responses
application/xml pg_payment_refund_id
integer
requiredDigital signature of the request
<?xml version="1.0" encoding="utf-8"?>
<response>
<pg_payment_id>7777777777</pg_payment_id>
<pg_payment_refund_id>7777777778</pg_payment_refund_id>
<pg_status>ok</pg_status>
<pg_refund_status>success</pg_refund_status>
<pg_salt>YtfwCGiBHsFLpYGk</pg_salt>
<pg_sig>ccee466c01c2332d8a065d6108fd686b</pg_sig>
</response>
Modified at 2025-02-03 10:08:06