Card
POST
https://api.freedompay.uz/g2g/payment
Request
Body Params multipart/form-data
pg_amount
number
required
Example:
10
pg_currency
string
optional
In Kazakhstan only KZT is allowed
Example:
KZT
pg_description
string
required
Letters, numbers, dash (-), space.
(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_merchant_id
number
required
Numbers.||integer
Example:
{{paybox_merchant_id}}
pg_order_id
string
required
Numbers and Latin characters
Example:
123
pg_card_name
string
required
Example:
TEST TESTOV
pg_card_pan
string
required
Number of digits: from 13 to 20.||integer
pg_card_cvc
integer
required
pg_card_year
integer
required
Number of digits: 2||integer
pg_card_month
integer
required
Number of digits: 2||integer
pg_auto_clearing
boolean
optional
1 - automatic write-off after successful authorization, 0 - write-off by launching the clearing method Number of digits: 1||integer
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||integer
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_exchange_params
object
optional
rate
string
optional
rates_code
string
optional
ex_date
string
optional
pg_param1
string
optional
String
pg_param2
string
optional
String
pg_param3
string
optional
String
pg_sig
string
required
Numbers and Latin letters
Example:
{{paybox_signature}}
pg_salt
string
required
Random numbers and Latin letters Example: some random string
Example:
some random string
pg_user_id
string
optional
Letters, digits, hyphen (-). Example format: "No65GFR755789T", "25642588"
(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_user_email
string
optional
String in the format example@site.com.
(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_user_phone
string
optional
Digits without spaces, plus signs, or parentheses. Example format: 89686810502, 87001234567.
(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)