Create payment
POST
https://api.freedompay.kz/g2g/payment_page/
When transferring data via the user's browser to FreedomPay, the merchant must redirect the user with the data to payment.php.
The names of additional merchant parameters must be unique.
To invoke the Frame method, the parameter
pg_payment_route = frame
must be included in the request to the Freedom Pay Gateway.To use this method, you should contact your manager.
Interaction diagram
Request
Body Params multipart/form-data
pg_merchant_id
integer
required
Issued upon connection
pg_order_id
string
required
pg_amount
number
required
>= 0.01
pg_currency
string
optional
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)
pg_testing_mode
integer
optional
pg_lifetime
integer
optional
>= 300<= 604800
Default:
86400
pg_language
string <ISO 639-1:2002>
optional
Default:
ru
Examples:
ruenkzkguz
pg_user_id
string
optional
pg_user_ip
string
optional
pg_user_phone
string
optional
pg_user_contact_email
string
optional
pg_payment_method
string
optional
pg_request_method
string
optional
pg_check_url
string
optional
pg_result_url
string
optional
pg_success_url
string
optional
pg_failure_url
string
optional
pg_site_url
string
optional
pg_success_url_method
string
optional
pg_failure_url_method
string
optional
pg_param1
string
optional
pg_param2
string
optional
pg_param3
string