deleteCustomerSource method
Implementation
Future<bool> deleteCustomerSource(
String customerId, String sourceId, String secret) async {
final String url = "$LIVE_API_PATH/customers/$customerId/sources/$sourceId";
final options = RequestOptions(publishableApiKey: secret);
final response = await _getStripeResponse(
RequestMethod.delete,
url,
options,
);
final bool deleted = response["deleted"];
return deleted;
}