payWithBankTransfer method

Future<Response> payWithBankTransfer(
  1. Map<String, dynamic> paymentDetails
)

Sends a request to process payment using bank transfer.

paymentDetails: The bank details and amount to charge. Returns an http.Response from the API.

Implementation

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