1. Payouts
Freedom Pay
  • Overview
  • Gateway API
    • Overview
    • Sync API
      • Overview
      • Card data encryption
      • Payments
        • Overview
        • Pay by card
        • Pay by card: complete 3DS
        • Pay with Apple Pay
        • Pay with Google Pay
        • Pay by recurring profile
        • Create payment page
        • Create payment page with any amount
        • Capture payment (clearing)
        • Cancel payment
        • Refund payment
        • Get payment status
      • Payouts
        • Overview
        • Pay out to card
          POST
        • Pay out to IBAN
          POST
        • Get payout balance
          POST
        • Get payout status
          POST
      • Transfers
        • Overview
        • Transfer from card to card
        • Transfer from card to card: complete 3DS
        • Get exchange rates
        • Get transfer status
      • Saved cards
        • Overview
        • Save card
        • Save card: complete 3DS
        • List saved cards
        • Remove saved card
        • Pay by card token
        • Pay out to card token
        • Get payment status
    • Async API
      • Overview
      • Create
        • Create payment
        • Save card without a charge
      • Read
        • Get payment status
        • Get request result
      • Edit
        • Capture payment (clearing)
        • Cancel payment (reverse)
        • Refund payment
  • Merchant API
    • Overview
    • Payments
      • Overview
      • Checkout
      • Pay by saved card
        • Overview
        • Create payment
        • Confirm payment with CVC
        • Confirm payment without the client
      • Create payment
      • Create payment with a payment page template
      • Create payment in a payment frame
      • Create payment with any amount
      • Create recurring payment
      • Capture payment (clearing)
      • Cancel payment
      • Refund payment
      • Get payment status
    • Payouts
      • Overview
      • Create payout page
      • Pay out to saved card
      • Pay out to IBAN
      • Get payout status
      • Get payout balance
    • Saved cards
      • Get saved cards
      • Save card
      • Save card for payouts
      • Delete saved card
      • Save card without a charge
    • Mobile balance
      • Overview
      • Create mobile balance payment
      • Charge mobile balance
      • Get mobile balance payment status
      • Confirm payment with SMS code
      • Resend SMS code
    • Invoices
      • Overview
      • Recurring payments
        • Overview
        • Create recurring profile
        • Get recurring profile
        • Charge by recurring profile
        • Cancel recurring profile
        • Recurring profile notification
      • Tips
        • Overview
        • Create
      • Create invoice
      • Get invoice status
      • Get invoice details
      • Cancel invoice
      • Refund invoice
    • SDK
      • JS SDK
      • Merchant SDK
        • Android
        • iOS
        • Migration guide
    • CMS
      • Overview
      • Get Merchant ID and key
      • WordPress
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
        • Update
      • Tilda
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • InSales
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • Ecwid
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • Bitrix
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • PrestaShop
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • OpenCart
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • CS-Cart
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
    • Installment
      • Overview
      • Status
        • Get application status
        • Application status notification
        • Change application status
      • Get partners
      • Create application
    • Callbacks
      • Overview
      • Result notify
      • Check request
      • Payout notify
      • Redirect back
  • Partner API
    • Overview
    • Rates
      • Overview
      • Rates
    • Products
      • Overview
      • Dictionaries
      • Add client with product
      • Client request status
      • Create terminal
      • Update terminal limits
      • Product request status
    • E-Money
      • Overview
      • Add
      • Owner identification
      • Info
      • Close
      • Block
      • Balance
      • Statement
      • Request Status
    • Device ID
      • Android SDK
      • iOS SDK
    • Implement SuperApp
      • Overview
      • Pay
      • Refund
      • Status
    • Account
      • Overview
      • Create payment
      • Payment status
      • Batch statuses
      • Statement
      • Statement status
      • Balance
      • Balance status
    • Invoices
      • Info
  1. Payouts

Pay out to card

KZ
https://api.freedompay.kz
KZ
https://api.freedompay.kz
POST
https://api.freedompay.kz
/g2g/p2p2nonreg
Pays out money to a bank card by its number.
Sign the request with the payout secret key: see Sync API Overview.
Test cards for payouts: see Gateway API Overview.

Payout flow#

The final result of the payout, successful or declined, is also sent to pg_post_link.

Result#

pg_statusMeaningNext step
okThe payout is made.Nothing else is needed.
processThe payment system has not returned the result yet.Wait for the result at pg_post_link, or request Get payout status until it is final.
errorThe request is rejected or the payout is declined. pg_payment_id is not returned.See «Errors» below. To find a declined payout, request Get payout status by pg_order_id.

Errors#

The HTTP status is always 200; the error is returned in pg_error_code and pg_error_description.
pg_error_codeWhenWhat to do
94031A parameter is missing or has an invalid value. pg_error_description names the parameter. The response is not signed.Fix the request.
11005pg_amount is missing, is not a number, or is outside the range 0.01–99999999. The response is not signed.Fix the amount.
1100The signature is missing or invalid, or pg_merchant_id is not found. The response is not signed.Check the merchant ID and the signature with the payout secret key.
99081A payout with this pg_order_id already exists: uniqueness of the order ID is enabled for the merchant. The response is not signed.Pass a new pg_order_id.
1806The corporate card for payouts is not set up for the merchant.Contact Freedom Pay.
1360Not enough money on the payout balance.Top up the payout balance: see Get payout balance.
10000Payouts to cards or payouts through Gateway API are not enabled for the merchant, or the payout could not be performed. If payouts through Gateway API are not enabled, the response is not signed.Contact Freedom Pay or repeat the request later.
Other codesThe payment system declined the payout.See Error codes.

Request example#

Required fields only. pg_sig is calculated with the payout secret key test_secret_key.
Line breaks in the body are added for readability: send the body as one line.

Request

Body Params multipart/form-data

Responses

🟢200Success
application/xml
Bodyapplication/xml

Examples
<?xml version="1.0" encoding="utf-8"?>
<response>
    <pg_status>ok</pg_status>
    <pg_merchant_id>13991</pg_merchant_id>
    <pg_payment_id>722</pg_payment_id>
    <pg_order_id>po-7fd6e5fa</pg_order_id>
    <pg_payment_amount>100</pg_payment_amount>
    <pg_balance></pg_balance>
    <pg_payment_date>2026-10-16 17:39:04</pg_payment_date>
    <pg_reference></pg_reference>
    <pg_datetime>2026-10-16T12:39:04+00:00</pg_datetime>
    <pg_salt>hUxotxeIIIICnoFb</pg_salt>
    <pg_sig>a318d71a61d8674b917d41c4128c5951</pg_sig>
</response>
🟢200Error
Previous
Overview
Next
Pay out to IBAN