---
updatedAt: 2026-03-25T11:17:29.000Z
---

# /Get Access Token

# /Get Access Token

***

***

## Request Endpoint

```http production endpoint
https://api.tbcbank.ge/v2/tpay/access-token
```

## Authorization

| Authorization Type | Description |
| :----------------- | :---------- |
| None               |             |

## Request Parameters

### Header Parameters

| Parameter | Type   | Description           |
| :-------- | :----- | :-------------------- |
| apikey    | string | developer app API key |

### Body Parameters

TBC merchant parameters *client\_id* and *client\_secret* should be passed in Body as\
x-www-form-urlencoded parameters

| Parameter      | Type   | Description                  |
| :------------- | :----- | :--------------------------- |
| client\_id     | string | TBC client\_id (merchant id) |
| client\_secret | string | TBC client\_secret           |

## Response Parameters

| Parameter     | Type    | Description                                 |
| :------------ | :------ | :------------------------------------------ |
| access\_token | string  | The access token value                      |
| token\_type   | string  | Type of the token is set to "Bearer"        |
| expires\_in   | integer | The lifetime in seconds of the access token |

## Response Sample

```json 200 OK
{
    "access_token": "eyJhbGciOiJKSeriiIsImtpZCI6IjVFMjBGMzQ2RUY1RjU2ODkxQTIyRkUzQUVCRjAzMzlGMzVDNjk1QjYiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJYaUR6UnU5ZlZva2FJdjQ2Nl9Bem56WEdsYlkifQ.eyJuYmYiOjE2MzE2NDQyNjEsImV4cCI6MTYzMTczMDY2MSwiaXNzIjoiaHR0cHM6Ly9hY2NvdW50c2FwaS50YmNiYW5rLmdlLyIsImF1ZCI6WyJodHRwczovL2FjY291bnRzYXBpLnRiY2JhbmsuZ2UvcmVzb3VyY2VzIiwicGF5bWVudGFwaSJdLCJjbGllbnRfaWQiOiI3MDAwMDAyIiwic2NvcGUiOlsicGF5bWVudGFwaSJdfQ.GNIaxgik-ElXrvXOky5_1D1YjEEX5CB3eQHKPwvdCNhB-HvblqZ78QSNJcl6qLfL8gRTd0x9ASCgXu2z2RQYJ-wls0V2IwrQ7p4WEU-ON9QnasOjZWgPeVAtZQC_zjH9DdmL1GiDTIHLErhKDGl3YtSGcvPKSvTpABWda6HvF7lNGlEK0SZxzzt1i1SkpAnQfzIO1ATEmKdM1EmWzp5ZaDk0cF-Wzfk_2CrQAGofc80GT64U8WOXvVOx1gVYmjzqYs71XCOqfQdySYBIc-tbUC6YIoeSPZfu1hpi33Gz40ig57t4jxeE7Jh--38ydO4AGEw8BdlLv534O0V3ZoOddg",
    "expires_in": 86400,
    "token_type": "Bearer"
}
```
```json 400 Bad Request
{
    "type": "https://developers.tbcbank.ge/docs/error-type-400",
    "title": "",
    "status": "400",
    "detail": "",
    "systemCode": "System code for problem is tpay-access-token.400.001",
    "code": ""
}
```

**Note** 400 Bad Request is often times returned when merchant parameters client\_id / client\_secret are incorrect. Please, double check if you receive error 400.

## Error Response

In case of error, standard response in problem json will be returned.

> Details can be found at [Error Code Description](https://developers.tbcbank.ge/docstbctransifex/docs/error-code-description)