- Overview
- Gateway API
- Overview
- Sync API
- Async API
- Merchant API
- Card API
- Overview
- Payment Cards
- Overview
- Dictionaries
- Bulk issue
- Issue card
- Issue plastic card
- Activate card
- Block card
- Unblock card
- Set PIN
- Reset PIN counter
- Close card
- Update client
- Card info
- Balance
- Secret data
- Secret data (version 2)
- Operations' list
- Statement extended
- Create client
- Edit client
- Сards' list
- Request' status
- Create transaction
- Clearing transaction
- Refund transaction
- Transaction info
- Cardholder validation
- Set limits
- Limits list
- Gift Cards
- Partner API
- Rates
- Products
- E-Money
- Freedom ID
- Transfer
- Device ID
- Implement SuperApp
read payment
POST
https://api.freedompay.kz/v5/g2g/read
Request
Header Params
Accept
string
required
Default:
application/json
Content-Type
string
required
X-JWS-Signature
string
required
Example:
eyJhbGciOiJSUzI1NiIsImtpZCI6IjEyMzQ1NiJ9.eyJpc3MiOiJleGFtcGxlLmNvbSIsInN1YiI6InVzZXIxMjMiLCJhdWQiOiJhcGkuZXhhbXBsZS5jb20iLCJleHAiOjE2MzAwMDAwMDAsImlhdCI6MTYyOTk5NjQwMH0.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
X-Action
string
required
If the same request_id is sent more than once, the API guarantees idempotent behavior and returns the original response.
Default:
gateway.payment.status
X-Request-Id
string
required
Example:
01978cb8-60f4-7b04-8b8d-8075a11d56a3
Body Params application/json
id
string
Required if "order_id" is not provided
Example:
01978c2f-79bc-72de-85f1-2ca183462dc5
order_id
string
Required if "id" is not provided
Example:
12345
Example
{
"id": "01907dac-a93d-776e-b475-cba6a54a4888",
"order_id": "1234"
}
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.kz/v5/g2g/read' \
--header 'Accept;' \
--header 'X-JWS-Signature;' \
--header 'X-Action;' \
--header 'X-Request-Id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "01907dac-a93d-776e-b475-cba6a54a4888",
"order_id": "1234"
}'
Responses
🟢200OK
application/json
Headers
x-request-id
string
required
Example:
01978c2b-f191-7b56-92f8-20c7c401d1fc
x-request-status
string
required
Example:
success
x-datetime
string
required
Example:
2025-06-20T07:13:31Z
Body
id
string <uuid>
required
Example:
01978d0e-b956-7ea2-9a42-32cff1f44ede
order_id
string <char>
required
Example:
12345
parent_id
string <uuid>
required
Example:
01978d27-fdb1-7fd1-8812-ce7a83414c72
status
string <char>
required
Examples:
processsuccessapprovedreversederror
amount
number <float>
required
Example:
100
created_at
string <date-time>
required
Example:
2025-06-20T07:13:31.068188524Z
3ds
object
required
flow_type
string
required
Examples:
FC
acs_url
string
required
Example:
https://acs.com/something
from
object
required
recurrent
object
optional
card
object
optional
clearing
object
required
cleared
boolean
required
amount
number <float>
required
Example:
100
additional
object
optional
approval_code
string
required
reference
string
required
intreference
string
required
refund_payments
array [object {3}]
optional
id
string
required
amount
integer | number
required
status
string
required
reverse_payments
array [object {3}]
optional
id
string
required
amount
integer
required
status
string
required
Examples
{
"id": "01978d0e-b956-7ea2-9a42-32cff1f44ede",
"status": "approved",
"amount": 100,
"created_at": "2025-06-20T07:13:31.068188524Z",
"order_id": "1234",
"clearing": {
"cleared": false,
"amount": 0
},
"from": {
"card": {
"token": "01978d11-669e-7dd1-bf1b-75a12bf57ca9",
"brand": "VI"
}
},
"additional": {
"approval_code": "95F69T",
"reference": "1234567891234",
"intreference": "AC1BFED11052BFAC"
},
"3ds": {
"acs_url": "",
"flow_type": "F"
}
}
Modified at 2025-06-26 13:34:50