Download Receipt

API to download receipt after paying the bill.

In production environment, you must whitelist your IP here to be able to download receipt.

Path

MethodPath
GETapi/v1/download/:tr_id

Path Parameters

AttributesTypeDescriptionMandatory
tr_idIntegerInquiry ID (payment must be done first)Yes
BASE_URL/api/v1/download/123

Response

The response will be receipt in pdf format.

Tutorial Video

You can see this video for download receipt code explanation using Laravel.

Or you can see this video for download receipt code explanation using PHP.