makeCustomerPayment method

Future<CustomerPaymentResponse> makeCustomerPayment(
  1. CustomerPaymentRequest payload,
  2. String appToken
)

Implementation

Future<CustomerPaymentResponse> makeCustomerPayment(
    CustomerPaymentRequest payload,
    String appToken,
    ) async {
  final response = await _authHttpClient.post(
    "customer/payment/",
    appToken,
    body: payload.toJson(),
  );
  return CustomerPaymentResponse.fromJson(response);
}