app/controllers/application_controller.rb
に以下のように記述することでparamsのキーがキャメルケースで送信されてきてもスネークケースに変換されます。
app/controllers/application_controller.rb
class ApplicationController < ActionController::API
before_action :snakeize_params
private
def snakeize_params
request.parameters.deep_transform_keys!(&:underscore)
end
end