accountVerification method

Future<TransactionResponse> accountVerification({
  1. String? reference,
  2. String? transactionId,
  3. String? currency,
})

Starts an account verification transaction (AVT) — a zero-amount check of the card.

Implementation

Future<TransactionResponse> accountVerification({
  String? reference,
  String? transactionId,
  String? currency,
}) {
  final body = _txBody(
    amount: 0,
    reference: reference,
    transactionId: transactionId ?? _newTransactionId(),
    currency: currency,
  );
  return _sendTransaction('POST', 'api/transaction/avt/', body);
}