We are using cookies in our website in order to offer better service to you. You allow us to use cookies by continuing to use our internet website. You can reach the detailed information on cookies from our Privacy Policy and Cookies Policy.
X
Home > Api Products > Instant Commercial Loans API

Instant Commercial Loans API

Description


This API is used to disbursements of Instant Commercial Loans

How it Works


Validations


This part needs to be in body of the request.
{
    "amount": 1000,
    "currency": "TRY",​
    "order_id": "100005",
    "channel": "ATK",
    "async": false,
    "id_number": "35069280216",
    "commercial_id_number": "0"
}

​Sample Request

POST /api/isbank/instant-commercial-loans/v1/validations
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID} 
X-IBM-client-secret: {YOUR_CLEINT_SECRET} 
Authorization: Bearer {access_token}
Content-Type: application/json




Sample Response

{
    "data": {
        "application_id": "5cb154c3-9ab7-4d3c-aff9-ef49741044ca",
        "email_address": "1212121212@hs01.kep.tr",
        "set_up_last_year_option": false,
        "endorsement_option": false,
        "installment_options": {
            "max_installment": "24",
            "min_installment": "3"
        },
        "limit_options": {
            "max_limit": "100000",
            "min_limit": "1000"
        }
    },
    "infos": [
        {
            "code": "0"
        }
    ]
}

Decisions

This part needs to be in body of the request.
{
    "application_id": "6cbb599f-f1ff-43bf-bc5a-819bc2e0550f",
    "credit_amount": 1000,
    "endorsement_amount": 1000,
    "endorsement_period": "2022-01-01",
    "currency": "TRY",
    "set_up_last_year_option": true,
    "email_address": "semih.arican@softtech.com.tr",
    "skk_limit": {
        "limit": 10000,
        "requested_limit": 20000,
        "final_limit": 20000
    },
    "channel": "ATK",
    "async": true,
    "id_number": "35069280216",
    "commercial_id_number": "0"
}

Sample Request

POST /api/isbank/instant-commercial-loans/v1/decisions
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID} 
X-IBM-client-secret: {YOUR_CLEINT_SECRET} 
Authorization: Bearer {access_token}
Content-Type: application/json


Sample Response


{
    "data": {
        "application_id": "5cb154c3-9ab7-4d3c-aff9-ef49741044ca",
        "allowable_credit_amount": [
            {
                "limit_type": "Auto-Limit",
                "amount": "55000.0",
                "currency": "TRY"
            }
        ],
        "payment_frequency_option": "1,3,6",
        "credit_amount_eligibility": true,
        "max_first_installment_day": "92"
    },
    "infos": [
        {
            "code": "0",
            "message": "",
            "message_for_customer": ""
        }
    ]
}


Loans

This part needs to be in body of the request.
{
    "application_id": "6cbb599f-f1ff-43bf-bc5a-819bc2e0550f",
    "final_credit_amount": 10000,
    "currency": "TRY",
    "number_of_installments": 100,
    "first_installment_date": "2022-01-01",
    "payment_frequency": 1,
    "channel": "ATK",
    "async": true,
    "id_number": "35069280216",
    "commercial_id_number": "0"
}

Sample Request

POST /api/isbank/instant-commercial-loans/v1/loans
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID} 
X-IBM-client-secret: {YOUR_CLEINT_SECRET} 
Authorization: Bearer {access_token}
Content-Type: application/json


Sample Response


{
    "data": {
        "application_id": "5cb154c3-9ab7-4d3c-aff9-ef49741044ca",
        "interest_rate": "0.0275",
        "installment_amount": "473.88",
        "yearly_cost_rate": "0.385207",
        "total_interest_amount": "211.07",
        "usage_fee_amount": "0.00",
        "total_tax_amount": "10.56",
        "net_amount_to_be_deposited": "1200",
        "payment_plan": "JVBERiGCg==",
        "contract": "JVBEXJ0eHJlZgo2OTQ4MgolJUVPRgo=",
        "account": {
            "branch_code": "4299",
            "number": "2819041",
            "available_amount": "0",
            "currency": "TRY"
        },
        "currency": "TRY",
        "total_fund_amount": "0.00"
    },
    "infos": [
        {
            "code": "0"
        }
    ]
}



Disbursements

This part needs to be in body of the request.
{    
    "credit_amount": 10000,
    "application_id": "6cbb599f-f1ff-43bf-bc5a-819bc2e0550f",
    "deposit_account": {
        "branch_code": 4299,
        "number": "1020024"
    },
    "automatic_collection_account_id": 44020011,
    "deposit_account_id": 44020012,
    "limit_id": "",
    "channel": "ATK",
    "async": true,
    "id_number": "35069280216",
    "commercial_id_number": "0",
    "company_name": "Luke Stevens",
    "customer_ip": "88.230.157.22"
}

Sample Request

POST /api/isbank/instant-commercial-loans/v1/disbursements
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID} 
X-IBM-client-secret: {YOUR_CLEINT_SECRET} 
Authorization: Bearer {access_token}
Content-Type: application/json


Sample Response


{
    "infos": [
        {
            "code": "0",
            "message": ""
        }
    ],
    "data": {
        "result": false,
        "disbursement_data": {
            "application_id": "5cb154c3-9ab7-4d3c-aff9-ef49741044ca",
            "result": "SUCCESS",
            "error_code": "0",
            "error_message": ""
        }
    }
}


Disbursements ​Query

Parameters

application-id: String

Sample Request

GET /api/isbank/instant-commercial-loans/v1/disbursements/2000060554
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID} 
X-IBM-client-secret: {YOUR_CLEINT_SECRET} 
Authorization: Bearer {access_token}
Content-Type: application/json

Sample Response


 {
    "infos": [
        {
            "code": "0",
            "message": ""
        }
    ],
    "data": {
        "result": false,
        "disbursement_data": {
            "application_id": "5cb154c3-9ab7-4d3c-aff9-ef49741044ca",
            "result": "SUCCESS",
            "error_code": "0",
            "error_message": ""
        }
    }
}