Card Statement

This API returns main card statement of authorized card.

API Information

URL

/creditCardStatement

Method

POST

Version

1.0

Scope

creditcard

Authorization Flow

Authorization Code


Input Information

Name Format Description Required/Optional

CardID

Integer Unique card ID number for all cards of customer Required

StatementCode

yyyyMMdd Statement code Required

StatementType

String Statement type
YI: Domestic, YD: Abroad
Required


Output Information

CreditCardStatementInfo

Name Format Description

StatementCode

yyyyMMdd Statement code

TermDebtBalance

Decimal Term debt balance

MinimumPaymentAmount

Decimal Minimum payment amount

StatementDate

yyyy-MM-ddTHH24:mm:ss Statement date

LastPaymentDate

yyyy-MM-ddTHH24:mm:ss Last payment date

OutstandingBalance

Decimal Outstanding balance

WorldpointAmount

Decimal Total point amount

StatementDetail

List< StatementDetail > Statement detail

List< StatementDetail >

Name Format Description

CardNumber

String Masked card number

CardOwnerNameSurname

String Card owner name surname/title

TransactionDate

yyyy-MM-ddTHH24:mm:ss Transaction date

Description

String Transaction description

Amount

Decimal Amount

RemainingInstallment

Decimal Remaining installment

PointAmount

Decimal Point amount


Message Codes

Message Code Description

ACBH000105

Statement code format is incorrect.

ACBH000114

Card number does not belong to customer in session.

ACBH000207

There is no statement for card. If card id you entered belongs to additional or vitual card API’s cannot return any statement. You can only get statement information for main cards.

ACBH000220

Statement type can not be empty.

ACBH000221

Statement type value is not valid.

ACBH000227

Card id format is incorrect.

ACBH000236

Additional or virtual cards can not have statements. You can view your additoinal or virtual card statement transactions in main card statement.

Example

Request:

{
    "CardID": 20090,
    "StatementCode":"20210122",
    "StatementType":"YI" 
}

Response:

{
    "Header": {
        "StatusCode": "APIGW000000",
        "StatusDescription": "Completed",
        "ObjectID": "3489e7dc-a270-486c-bd4d-ff8ce0729ddd"
    },
    "Data": {
        "CreditCardStatementInfo": {
            "OutstandingBalance": 0.13,
            "LastPaymentDate": "2021-01-25T00:00:00",
            "WorldpointAmount": 1094.6,
            "StatementDetail": [
                {
                    "CardNumber": "5421********1269",
                    "Description": "ALIŞVERİŞ FAİZİ",
                    "CardOwnerNameSurname": "ORDU UNI 5",
                    "Amount": "0,01",
                    "RemainingInstallment": "",
                    "PointAmount": "",
                    "TransactionDate": "2021-01-22T00:00:00"
                },
                {
                    "CardNumber": "5421********1269",
                    "Description": "Yıllık Kart Aidatı",
                    "CardOwnerNameSurname": "ORDU UNI 5",
                    "Amount": "30,00",
                    "RemainingInstallment": "",
                    "PointAmount": "",
                    "TransactionDate": "2021-01-12T00:00:00"
                },
                {
                    "CardNumber": "5421********1269",
                    "Description": "Ticari Kart Üyelik Ücreti",
                    "CardOwnerNameSurname": "ORDU UNI 5",
                    "Amount": "10,00",
                    "RemainingInstallment": "",
                    "PointAmount": "",
                    "TransactionDate": "2021-01-12T00:00:00"
                }
            ],
            "StatementCode": 20210122,
            "StatementDate": "2021-01-22T00:00:00",
            "TermDebtBalance": 40.14,
            "MinimumPaymentAmount": 1
        }
    }
}