get Receipt Data
Retrieves receipt data for the specified reference.
The answer carries either the card receipt (SdkSuccessAnswer.GetReceiptData.receipt) or, when the referenced purchase was paid via QR, the QR receipt (SdkSuccessAnswer.GetReceiptData.qrReceipt); the other one is null.
Return
Result with SdkSuccessAnswer.GetReceiptData with receipt or QR receipt details if successful, or a Result.Error if the operation fails.
Parameters
reference
The reference identifier (the operation invoice; ReceiptData.invoice, equivalent to ReceiptData.checkInvoice) for the receipt.