Account Transactions

This API returns transactions of customer authorized acoount. Transactions are filtered by date.

API Information

URL

/accountTransactions

Method

POST

Version

1.0

Scope

account

Authorization Flow

Authorization Code


Input Information

Name Format Description Required/Optional

AccountNumber

String (17) Account number Required

StartDate

yyyy-MM-ddTHH24:mm:ss Start date Required

EndDate

yyyy-MM-ddTHH24:mm:ss End date Required


Output Information

List< AccountTransactions >

Name Format Description

CurrencyCode

String Currency code

TransactionType

String Transaction type
1: Deposits, 2: Withdrawals

Description

String Transaction description

Amount

Decimal Transaction amount

TransactionCode

String Transaction code

Balance

Decimal Account balance

TransactionName

String Transaction name

TransactionDate

yyyy-MM-ddTHH24:mm:ss Transaction date

TransactionId

String Transaction Id


Message Codes

Message Code Description

ACBH000025

Start date format is incorrect.

ACBH000026

End date format is incorrect.

ACBH000034

Account number cannot be empty.

ACBH000035

Account number must be entered proper format.

ACBH000104

Account number you entered does not belong to customer in session.

ACBH000134

Date range must be maximum 1 year.

ACBH000202

There is no transaction between date range you entered.

Example

Request: 

{
    "AccountNumber": "00158000000000001",
    "StartDate": "2020-02-05T00:00:00",
    "EndDate": "2020-02-10T00:00:00"
}

Response:

{
    "Header": {
        "StatusCode": "APIGW000000",
        "StatusDescription": "Completed",
        "ObjectID": "046b813c-1c74-4c07-b8e2-4956a07c49c4"
    },
    "Data": {
        "AccountTransactions": [
            {
                "CurrencyCode": "TL",
                "TransactionType": "1",
                "Description": "Borçlu:...",
                "Amount": "650.0",
                "TransactionCode": "SNTSTHSLAT",
                "Balance": "4957.61",
                "TransactionName": "Senet tahsilatı",
                "TransactionDate": "2020-02-05T10:47:47",
                "TransactionId": "2020000000000001"
            },
            {
                "CurrencyCode": "TL",
                "TransactionType": "1",
                "Description": "MASRAF VE KOMİSYON TUTARI...",
                "Amount": "7.0",
                "TransactionCode": "FYTSMSRFIPT",
                "Balance": "4964.61",
                "TransactionName": "Masraf Tahsilat İptali",
                "TransactionDate": "2020-02-05T10:50:04",
                "TransactionId": "2020000000000002"
            },
            {
                "CurrencyCode": "TL",
                "TransactionType": "2",
                "Description": "EFT ...",
                "Amount": "-200.0",
                "TransactionCode": "EFTTHSBEFT",
                "Balance": "4764.61",
                "TransactionName": "Hesaba giden EFT",
                "TransactionDate": "2020-02-07T16:20:25",
                "TransactionId": "2020000000000003"
            }
        ]
    }
}