verifyTransaction method

Future<PaystackResponse> verifyTransaction(
  1. String reference
)

Verifies a Paystack transaction by reference.

Implementation

Future<PaystackResponse> verifyTransaction(String reference) async {
  final url = Uri.parse('$_baseUrl/transaction/verify/$reference');
  return _retryRequest(() => _getRequest(url));
}