Deposit Calculator

This API calculates the return on deposit of our bank according to the input information.

API Information

URL

/depositCalculator

Method

POST

Version

1.0

Scope

Information Services

Authorization Flow

Client Credentials


Input Information

Name Format Description Required/Optional

DepositsType

String Deposits type Required

CurrencyCode

String Currency code Required

Amount

Decimal Source amount Required

NumberofDays

Number Maturity number of days Optional

ExpirationDate

yyyy-MM-dd Expiry date Optional


Output Information

Name Format Description

InterestRate

Decimal Interest rate

NetAmount

Decimal Net amount

ExpirationDate

yyyy-MM-ddTHH24:mm:ss Expiry date

NumberofDays

Number Maturity number of days

Example

Request:

{
    "Amount": 10000,
    "CurrencyCode": "TL",
    "DepositsType": 55500472,
    "NumberofDays": 0,
    "ExpirationDate": "2020-04-20"
}

Response:

{
    "Status": {
        "Code": "APIGW000000",
        "Description": "Success",
        "ObjectID": "d97feb05-6e6c-4acd-a0d2-38dd595e5b42"
    },
    "Data": {
        "ExpirationDate": "2020-04-20T00:00:00",
        "NumberofDays": "53",
        "NetAmount": "10233.87",
        "InterestRate": "19.0"
    }
}