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 > Revolving Loans API

Revolving Loans API

Description

​This API is used to disbursements of Revolving Loans

Validations

This part needs to be in body of the request.
{
    "amount": 100.0,
    "currency": "TRY",
    "commercial_disbursement": true,
    "disbursement_purpose": false,
    "order_id": "0"
}

Sample Request

POST /api/isbank/revolving-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": {
        "result": "true"
    }
}

This part needs to be in body of the request.

{
    "amount": 100.0,
    "currency": "TRY",
    "commercial_disbursement": true,
    "disbursement_purpose": false,
    "order_id": 0
}

Sample Request

POST /api/isbank/revolving-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": "2000060072",
        "result": "true",
        "infos": [
            {
                "account_id": "44020042",
                "account": "4299",
                "avaliable_limit": "6500.00",
                "interest_rate": "18.00000",
                "interest_term": "3H",
                "commission_rate": "1.00000"
            },
            {
                "account_id": "44053216",
                "account": "4299",
                "avaliable_limit": "9500.00",
                "interest_rate": "18.00000",
                "interest_term": "3H",
                "commission_rate": "1.00000"
            }
        ]
    }
}

Contracts 

This part needs to be in body of the request.
{
    "application_id": 2000060554,
    "account_id": 44020042
}

Sample Request

POST /api/isbank/revolving-loans/v1/contracts

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": "2000060072"
    }

Disbursements

This part needs to be in body of the request.
{    
    "amount": 100.0,
    "account_id": 44020042,
    "currency": "TRY",
    "application_id": 2000060554,
    "contract_approved": true,
    "customer_ip": "1.1.1.1"
}

Sample Request

POST /api/isbank/revolving-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


{
    "data": {
        "application_id": "2000060072"
    }


Disbursements Query

Parameters

application-id: String

Sample Request

GET /api/isbank/revolving-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


 {
    "data": {
        "application_id": "2000071622",
        "result": "kullandırım yapılamadı-başarısız"
    },
    "errors": [
        {
            "message": "R036;"
        }
    ]
}