Parameters
string[]
The list containing the IDs of the transactions to be rejected.
string
The detailed explanation for why the transactions are being rejected.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
let transactionIDs = ["transaction_id_01"]
let reason = "Insufficient funds"
do {
try sdkInstance?.rejectTransactions(transactionIDs: transactionIDs, reason: reason)
} catch {
print("Error: \(error)")
}
final List<String> transactionIDs = ["transaction_id_01"];
const String reason = "Insufficient funds";
try {
await sdkInstance?.rejectTransactions(
transactionIDs: transactionIDs,
reason: reason
);
} catch (error) {
print("Error: $error");
}
This operation rejects the specified transactions and provides reason for the rejection.
public func rejectTransactions(transactionIDs: [String], reason: String) throws
Future<void> rejectTransactions(List<String> transactionIDs, String reason) async
let transactionIDs = ["transaction_id_01"]
let reason = "Insufficient funds"
do {
try sdkInstance?.rejectTransactions(transactionIDs: transactionIDs, reason: reason)
} catch {
print("Error: \(error)")
}
final List<String> transactionIDs = ["transaction_id_01"];
const String reason = "Insufficient funds";
try {
await sdkInstance?.rejectTransactions(
transactionIDs: transactionIDs,
reason: reason
);
} catch (error) {
print("Error: $error");
}
Was this page helpful?