getPaymentLinks static method

Future getPaymentLinks({
  1. required String token,
})

Implementation

static Future<dynamic> getPaymentLinks({
  required String token,
}) async {
  try {
    var response = await Fetcher.fetch(
      method: Method.get,
      path: '/root/api/v1/merchant-invoice/process/fetch-all-payment-link',
      publicKey: token,
    );
    return response;
  } catch (e) {
    throw Exception(e);
  }
}