Retrieve a sucessful or failed transfer or payment receipt
Identifier can be receiptId or transactionId (ex: TransferId)
Indicate if the provided identifier is a receipt id (true) or a transfer or payment id (false).
The response is of type object
.