/Initiate Online Mortgage Short Lead

Request Endpoint

https://test-api.tbcbank.ge/v1/online-mortgages/short-leads
https://api.tbcbank.ge/v1/online-mortgages/short-leads

Authorization

Authorization TypeDescription
Bearer Tokenaccess-token should be added to Authorization header

Request Parameters

ParameterTypeDescription
firstNamestringcustomer's first name
lastNamestringcustomer's surname
personalNostringcustomer's personal identity number
birthDatedatecustomer's birth date in YYYY-MM-DD format
mobileNumberstringcustomer's mobile number
url (required)stringurl from which the lead generation was initiated
realEstateCodestringreal estate type code.

The following values are allowed:
FLAT, PRIVATE_HOUSE, COUNTRY_HOUSE, LAND_PLOT, CELLAR, GARAGE, LOFT, COMMERCIAL_ESTATE, OTHER
Details are given on Classification Page
propertyPricestringproperty price.
propertyPriceCurrencyCodestringproperty price currency (3 digit ISO code).
The following values are allowed:
GEL, USD, EUR
termInMonthsnumber (integer)loan term in months
monthlyIncomedecimalcustomer's monthly income
isDeveloperOfferbooleanIs property a developer company offer (true/false)
commentstring (max. length 1200)additional comment.

Request Sample

{
  "firstName": "გიორგი",
  "lastName": "გიორგაძე",
  "personalNo": "09876543211",
  "birthDate": "1990-05-01",
  "mobileNumber": "555111222",
  "url": "https://ss.ge/ka/udzravi-qoneba/iyideba-kerdzo-saxli-ortatchalashi-3554781",
  "realEstateCode": "FLAT",
  "propertyPrice": 45700,
  "propertyPriceCurrencyCode": "GEL",
  "termInMonths": 180,
  "monthlyIncome": 4500,
  "isDeveloperOffer": true,
  "comment": "DownPayment: 15600$"
}
curl --location --request POST "https://test-api.tbcbank.ge/v1/online-mortgages/short-leads" \
    --header "Content-Type: application/json" \
    --header "Authorization: Bearer 0070Zep1RzIfIyT0LAq0Hu7VvcaF" \
    --data "{
  \"firstName\": \"გიორგი\",
  \"lastName\": \"გიორგაძე\",
  \"personalNo\": \"09876543211\",
  \"birthDate\": \"1990-05-01\",
  \"mobileNumber\": \"555111222\",
  \"url\": \"https://ss.ge/ka/udzravi-qoneba/iyideba-kerdzo-saxli-ortatchalashi-3554781\",
  \"realEstateCode\": \"FLAT\",
  \"propertyPrice\": 45700,
  \"propertyPriceCurrencyCode\": \"GEL\",
  \"termInMonths\": 180,
  \"monthlyIncome\": 4500,
  \"isDeveloperOffer\": true,
  \"comment\": \"DownPayment: 15600$\"
}
"

Response Parameters

Response Body

response contains unique leadId of the initiated application.

ParameterTypeDescription
leadIdstring (guid)unique identifier of mortgage short-lead

Response Sample

{
    "leadId": "8a8966b2-6782-4d7c-b160-8362481c24fb"
}

Error Response

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

Details can be found at Error Code Description