createPaymentMethod method
Create a PaymentMethod. https://stripe.com/docs/api/payment_methods/create
Implementation
Future<Map<String, dynamic>> createPaymentMethod(Map<String, dynamic> data) async {
const path = '/payment_methods';
return _apiHandler.request(RequestMethod.post, path, publishableKey, apiVersion, params: data);
}