Freedom Pay
  1. Page
Freedom Pay
  • Gateway API
    • Introduction
    • Reference
      • Test cards
      • Error codes
    • Sync API
      • Introduction
      • Page
        • Introduction
        • Page
        • Page with amount control
        • Status
      • Pay
        • Introduction
        • Card
        • 3DSecure
        • Cancel
        • Clearing
        • Refund
        • Status
      • Payout
        • Introduction
        • Card
        • IBAN
        • Balance
        • Status
        • StatusV2
      • Transfer
        • Introduction
        • Card
        • 3DSecure
        • Rates
        • Status
      • Card
        • Introduction
        • Add
        • 3DSecure
        • List
        • Remove
        • Status
      • Token
        • Introduction
        • Token Pay
        • Apple Pay
        • Google Pay
        • Samsung Pay
        • Token Payout
        • Status
    • Async API
      • Introduction
      • create
        • create payment
        • create payment recurrent
      • read
        • read payment
        • read request
      • edit
        • edit payment.refund
        • edit payment.reverse
        • edit payment.clearing
      • delete
  • Merchant API
    • Introduction
    • Reference
      • Test cards
      • Test phone numbers
      • Error codes
    • Page
      • Introduction
      • Page
        POST
      • Page with amount control
        POST
      • Payout page
        POST
      • Frame
        POST
      • Widget
        POST
      • Status
        POST
    • Pay
      • Introduction
      • Cancel
      • Clearing
      • Refund
      • Status
    • Payout
      • Introduction
      • IBAN
      • Balance
      • Status by order_id
      • Status by Payment ID
      • Status by Payment ID V2
    • Mobile balance
      • Introduction
      • Init
      • Pay
      • Approve
      • Resend code
      • Status
    • Card
      • Introduction
      • Add
      • Add for payout
      • Remove
      • List
      • Status
    • Token
      • Introduction
      • Saved card with CVC input (Init)
      • Saved card with CVC input (Pay)
      • Non-acceptance payments
      • Non-acceptance payments (Pay)
      • Token payout
      • Status
    • Invoice
      • Introduction
      • Init
      • Info
      • Pay
      • Status
    • Additional
      • Introduction
      • Check request
      • Result notify
      • Payout notify
      • Redirect back
  • Card API
    • Introduction
    • Payment Cards
      • Reference
        • Request Status
        • Client product
        • Card product
        • Card status
        • Card block
        • Transaction
        • Error codes
      • Card issue
        • Bulk
        • Single
        • Physical
      • Card control
        • Activate
        • Block
        • Unblock
        • Set PIN
        • Reset PIN counter
        • Close
        • Identification
        • Info
        • Balance
        • Secret data
        • Statement
      • Client
        • Create
        • Edit
        • Card list
      • Additional
        • Request status
    • Gift Cards
      • Introduction
      • Reference
        • Request status
        • Card status
      • List
      • Issue
      • Confirm
      • Resend
      • Resend code
      • Status
  • Partner API
    • Rates
      • Introduction
      • Rates
    • Products
      • Introduction
      • Reference
        • Request
        • Product
        • Freedom POS
        • Freedom ECOM
        • Freedom BOX
        • Limits
      • Add user
      • Add product
      • Add user with product
      • Grant user
      • Send auth data
      • Request status
    • E-Money
      • Introduction
      • Reference
        • Request
        • Operation
        • Error codes
      • Add
      • Owner identification
      • Info
      • Close
      • Block
      • Balance
      • Statement
      • Request Status
    • Freedom ID
      • Introduction
      • Android SDK
      • iOS SDK
      • Reference
        • Error codes
      • Link
      • Token
      • Token refresh
      • Info
      • Profile
      • Request
  • Mobile SDK
    • Payment SDK
      • iOS
      • Android
    • Freedom QR
      • Reader SDK (Android)
      • Provider SDK (Android)
  • CMS
    • Introduction
    • Get Merchant ID and key
    • WordPress
      • Introduction
      • Installation
      • Configuration
      • Test
      • Live payments
      • Update
    • Tilda
      • Introduction
      • Installation
      • Configuration
      • Test
      • Live payments
    • InSales
      • Introduction
      • Installation
      • Configuration
      • Test
      • Live payments
    • Ecwid
      • Introduction
      • Installation
      • Configuration
      • Test
      • Live payments
    • Bitrix
      • Introduction
      • Installation
      • Configuration
      • Test
      • Live payments
    • PrestaShop
      • Introduction
      • Installation
      • Configuration
      • Test
      • Live payments
    • OpenCart
      • Introduction
      • Installation
      • Configuration
      • Test
      • Live payments
  1. Page

Payout page

POST
https://api.freedompay.uz/api/reg2nonreg

Request

Body Params multipart/form-data
pg_merchant_id
integer 
required
Merchant ID in {{project}}.
pg_order_id
string 
required
Order ID in the merchant system. A unique
Example:
order_1234
pg_amount
number 
required
Transfer amount. Minimum 0.01.
Example:
10
pg_description
string 
required
Payment description.
Example:
Payment Description
pg_back_link
string 
required
URL to which the user is redirected in case of successful payment.
Example:
http://site.kz/back
pg_post_link
string 
required
URL to which payment status response is sent.
pg_order_time_limit
string 
required
Time limit for making a payment.
Example:
2020-12-31 12:00:00
pg_salt
string 
required
A random string consisting of arbitrary numbers and Latin letters.
Example:
some random string
pg_sig
string 
required
Request signature.
pg_user_id
string 
optional
User ID in the merchant system.
Example:
1
pg_payment_route
string 
optional
To initialize a frame. In order to use the frame for payments
Example:
frame
pg_user_email
string 
optional
Email of the user in the merchant system.
Example:
mail@customer.kz

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.freedompay.uz/api/reg2nonreg' \
--form 'pg_merchant_id=""' \
--form 'pg_order_id="order_1234"' \
--form 'pg_amount="10"' \
--form 'pg_description="Payment Description"' \
--form 'pg_back_link="http://site.kz/back"' \
--form 'pg_post_link=""' \
--form 'pg_order_time_limit="2020-12-31 12:00:00"' \
--form 'pg_salt="some random string"' \
--form 'pg_sig=""' \
--form 'pg_user_id="1"' \
--form 'pg_payment_route="frame"' \
--form 'pg_user_email="mail@customer.kz"'

Responses

🟢200Success
application/xml
Body
pg_status
string 
required
Shows the result of the query.
Status Description:
ok: Request was successful.
error: Request was successful.
pg_payment_id
integer 
required
The unique identifier of the payment transaction in {{project}}. Serves as a key for all further work with the transaction.
pg_merchant_id
integer 
required
Merchant ID in the system {{project}}.
pg_redirect_url
string 
required
URL for which a redirect is required.
pg_salt
string 
required
Random string.
pg_sig
string 
required
Request signature.
Example
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <pg_status>string</pg_status>
  <pg_payment_id>0</pg_payment_id>
  <pg_merchant_id>0</pg_merchant_id>
  <pg_redirect_url>string</pg_redirect_url>
  <pg_salt>string</pg_salt>
  <pg_sig>string</pg_sig>
</root>
Previous
Page with amount control
Next
Frame