username:password
Authorization: Basic *****************
{
"authorization_code": "your_authorization_code"
}
curl --location --request POST 'https://passport.freedompay.kz/api/v1/oauth/token' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"authorization_code": "your_authorization_code"
}'
{
"access_token": "your_access_token",
"refresh_token": "your_refresh_token",
"access_expire_at": "2024-10-02T10:52:21.000000Z",
"refresh_expire_at": "2024-10-25T10:52:21.000000Z"
}