createPaymentMethod method

Future<Map<String, dynamic>> createPaymentMethod(
  1. Map<String, dynamic> data
)

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);
}