makeCustomerPayment method
Future<CustomerPaymentResponse>
makeCustomerPayment(
- CustomerPaymentRequest payload,
- 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);
}