preAuthCapture method
Captures a former pre-authorization identified by
preAuthTransactionId. Must be activated by hobex.
Implementation
Future<TransactionResponse> preAuthCapture({
required String preAuthTransactionId,
required num amount,
String? reference,
String? currency,
String? language,
}) {
final body = _txBody(
amount: amount,
reference: reference,
transactionId: preAuthTransactionId,
currency: currency,
language: language,
);
return _sendTransaction('POST', 'api/transaction/preauthcapture', body);
}