Request
Body Params multipart/form-data
Parameter from the response
ACS server of the issuer.
Card.
Numbers and Latin letter.
Parameter from response.
ACS server of the issuer.
Сard.
Letters, numbers, dashes (-)
Transaction ID.
Numbers.||integer
Merchant ID.
Numbers||integer
Example:{{paybox_merchant_id}}
Random string. Random numbers and Latin letters
Digital signature of the request.
Numbers and Latin letters
Example:{{paybox_signature}}
Request samples
curl --location --request POST 'https://api.freedompay.kg/g2g/paymentAcs' \
--form 'pg_md=""' \
--form 'pg_pares=""' \
--form 'pg_payment_id=""' \
--form 'pg_merchant_id="{{paybox_merchant_id}}"' \
--form 'pg_salt=""' \
--form 'pg_sig="{{paybox_signature}}"'
Responses
application/xml Payment authorization code from the bank
Digital signature of the request
ID of the stored card for future payments (if card storage parameters pg_save_card and pg_user_id were specified). Deprecated
Saved card token for next payment. (if card storage parameters pg_save_card and pg_user_id were specified)
<?xml version="1.0" encoding="utf-8"?>
<response>
<pg_payment_id>7999007771</pg_payment_id>
<pg_status>ok</pg_status>
<pg_auth_code>243412</pg_auth_code>
<pg_reference>241107063029</pg_reference>
<pg_datetime>2024-11-07T06:30:29+00:00</pg_datetime>
<pg_salt>Lc9M2TKR79VVNEc4</pg_salt>
<pg_sig>91c6f70ea9e20db854a61b0c90c6ae9c</pg_sig>
</response>
Modified at 2025-02-03 10:08:06