getReceiptData

abstract suspend fun getReceiptData(reference: String): Result<SdkSuccessAnswer.GetReceiptData>

Retrieve receipt data for the specified reference.

Return

Result which can be a Result.Success containing SdkSuccessAnswer.GetReceiptData with receipt details if successful, or a Result.Error if the operation fails.

Parameters

reference

The reference identifier (checkInvoice field from ReceiptData) for the receipt.