Deposit Calculator

This API calculates our banking deposit income using entered deposit type.

API Information

URL

/depositCalculator

Method

POST

Version

1.0

Scope

public

Authorization Flow

Client Credentials


Input Information

Name Format Description Required/Optional

DepositsType

String Deposits type Required

CurrencyCode

String Currency code Required

Amount

Decimal Amount Required

TermDays

Number Number of term days Optional

ExpiryDate

yyyy-MM-dd Expiry date Optional


Output Information

Deposit

Name Format Description

InterestRate

Decimal Interest rate

NetAmount

Decimal Net amount at maturity

ExpiryDate

yyyy-MM-ddTHH24:mm:ss Expiry date

TermDays

Number Number of term days


Message Codes

Message Code Description

ACBH000027

Currency code cannot be empty.

ACBH000028

An invalid value was entered in the currency code field.

ACBH000029

The due date format is incorrect.

ACBH000068

At least one of the count of term days or term expiry date must be entered.

Example

Request:

{
    "Amount": 1000,
    "CurrencyCode": "TL",
    "DepositsType": 55500472,
    "TermDays": 10,
    "ExpiryDate": ""
}

Response:

{
    "Header": {
        "StatusCode": "APIGW000000",
        "StatusDescription": "Completed",
        "ObjectID": "64a7b16c-8855-481f-9110-fa690b70580a"
    },
    "Data": {
        "Deposit": {
            "ExpiryDate": "2020-06-18T00:00:00",
            "TermDays": "10",
            "NetAmount": "1004.41",
            "InterestRate": "19.0"
        }
    }
}