1. Saved cards
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
        • Pay out to IBAN
        • Get payout balance
        • Get payout status
      • 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
          POST
        • Save card: complete 3DS
          POST
        • List saved cards
          POST
        • Remove saved card
          POST
        • Pay by card token
          POST
        • Pay out to card token
          POST
        • Get payment status
          POST
    • 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. Saved cards

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 «Payments» section: see it for the response fields, errors and examples.
Returns the current state of a payment found by pg_payment_id or pg_order_id.

Payment status request flow#

Result#

pg_statusMeaningNext step
okThe payment is found: pg_payment_status shows its state.success, error: the result is final. new, waiting, process: the payment is not final, repeat the request later.
pendingThe payment waits for 3DS authentication.Repeat the request later.
errorThe request itself failed.See «Errors» in Get payment status.

Request

Body Params multipart/form-data

Responses

🟢200Success
application/xml
Bodyapplication/xml

Examples
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <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>success</pg_payment_status>
    <pg_amount>100</pg_amount>
    <pg_clearing_amount>0</pg_clearing_amount>
    <pg_refund_amount>0</pg_refund_amount>
    <pg_user_email></pg_user_email>
    <pg_card_name></pg_card_name>
    <pg_user_phone></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>UP1</pg_card_brand>
    <pg_net_amount>75</pg_net_amount>
    <pg_reference>261015104535</pg_reference>
    <pg_captured>0</pg_captured>
    <pg_auth_code>992589</pg_auth_code>
    <pg_intreference>ae823d0c-0eba-4da9-bd0d-a913df1a8e66</pg_intreference>
    <pg_salt>P3ZzxpFhVUzlXy67zaLJEHHFiYPATK3o</pg_salt>
    <pg_sig>2443146d3716bef80ed7f102da185ce3</pg_sig>
    <pg_datetime>2026-10-15T10:45:35+00:00</pg_datetime>
</response>
🟢200Error
Previous
Pay out to card token
Next
Overview