Frame
POST
https://api.freedompay.uz/init_payment.php
Request
Body Params multipart/form-data
pg_order_id
string
required
Example:
00102
pg_merchant_id
integer
required
pg_amount
number
required
Example:
10
pg_description
string
required
Example:
Ticket
pg_salt
string
required
Example:
some random string
pg_sig
string
required
pg_payment_route
string
required
Example:
frame
pg_currency
string
optional
Example:
KZT
pg_check_url
string
optional
pg_result_url
string
optional
pg_request_method
string
optional
Example:
POST
pg_failure_url
string
optional
pg_failure_url_method
string
optional
Example:
GET
pg_state_url
string
optional
Example:
http://site.kz/state
pg_state_url_method
string
optional
Example:
GET
pg_site_url
string
optional
Example:
http://site.kz/return
pg_lifetime
integer
optional
Example:
86400
pg_user_phone
string
optional
Example:
77777777777
pg_user_contact_email
string
optional
Example:
mail@customer.kz
pg_user_ip
string
optional
Example:
127.0.0.1
pg_postpone_payment
integer
optional
Example:
0
pg_language
string
optional
Example:
ru
pg_testing_mode
integer
optional
Example:
1
pg_user_id
string
optional
Example:
No65GFR755789T
pg_recurring_start
integer
optional
Example:
1
pg_recurring_lifetime
integer
optional
Example:
156
pg_param1
string
optional
Example:
Additional information
pg_param2
string
optional
Example:
Additional information
pg_param3
string
optional
Example:
Additional information
pg_auto_clearing
integer
optional
Example:
1
pg_generate_qr
boolean
optional
Example:
1
pg_commission_discount
boolean
optional
Example:
1
pg_commission_discount_fix
number
optional
pg_commission_discount_percentage
number
optional
pg_idempotency_key
string
optional
pg_loyalty_id
string
optional
pg_loyalty_amount
number
optional
pg_freedom_id
string
optional
Request samples
Responses
Modified at 2025-02-03 10:55:01