- Gateway API
- Introduction
- Reference
- Sync API
- Introduction
- Page
- Pay
- Payout
- Transfer
- Card
- Token
- Async API
- Merchant API
- Introduction
- Reference
- Page
- Pay
- Payout
- Mobile balance
- Card
- Token
- Invoice
- ATM
- Additional
- Card API
- Partner API
- Mobile SDK
- CMS
3DSecure
POST
https://api.freedompay.kg/g2g/cardstorage/payment_acs
Request
Body Params multipart/form-data
pg_merchant_id
integer
required
pg_payment_id
integer
required
pg_md
string
required
pg_pares
string
required
pg_salt
string
required
pg_sig
string
required
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.kg/g2g/cardstorage/payment_acs' \
--form 'pg_merchant_id=""' \
--form 'pg_payment_id=""' \
--form 'pg_md=""' \
--form 'pg_pares=""' \
--form 'pg_salt=""' \
--form 'pg_sig=""'
Responses
🟢200Success
application/xml
Body
pg_payment_id
integer
required
pg_order_id
string
required
pg_status
string
required
pg_card_mask
string
required
pg_card_token
string
optional
pg_3d_acsurl
string
required
pg_user_id
string
required
pg_3ds
boolean
required
pg_salt
string
required
pg_sig
string
required
Example
<?xml version="1.0" encoding="utf-8"?>
<response>
<pg_payment_id>7777777777</pg_payment_id>
<pg_order_id>test</pg_order_id>
<pg_status>ok</pg_status>
<pg_card_mask>5555-55XX-XXXX-5555</pg_card_mask>
<pg_3ds>1</pg_3ds>
<pg_3d_acsurl>https://secure.freedompay.kz/v2/user/3ds-page/fxz32tcxc-24trf-dfg3-dfgdf-3543543543gdf</pg_3d_acsurl>
<pg_datetime>2024-09-11T15:57:53+00:00</pg_datetime>
<pg_salt>some random string</pg_salt>
<pg_sig>7fba2cf29fdh53462cb7cc91534635af</pg_sig>
</response>
🟢200Error
Modified at 2025-02-03 10:08:06