FILTER BY TAG

Stand-Alone Credit

Use this information to process a stand-alone credit. This transaction is used to process a credit without reference to the original transaction. The customer is required to present their payment card for this transaction.
When an internet connection is not available, you can use the Store and Forward feature to process offline sale and stand-alone credit transactions.
WARNING
Use a linked refund transaction whenever possible. When processing a stand-alone credit, there is no limit on the credit amount because there is no reference to the original transaction amount.
  1. Create a
    RefundParameters
    object and call
    startStandaloneRefundTransaction(with:)
    .
    // Throws MposUIReaderError.notActivated if device is not activated let online = try await reader.mposUIOnline() let refundParameters = RefundParameters(amount: Decimal(1.00), currency: .USD, customIdentifier: "yourReferenceForTheTransaction") let refund = await online.startStandaloneRefundTransaction(with: refundParameters) switch refund { case .success(let transaction): print("Refund successful: \(transaction.identifier)") case .failure(let error): print("Refund failed: \(error)") @unknown default: break }