Get Receipt

This API returns the customer's receipt of the account transaction. It can bring the receipt in two different formats as text and pdf. If format type is not selected, text is the default format type.

API Information

URL

/getReceipt

Method

POST

Version

1.0

Scope

Account Information Services

Authorization Flow

Authorization Code


Input Information

Name Format Description Required/Optional

TransactionId

Number TransactionId Required

AccountNumber

String Account number Required

ReceiptFormat

String Receipt format
1: pdf
2: text
Optional


Output Information

Name Format Description

TextReceipt

String Receipt (text format)

PdfReceipt

String Receipt (pdf format)

TransactionId

Number İşlem id

Example

Request:

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

Response:

{
    "Status": {
        "Code": "APIGW000000",
        "Description": "Success",
        "ObjectID": "918f491a-79a2-47ac-9c2c-ed86910144e8"
    },
    "Data": {
        "Receipt": {
            "TextReceipt": "S00000/ATATÜRK BULVARI ANKARA ŞUBESİ .......",
            "PdfReceipt": "",
            "TransactionId": "2020000000000000"
        }
    }
}