Card
POST
https://api.freedompay.kz/g2g/payment
Interaction diagram for non3ds payment
Interaction diagram for 3ds payment
Request
Body Params multipart/form-data
pg_merchant_id
number
required
Issued upon connection
Example:
{{paybox_merchant_id}}
pg_order_id
string
required
It is recommended to keep this field unique
Example:
123
pg_amount
number
required
>= 0.01
Example:
10
pg_currency
string
optional
Example:
KZT
pg_description
string
required
(These parameters may include parameters from other sections. For the effective operation of SecureBox, it is recommended to follow the validation guidelines and field examples from this section)
Example:
Описание платежа
pg_testing_mode
integer
optional
0 - production, 1 - test. If the mode is not specified, then the mode set in the shop settings is taken
>= 0<= 1
pg_user_id
string
optional
(These parameters may include parameters from other sections. For the effective operation of SecureBox, it is recommended to follow the validation guidelines and field examples from this section)
Example:
No65GFR755789T
pg_user_email
string <email>
optional
(These parameters may include parameters from other sections. For the effective operation of SecureBox, it is recommended to follow the validation guidelines and field examples from this section)
Example:
example@site.com.
pg_user_phone
string
optional
Digits without spaces, plus signs, or parentheses
(These parameters may include parameters from other sections. For the effective operation of SecureBox, it is recommended to follow the validation guidelines and field examples from this section)
pg_card_pan
string
required
>= 13 characters<= 20 characters
pg_card_cvc
integer
required
pg_card_year
integer
required
pg_card_month
integer
required
pg_card_name
string
required
Example:
John Doe
pg_auto_clearing
boolean
optional
1 - automatic write-off after successful authorization, 0 - write-off by launching the clearing method
pg_3ds_challenge
boolean
optional
(1 - it is mandatory to conduct the Challenge Requested, 0 or empty - the method is determined by the issuer) the issuing bank can ignore this parameter and make a payment according to its own Challenge Flow
pg_param1
string
optional
pg_param2
string
optional
pg_param3
string
optional
pg_salt
string
required
pg_sig
string
required
Example:
{{paybox_signature}}
Request samples
Responses
Modified at 2025-03-03 07:44:52