Generate or Refresh Token

This method creates or refreshes the token depending on the body of the request.

The first call to /oauth/token returns a middle token, which is used in the second /oauth/bc-authorization call. The second call to /oauth/token returns the final access_token

For creating new token required parameters are:

  • grant_type
  • auth_req_id
  • client_id

For refreshing existing token required parameters are:

  • grant_type
  • refresh_token
  • client_id

In order to make test integration, please use https://test-api.tbcbank.ge

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Form Data

user info to be filled

string
required

The client identifier issued to the client during the registration process

string

It is the unique identifier to identify the authentication request (transaction) made by the Client

enum
required

When creating new token grant_type must be 'urn:openid:params:grant-type:ciba' or 'authorization_code', depending from where process was started.

  • If authorization initiated from authorize endpoint then the grant_type must be 'authorization_code'.
  • If authorization initiated from bc authorization endpoint, then the grant_type must be 'urn:openid:params:grant-type:ciba'

For refresh token grant_type must be 'refresh_token'

Allowed:
string

refresh_token parameter used when refreshing the token

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json