Returns a base64-encoded PDF receipt for any completed transaction.
GET /business/transaction/{transactionId}/pdf/receipt
Path Parameters
curl -X GET 'https://api.yativo.com/api/v1/business/transaction/a0e9e50e-81be-4bd0-9941-0151e68b9e97/pdf/receipt' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
{
"status": "success",
"status_code": 200,
"message": "Request successful",
"data": "JVBERi0xLjQKJeLjz9MKMiAwIG9iago8PC9MZW5ndGggMTM4Ni9GaWx0ZXIvRmxhdGVEZWNvZGU+Pg..."
}
The data field contains the PDF as a base64-encoded string. Decode it before writing to disk or serving to a client.