Мы используем cookie-файлы
Хорошо

Check payment status

Request URL
POST https://api.freedompay.kz/g2g/status_v2

Test Request URL
POST https://test-api.freedompay.kz/g2g/status_v2

Request fields

Response parameters

When using the pg_order_id parameter, the payment is searched only for the parent payment, refunds are not are taken into account. When using the pg_payment_id parameter, payments of any type are searched.

Response parameters for a successful request:

Array for pg_refund_payments
Array for pg_revoked_payments
In case of errors, there will be additional response parameters:
Clearing

Request URL
POST https://api.freedompay.kz/g2g/clearing

Test Request URL
POST https://test-api.freedompay.kz/g2g/clearing

Request fields

Response parameters
Response parameters for a successful request:

In case of errors, there will be additional response parameters:

Cancel before payment is charged

Request URL
POST https://api.freedompay.kz/g2g/cancel

Test Request URL
POST https://test-api.freedompay.kz/g2g/cancel

Request fields

Response parameters
Response parameters for a successful request:

In case of errors, there will be additional response parameters:
Refund of deducted payment

Request URL
POST https://api.freedompay.kz/g2g/refund

Test Request URL
POST https://test-api.freedompay.kz/g2g/refund

Request fields

Response parameters
Response parameters for a successful request:

In case of errors, there will be additional response parameters: