createPaymentLink method

Future createPaymentLink({
  1. required String token,
  2. required String amount,
  3. required String customerEmail,
  4. required String narration,
})

Implementation

Future<dynamic> createPaymentLink({
  required String token,
  required String amount,
  required String customerEmail,
  required String narration,
}) async {
  return await PaymentLinkController.createPaymentLink(
    token: token,
    amount: amount,
    customerEmail: customerEmail,
    narration: narration,
  );
}