- 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
- Statement
- Statement extended
- Create client
- Edit client
- Сards' list
- Request' status
- Create transaction
- Clearing transaction
- Refund transaction
- Transaction request' status
- Transaction info
- Gift Cards
- Partner API
- Rates
- Products
- E-Money
- Freedom ID
- IMTS "Leskar"
- Mobile SDK
- CMS
Request profile
POST
https://passport.freedompay.kz/api/v1/oauth/get-profile
read.profile
grant during the authentication link generation step.Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
request_id
string <uuid>
required
Example
{
"request_id": "UUID",
"created_at": "2024-10-17T12:00:00Z"
}
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://passport.freedompay.kz/api/v1/oauth/get-profile' \
--header 'Content-Type: application/json' \
--data-raw '{
"request_id": "UUID",
"created_at": "2024-10-17T12:00:00Z"
}'
Responses
🟢200Success
application/json
Body
request_id
string <uuid>
required
status
string
required
accepted
: New request is being processed.rejected
: Request was denied (e.g., permission error).pending
: Request is in progress.status_message
string
optional
freedom_id
string <uuid>
optional
Example
{
"request_id": "UUID",
"status": "accepted",
"status_message": "PROCESS: profile is pending",
"freedom_id": "UUID"
}
Modified at 2025-02-25 06:45:05