/** * Удаление карт */ public function deleteCard() { if (Input::has('payments')) { $api = new Api(); PaymentCloud::deleteCard($api->id(), Input::get('payments')); } return Response::json(); }