- 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
Authorization link
POST
https://passport.freedompay.kz/api/v1/oauth/authorize
oauth2
redirect_uri
).grants
).Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string {{Username}}:{{Password}}Example:
Authorization: Basic *****************
Body Params application/json
redirect_uri
string
required
grants
array[string]
required
Example
{
"redirect_uri": "https://example.com/login",
"grants": [
"read.email",
"read.emails",
"read.phone",
"read.phones",
"read.date_of_birth",
"read.firstname",
"read.lastname",
"read.patronymic",
"read.gender",
"read.country",
"read.nationality",
"read.identifier",
"read.profile",
"read.cards",
"openid"
]
}
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/authorize' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"redirect_uri": "https://example.com/login",
"grants": [
"read.email",
"read.emails",
"read.phone",
"read.phones",
"read.date_of_birth",
"read.firstname",
"read.lastname",
"read.patronymic",
"read.gender",
"read.country",
"read.nationality",
"read.identifier",
"read.profile",
"read.cards",
"openid"
]
}'
Responses
🟢200Success
application/json
Body
redirect_uri
string <URL>
required
Example
{
"redirect_uri": "https://passport.freedompay.kz/login?track_id=ac22c50c-22c7-4aeb-9160-e59b735f9c44&expire_at=1727246098"
}
Modified at 2025-02-25 06:37:34