Skip to main content
public func rejectTransactions(transactionIDs: [String], reason: String) throws
let transactionIDs = ["transaction_id_01"]
let reason = "Insufficient funds"

do {
    try sdkInstance?.rejectTransactions(transactionIDs: transactionIDs, reason: reason)
} catch {
    print("Error: \(error)")
}

Parameters

transactionIDs
string[]
The list containing the IDs of the transactions to be rejected.
reason
string
The detailed explanation for why the transactions are being rejected.