getPaymentKeys method

Future<Response> getPaymentKeys(
  1. Map<String, dynamic> linkDetails
)

Sends a request to retrieve payment keys for initiating a transaction.

Returns an http.Response with the payment keys.

Implementation

Future<http.Response> getPaymentKeys(Map<String, dynamic> linkDetails) {
  return makeApiRequest(ApiEndpoints.getPaymentKeys, {}, 'POST');
}