Request
Body Params multipart/form-data
Merchant ID in the system
Order ID in the shop system. A unique
Payment amount. Minimum 0.01||number
Transfer amount in the transfer currency.
Required if no pg_amount ||number
The debit currency in which the transfer amount is indicated. KZT
Currency of the transfer||string
pg_commission_amount
number
optionalCommission charged from the payer||number
Payment description displayed to the buyer||string
User ID in the merchant system
Required if pg_save_sender_card or
pg_save_recipient_card ||integer
Saved card token of the sender
Required if no pg_card_pan||string
Sender's card number
Required if no pg_card_token||integer
CVC/CVV card password
Required if no pg_card_token||integer
Card expiration year
Required if no pg_card_token||integer
Card expiration month
Required if no pg_card_token||integer
Sender's cardholder name
Required if no pg_card_token||string
Recipient's card number
Required if no pg_card_recipient_token||integer
pg_card_recipient_token
string
optionalRecipient's saved card token
Required if no pg_card_recipient||string
pg_card_recipient_name
string
optionalRecipient's cardholder name||string
pg_save_sender_card
string
optionalSign of the need to save the card for sending money||string
pg_save_recipient_card
string
optionalSign of the need to save the recipient's card||string
Error text language||string
Random string consisting of arbitrary numbers and Latin letters||string
Digital signature of the request||string
Request samples
curl --location --request POST 'https://api.freedompay.uz/g2g/p2p/transfer' \
--form 'pg_merchant_id="";type=false' \
--form 'pg_order_id="";type=false' \
--form 'pg_amount="";type=false' \
--form 'pg_amount_to="";type=false' \
--form 'pg_currency_from="";type=false' \
--form 'pg_currency_to="";type=false' \
--form 'pg_commission_amount="";type=false' \
--form 'pg_description="";type=false' \
--form 'pg_user_id="";type=false' \
--form 'pg_card_token="";type=false' \
--form 'pg_card_pan="";type=false' \
--form 'pg_card_cvc="";type=false' \
--form 'pg_card_year="";type=false' \
--form 'pg_card_month="";type=false' \
--form 'pg_card_name="";type=false' \
--form 'pg_card_recipient="";type=false' \
--form 'pg_card_recipient_token="";type=false' \
--form 'pg_card_recipient_name="";type=false' \
--form 'pg_save_sender_card="";type=false' \
--form 'pg_save_recipient_card="";type=false' \
--form 'pg_language="";type=false' \
--form 'pg_salt="";type=false' \
--form 'pg_sig="";type=false'
Responses
application/xml pg_card_recipient_token
string
optionalSaved recipient card token
pg_card_recipient_mask
string
optional<?xml version="1.0" encoding="utf-8"?>
<response>
<pg_payment_id>7777777777</pg_payment_id>
<pg_status>ok</pg_status>
<pg_payment_status>success</pg_payment_status>
<pg_3ds>1</pg_3ds>
<pg_3d_acsurl>https://bank-issuer-url.com/3ds-verify</pg_3d_acsurl>
<pg_order_id>ORD12345</pg_order_id>
<pg_payment_amount>1000.00</pg_payment_amount>
<pg_payout_amount>950.00</pg_payout_amount>
<pg_currency_from>KZT</pg_currency_from>
<pg_currency_to>USD</pg_currency_to>
<pg_card_token>abcd1234token</pg_card_token>
<pg_card_recipient_token>xyz9876token</pg_card_recipient_token>
<pg_card_mask>411111-XXXXXX-1111</pg_card_mask>
<pg_card_recipient_mask>422222-XXXXXX-2222</pg_card_recipient_mask>
<pg_payment_date>2024-09-02T12:19:01+00:00</pg_payment_date>
<pg_salt>YtfwCGiBHsFLpYGk</pg_salt>
<pg_sig>ccee466c01c2332d8a065d6108fd686b</pg_sig>
<pg_datetime>2024-09-02T12:19:01+00:00</pg_datetime>
</response>
Modified at 2025-02-03 10:55:01