/Merchant Application Statuses

/Merchant Application Statuses



Request Endpoint

https://test-api.tbcbank.ge/v1/online-installments/merchant/applications/status-changes
https://api.tbcbank.ge/v1/online-installments/merchant/applications/status-changes

Authorization

Authorization Type

Description

Bearer Token

access-token should be added to Authorization header

Request Parameters

Body Parameters

Parameter

Type

Description

merchantKey (required)

string

merchant unique identifier in online installments module

take

integer

maximum number of changed statuses to be returned with one request

Request Sample

curl --location --request GET 'https://test-api.tbcbank.ge/v1/online-installments/merchant/applications/status-changes' \
--header 'Authorization: Bearer 9UZ0pponWUmGMFJjEkOH7oEf1F1bTF' \
--header 'Content-Type: application/json' \
--data-raw '{
  "merchantKey": "MerchantIntegrationTesting",
  "take": 10
}'

Response Parameters

Parameter

Type

Description

synchronizationRequestId

string

unique identified of request

totalCount

number

total amount of changed statuses

statusChanges [ ]

array

array of applications with changed statuses

Complex Types Description

statusChanges

Parameter

Type

Description

sessionId

string

unique identifier of the online application session. should be saved for follow-up application requests (e.g. confirm application).

statusId

number

id of possible status in range of 0-13

statusDescription

string

statusDescription

changeDate

string

date of changing status
format: datetime
YYYY-MM-DD HH:MM:SS.S

amount

number (decimal)

total amount of installment
format: 0.00

contributionAmount

number (decimal)

contribution amount
format: 0.00

Response Sample

{
    "synchronizationRequestId": "9e05332c-b8c2-4807-a353-dffc1a7d1060",
    "totalCount": 4,
    "statusChanges": [
        {
            "sessionId": "9e543941-5a90-480c-9ed1-2d251fb62d6b",
            "statusId": 0,
            "statusDescription": "Installment pending for client authentication in TBC Bank",
            "changeDate": "2021-01-13T16:45:23.1872462"
        },
        {
            "sessionId": "f7aa5d42-d8d7-4c84-8e3b-6f92b0f6c476",
            "statusId": 1,
            "statusDescription": "Installment is In Progress",
            "changeDate": "2021-01-13T18:26:46.0138611"
        },
        {
            "sessionId": "5ec8d6ff-9b88-48d8-8cf5-5df35c1feff0",
            "statusId": 1,
            "statusDescription": "Installment is In Progress",
            "changeDate": "2021-01-13T18:27:08.1384225"
        },
        {
            "sessionId": "fa2a986c-da09-49be-b4bd-fa1e58914012",
            "statusId": 0,
            "statusDescription": "Installment pending for client authentication in TBC Bank",
            "changeDate": "2021-01-13T23:54:01.4387056"
        }
    ]
}

Error Response

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

Details can be found at Error Code Description.


Did this page help you?