- 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
Token Refresh
Developing
PATCH
https://api.freedompay.kz/v5/partner/transfer/agent/auth
Access Token
) using a (Refresh Token
). It is essential for maintaining long-term sessions and ensuring uninterrupted use of the API.Request
Header Params
Authorization
string
required
Example:
Bearer <refresh_token>
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 PATCH 'https://api.freedompay.kz/v5/partner/transfer/agent/auth' \
--header 'Authorization: Bearer <refresh_token>'
Responses
🟢200Success
application/json
Body
access_token
string
required
refresh_token
string
required
access_expire_at
string
required
refresh_expire_at
string
required
Example
{
"access_token": "new_access_token",
"refresh_token": "new_refresh_token",
"access_expire_at": "new_expiration_time",
"refresh_expire_at": "new_expiration_time"
}
Modified at 2025-04-01 10:38:40