Overview
Connection doesn't require a PCI DSS certificate
Query Mechanics
Content-type
equal to form-data
or x-www-form-urlencoded
{{domain}}/script.php?param_1=val¶m_2[subParam_1]=val2& param_2[subParam_2]=val3¶m_3=val4
<?xml version="1.0" encoding="utf-8"?><request><pg_param1>value1</pg_param><pg_param2>value2</pg_param></request>
Signature
;
:1.
/
to the end or ?
).2.
pg_salt
, which consists of an arbitrary number of digits and Latin letters.3.
4.
secret_key
, which is set in the store settings and is known only to the merchant and FreedomPay.pg_sig
. The MD5 hash is recorded as a 32-character lowercase hexadecimal string.Either party may add additional parameters to the request or response that are not specified in the documentation. These parameters also participate in the signature calculation. A message is not signed, and thus the fields
pg_salt
and pg_sig
are absent only in one case – when FreedomPay could not identify the merchant and therefore does not know its secret_key
. In such a case, the field pg_error_code
(numeric error code) takes the value 9998.For a complete list of possible values of the field
pg_error_code
, see the Error Code Reference section.
Test cards and mobile phones
Cards for purchase
Card number | 3DS | auth | clearing | reverse | refund | card add |
---|---|---|---|---|---|---|
4716047261941981 | ||||||
4916307416334310 | ||||||
5367654276102126 | ||||||
4939770956154989 | ||||||
5335215945367703 | ||||||
4916109830832246 | ||||||
5548398681700148 | ||||||
5475102935853613 |
Cards for payout
Card number | status | description |
---|---|---|
4671593866478252 | success operation | |
5325349472901311 | error code: 10000 | |
4556046085041740 | error code: 10001 | |
5543974702876045 | error code: 8888 | |
5507841999732294 | process turn to "success operation" | |
4532676596620704 | process turn to "error code: 10001" |
Mobile phones
Code | Description | OTP code |
---|---|---|
Kcell | +77017777777 | 111111 |
Activ | +77027777777 | 111111 |
Tele2 | +77037777777 | 111111 |
Altel | +77047777777 | 111111 |
Error codes
Support
If you found an inaccuracy or need help, feel free to reach out! 👋
Modified at 2025-02-18 06:22:27