Refund Transactions
A standalone Refund transaction is used to return funds to a customer for a previously completed Sale transaction. This type of refund is not linked to the original transaction via the RRN (Retrieval Reference Number). Instead, it is initiated as a separate transaction, typically performed after the batch containing the original sale has been settled.
Refunds are commonly used when:
- A product is returned
- A service is canceled
- An overcharge or billing error needs to be corrected
Because it occurs post-settlement, a standalone refund ensures that the original sale has already been finalized before reversing the amount.
Import the payload provided below into your code to perform sale transactions.
Plain text
// Refund Transaction
let refund = TxnData(
amount: "10.00",
currencyCode: .USD,
tranType: .REFUND,
showApprovalScreen: true
)
// Start the transaction using this method.
readerInstance.startTransaction(param: refund, delegate: self)Was this section helpful?
What made this section helpful for you?
What made this section unhelpful for you?
On this page
- Refund Transactions