1. Card
Freedom Pay
  • Overview
  • Gateway API
    • Overview
    • Sync API
      • Overview
      • Card data encryption
      • Purchase
        • Overview
        • Create payment
        • Any amount
        • Pay by card
        • Pay by card: complete 3DS
        • Pay by recurring profile
        • Cancel payment
        • Capture payment (clearing)
        • Refund payment
        • Get payment status
      • Payout
        • Overview
        • Card
        • IBAN
        • Balance
        • Status
      • Transfer
        • Overview
        • Card
        • 3DSecure
        • Rates
        • Status
      • Card
        • Overview
        • Add
          POST
        • 3DSecure
          POST
        • List
          POST
        • Remove
          POST
        • Get payment status
          POST
      • Token
        • Overview
        • Token Pay
        • Apple Pay
        • Google Pay
        • Token Payout
        • Get payment status
    • Async API
      • Overview
      • Create
        • Create payment
      • Read
        • Get payment status
        • Get request result
      • Edit
        • Capture payment (clearing)
        • Cancel payment (reverse)
        • Refund payment
  • Merchant API
    • Overview
    • Purchase
      • Overview
      • Checkout
      • Card token
        • Overview
        • Tokenize card
        • Delete token
        • Card token list
        • Create payment (with CVC)
        • Confirm payment (with CVC)
        • Create payment
        • Confirm payment
      • Create payment
      • Any amount
      • Reccuring payment
      • Cancel payment
      • Clearing
      • Refund payment
      • Status
    • Payout
      • Overview
      • Card token
        • Tokenize card
        • Delete token
        • Card token list
        • Create payment
      • Create payment
      • IBAN
      • Balance status
      • Status
    • Mobile balance
      • Overview
      • Init
      • Pay
      • Approve
      • Resend code
      • Status
    • Invoice
      • Overview
      • Recurring profile
        • Overview
        • Create
        • Cancel
        • Info
        • Notify
      • Tips
        • Overview
        • Create
      • Create
      • Execute
      • Info
      • Refund
      • Status
      • Cancel
    • SDK
      • JS SDK
      • Merchant SDK
        • Google Pay
        • Android
        • IOS
    • 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
    • Installment
      • Overview
      • Status
        • Application Status
        • Application Callback Status
        • Application Change Status
      • Get partners
      • Create application
    • Redirect back
      POST
    • Result notify
      POST
    • Payout notify
      POST
    • Check request
      POST
  • Partner API
    • 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. Card

Get payment status

KZ
https://api.freedompay.kz
KZ
https://api.freedompay.kz
POST
https://api.freedompay.kz
/g2g/status_v2
The same method as Get payment status in the «Purchase» section: see it for the statuses, errors and examples.
Returns the current state of a payment found by pg_payment_id or pg_order_id.

Request

Body Params multipart/form-data

Responses

🟢200Success
application/xml
Bodyapplication/xml

Example
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <pg_payment_id>1015054203207</pg_payment_id>
  <pg_order_id>acs-ab0ad944</pg_order_id>
  <pg_currency>KZT</pg_currency>
  <pg_status>ok</pg_status>
  <pg_payment_status>new</pg_payment_status>
  <pg_amount>100</pg_amount>
  <pg_clearing_amount>0</pg_clearing_amount>
  <pg_refund_amount>-70</pg_refund_amount>
  <pg_user_email>user@example.com</pg_user_email>
  <pg_card_name>IVAN IVANOV</pg_card_name>
  <pg_user_phone>77777777777</pg_user_phone>
  <pg_payment_date>2026-10-15T10:45:35Z</pg_payment_date>
  <pg_card_pan>6224-46XX-XXXX-XXX12</pg_card_pan>
  <pg_card_exp>12/30</pg_card_exp>
  <pg_card_brand>VI</pg_card_brand>
  <pg_net_amount>75</pg_net_amount>
  <pg_refund_payments>
    <pg_refund_payment>
      <pg_refund_payment>
        <pg_payment_id>1015054203233</pg_payment_id>
        <pg_payment_status>success</pg_payment_status>
        <pg_amount>-20</pg_amount>
        <pg_payment_date>2026-10-15T10:45:40Z</pg_payment_date>
        <pg_reference>261015104535</pg_reference>
        <pg_failure_code>99999</pg_failure_code>
        <pg_failure_description>Неизвестная ошибка платежной системы</pg_failure_description>
      </pg_refund_payment>
    </pg_refund_payment>
  </pg_refund_payments>
  <pg_revoked_payments>
    <pg_revoked_payment>
      <pg_revoked_payment>
        <pg_payment_id>1015054203254</pg_payment_id>
        <pg_payment_status>success</pg_payment_status>
      </pg_revoked_payment>
    </pg_revoked_payment>
  </pg_revoked_payments>
  <pg_reference>261015104535</pg_reference>
  <pg_captured>1</pg_captured>
  <pg_auth_code>992589</pg_auth_code>
  <pg_card_id>328</pg_card_id>
  <pg_card_token>d7748317-cafa-4560-adfe-5c1075488b5e</pg_card_token>
  <pg_intreference>ae823d0c-0eba-4da9-bd0d-a913df1a8e66</pg_intreference>
  <pg_recurring_profile>41</pg_recurring_profile>
  <pg_error_code>99999</pg_error_code>
  <pg_error_description>Неизвестная ошибка платежной системы</pg_error_description>
  <pg_failure_code>99999</pg_failure_code>
  <pg_failure_description>Неизвестная ошибка платежной системы</pg_failure_description>
  <pg_salt>P3ZzxpFhVUzlXy67zaLJEHHFiYPATK3o</pg_salt>
  <pg_sig>2443146d3716bef80ed7f102da185ce3</pg_sig>
  <pg_datetime>2026-10-15T10:45:35+00:00</pg_datetime>
</root>
🟢200Error
Previous
Remove
Next
Overview