Get Receipt

This API returns transaction receipts of customer authorized account. Receipt could be txt or pdf format.

API Information

URL

/getReceipt

Method

POST

Version

1.0

Scope

account

Authorization Flow

Authorization Code


Input Information

Name Format Description Required/Optional

TransactionId

String Transaction Id Required

AccountNumber

String (17) Account number Required

ReceiptFormat

String Receipt format
1: pdf, 2: text
Required


Output Information

Info

Name Format Description

TransactionId

String Transaction Id


Documents

Name Format Description

TextReceipt

String Txt Receipt

PdfReceipt

String Pdf Receipt


Message Codes

Message Code Description

ACBH000006

Transaction/account does not belong to customer in session. Customer Number : {0} Transaction Number : {1}

ACBH000034

Account number cannot be empty.

ACBH000035

Account number must be entered proper format.

ACBH000036

Transaction number cannot be empty.

ACBH000037

Transaction number must include only numerical characters.

ACBH000067

Receipt format is incorrect.

ACBH000230

Receipt format cannot be empty.

Example

Request:

{
	"TransactionId" : "2020000000000000",
	"AccountNumber" : "00000000000000000",
	"ReceiptFormat" : "2"
}

Response:

{
    "Header": {
        "StatusCode": "APIGW000000",
        "StatusDescription": "Completed",
        "ObjectID": "19ea07b3-e99c-4300-bb61-6855b1ed1352"
    },
    "Data": {
        "Info": {
            "TransactionId": "2020000000000000"
        }
    },
    "Documents": {
        "TextReceipt": "S00000/ŞİŞLİ ŞUBESİ ...",
        "PdfReceipt": ""
    }
}