def validate_response(value)
      if value.select { |k, v| k.in?(['dollars', 'cents']) && v.present? }
              .find { |k, v| (Float(v) rescue nil).nil? }
              .present?

        "isn't a valid price."
      end
    end
def validate_response(value)
      if value.select { |k, v| k.in?(['dollars', 'cents']) && v.present? }
              .find { |k, v| (Float(v) rescue nil).nil? }
              .present?

        "isn't a valid price."
      end
    end
format: [dollars] [cents]
 only one is required, and it must consist only of numbers