Freedom Pay
  1. Freedom ID
Freedom Pay
  • Overview
  • Gateway API
    • Overview
    • Sync API
      • Overview
      • Purchase
        • Overview
        • Create payment
        • Any amount
        • Card
        • 3DSecure
        • Cancel
        • Clearing
        • Refund
        • Status
      • Payout
        • Overview
        • Card
        • IBAN
        • Balance
        • Status
      • Transfer
        • Overview
        • Card
        • 3DSecure
        • Rates
        • Status
      • Card
        • Overview
        • Add
        • 3DSecure
        • List
        • Remove
        • Status
      • Token
        • Overview
        • Token Pay
        • Apple Pay
        • Google Pay
        • Token Payout
        • Status
    • Async API
      • Overview
      • create
        • create payment
        • create payment recurrent
      • read
        • read payment
        • read request
      • edit
        • edit payment.refund
        • edit payment.reverse
        • edit payment.clearing
      • delete
  • Merchant API
    • Overview
    • Purchase
      • Overview
      • Checkout
      • Card token
        • Overview
        • Tokenize card
        • Delete token
        • Card token list
        • Create payment (with CVC)
        • Confirm payment (with CVC)
        • Create payment
        • Confirm payment
      • Create payment
      • Any amount
      • Cancel payment
      • Clearing
      • Refund payment
      • Status
    • Payout
      • Overview
      • Card token
        • Tokenize card
        • Delete token
        • Card token list
        • Create payment
      • Create payment
      • IBAN
      • Balance status
      • Status by order_id
      • Status by Payment ID
      • Status
    • Mobile balance
      • Overview
      • Init
      • Pay
      • Approve
      • Resend code
      • Status
    • Invoice
      • Overview
      • Init
      • Info
      • Pay
      • Status
    • SDK
      • JS SDK
      • Google Pay
      • Freedom QR
        • Reader SDK (Android)
        • Provider SDK (Android)
      • Payment SDK
        • iOS
        • Android
    • CMS
      • Overview
      • Get Merchant ID and key
      • WordPress
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
        • Update
      • Tilda
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • InSales
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • Ecwid
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • Bitrix
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • PrestaShop
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
      • OpenCart
        • Overview
        • Installation
        • Configuration
        • Test
        • Live payments
    • Redirect back
      POST
    • Result notify
      POST
    • Payout notify
      POST
    • Check request
      POST
  • 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)
      • Statement
      • Statement extended
      • Create client
      • Edit client
      • Сards' list
      • Request' status
      • Create transaction
      • Clearing transaction
      • Refund transaction
      • Transaction request' status
      • Transaction info
    • Gift Cards
      • Overview
      • List
      • Issue
      • Confirm
      • Resend
      • Resend code
      • Status
  • Partner API
    • Rates
      • Overview
      • Rates
    • Products
      • Overview
      • Dictionaries
      • Add client with product
      • Request status
    • E-Money
      • Overview
      • Add
      • Owner identification
      • Info
      • Close
      • Block
      • Balance
      • Statement
      • Request Status
    • Freedom ID
      • Overview
      • Design
      • iOS SDK
      • Android SDK
      • OAuth2
        • Authorization link
        • Token exchange
        • Token refresh
        • User info
        • Request profile
        • Get profile status
        • Create user
        • Update user
      • OIDC
        • Authorization endpoint
        • Token exchange
        • Userinfo
      • Error codes
      • Examples
        • Keycloak
    • Transfer
      • Overview
      • Get token
      • Refresh token
      • Get agents
      • Fees
      • Create person
      • Create business
      • Create transfer
      • Print application
      • Confirm
      • Search
      • Payout
      • Payout confirm
      • Cancel
      • Get person info
      • Get business info
      • Status
      • Info
    • Device ID
      • Android SDK
      • iOS SDK
  1. Freedom ID

Overview

General information#

Freedom ID is a unified account system for accessing services provided by the Freedom Group of Companies and supported third-party websites or applications.
This API enables configuring a single sign-on experience for your website or mobile application.
The Freedom ID API offers the following benefits:
Unified Authorization:
Users can log into your website or application using their existing Freedom ID account, removing the need for new account registrations and forms.
Data Transfer:
With user consent, necessary data can be retrieved for account creation or updates.
Web Authorization:
Allows login via Freedom ID widgets or buttons on your site.
Mobile Authorization:
Integrates SDKs for mobile devices to facilitate seamless login if users are already signed into Freedom ID on their devices.

How It Works#

Authorization Process
Once integrated, your service’s login page will display an option to log in via Freedom ID.
Users selecting this option are redirected to the Freedom ID authorization page to approve login and data sharing.
Token Exchange
Upon successful authorization, your service receives an authorization_code via the specified redirect_uri.
This code must be exchanged for access_token and refresh_token using a token request.
Retrieving User Data
Using the client_access_token, send a request to the Freedom ID API to obtain user data.
This data can then be used to authenticate and register the user in your system without requiring a new account.
Client Profile Request
To retrieve additional user profile information, submit a "Client Profile" request.
Prior user consent is required for profile access.

API Integration Steps#

Freedom_ID_API_5.jpg

Partner Service Registration with Freedom ID#

 To work with the Freedom ID API, a partner service needs credentials (Login and Password). These can be obtained by contacting the product support team via email: support@freedompay.kz.
Your email should include:
Service Name
Platforms (e.g., web, iOS, Android)
Contact Information of responsible personnel

Example Email#

Subject: Request for Service Integration with Freedom ID API  

Dear Freedom ID Support Team,  

My name is [Your Name], representing the platform [Your Company Name]. We aim to integrate our service with the Freedom ID API for unified user authorization.  

Service Name: [Your Service Name]  
Platforms: [Platform List]  
Contact Details:  
- Name: [Responsible Person's Name]  
- Position: [Position]  
- Email: [Email Address]  
- Phone: [Phone Number] 

User Data Access Codes#

ParameterDescription
date_of_birthUser's date of birth (e.g., read.date_of_birth).
firstnameUser's first name (e.g., read.firstname).
lastnameUser's last name (e.g., read.lastname).
patronymicUser's patronymic (e.g., read.patronymic).
countryUser's citizenship (e.g., read.country).
nationalityUser's nationality (e.g., read.nationality).
genderUser's gender (e.g., read.gender).
identifierUser's identifier (e.g., read.identifier).
phoneUser's primary phone number (e.g., read.phone).
emailUser's primary email address (e.g., read.email).
phonesAdditional phone numbers (e.g., read.phones).
emailsAdditional email addresses (e.g., read.emails).
profileExtended profile data (e.g., read.profile).

User Data Parameters#

ParameterTypeDescription
date_of_birthstring (YYYY-MM-DD)User's date of birth.
firstnamestringUser's first name.
lastnamestringUser's last name.
patronymicnull or stringUser's patronymic.
countrystringUser's country.
nationalitystringUser's nationality.
genderstringUser's gender.
identifierstringUser's identifier.
phonestringUser's primary phone number.
emailstringUser's primary email address.
phonesarray of stringsAdditional phone numbers.
emailsarray of stringsAdditional email addresses.
Previous
Request Status
Next
Design