/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 TypeDescription
Bearer Tokenaccess-token should be added to Authorization header

Request Parameters

Body Parameters

ParameterTypeDescription
merchantKey (required)stringmerchant unique identifier in online installments module
takeintegermaximum 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

ParameterTypeDescription
synchronizationRequestIdstringunique identified of request
totalCountnumbertotal amount of changed statuses
statusChangesarrayarray of applications with changed statuses
- sessionIdstringunique identifier of the online application session. should be saved for follow-up application requests (e.g. confirm application).
- statusIdnumberid of possible status in range of 0-13
- statusDescriptionstringstatusDescription
- changeDatestringdate of changing status
- amountnumber (decimal)total amount of installment
- contributionAmountnumber (decimal)contribution amount

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