tokenizeCharge method
Sends a request to tokenize a card charge.
chargeDetails
: The charge details to be tokenized.
Returns an http.Response
from the API.
Implementation
Future<http.Response> tokenizeCharge(Map<String, dynamic> chargeDetails) {
return makeApiRequest(ApiEndpoints.tokenizeCharge, chargeDetails, 'POST');
}